.hero {
    min-height: max(100vh, 300px);
    background-color: #141414;
}

@media (min-width: 767px) {
    .hero {
        background: radial-gradient(
                ellipse at top right,
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.035) 25%,
                transparent 60%
        ),
        #141414;
    }
}


@media (max-width: 767px) {
    .hero {
        min-height: max(calc(100vh - 60px), 300px);
        padding-top: 60px;
    }
}

.hero-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    padding-inline: 1.5em;
    gap: 4em;
    max-width: 1600px;
    margin-inline: auto;
    box-sizing: border-box;
    align-content: center;
}

@media (min-width: 1200px) {
    .hero-grid-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid-container .ui.column.right-column {
        padding-right: 50px;
    }

    .hero-grid-container .ui.column.left-column {
        padding-left: 50px;
    }
}

.intro-container {
    display: flex;
    align-items: center; /* vertical centering */
    justify-content: center;
    min-height: max(100vh, 480px);
}

@media (min-width: 1200px) {
    .intro-container {
        justify-content: start;
    }
}

.intro {
    text-align: center;
    color: #fff;
    margin-top: 60px;
    margin-bottom: 60px;
}

@media (min-width: 1200px) {
    .intro {
        text-align: left;
    }
}

.intro-container .intro .screenshot {
    width: auto;
    max-width: 100%;
    max-height: 250px;
    border-radius: 6px;
    opacity: .9;
    /*box-shadow: 0px 0px 113px 15px rgba(46, 179, 241, 0.30);*/
    box-shadow: 0px 0px 38px 6px rgba(255, 255, 255, 0.11);
    -webkit-box-reflect: below 0 linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.4));
    margin-bottom: 50px;
}

.intro .ui.button.book-button {
    background-color: #c1c1c1;
    color: rgb(0 0 0 / .8);
}

@media (min-width: 1200px) {
    .intro-container .intro .screenshot {
        display: none;
    }
}

@media (max-width: 1199px) {
    .intro .ui.header.hero-header {
        margin-left: auto;
        margin-right: auto;
    }
}

.intro .ui.header.hero-sub-header {
    max-width: 50ch;
    margin-right: auto;
    margin-left: auto;
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: normal;
    text-wrap: balance;
    font-size: 1.1em;
}

@media (min-width: 723px) {
    .intro .ui.header.hero-sub-header {
        font-size: 18px;
    }
}

@media (min-width: 1200px) {
    .intro .ui.header.hero-sub-header {
        margin-left: initial;
    }
}

.hero-screenshot {
    display: flex;
    align-items: center;
    justify-content: end;
    min-height: 100vh;
    text-align: left;
}

.hero-screenshot img {
    width: 100%;
    max-width: 625px;
    height: auto;
    opacity: .9;
    border-radius: 6px;
    -webkit-box-reflect: below 0 linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.4));
    box-shadow: 0px 0px 113px 15px rgba(46, 179, 241, 0.30); /* glow */
}

.intro .ui.header.hero-header {
    font-size: 2.2rem;
    max-width: 22ch;
}

@media (min-width: 723px) {
    .intro .ui.header.hero-header {
        font-size: 2.7rem;
    }
}

@media (min-width: 1300px) {
    .intro .ui.header.hero-header {
        font-size: 3rem;
        margin-top: 0;
    }
}

.screenshot-column {
    display: none;
}

@media (min-width: 1200px) {
    .screenshot-column {
        display: block;
    }
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 1199px) {
    .hero-actions {
        justify-content: center;
    }
}

.hero-actions .ui.button {
    margin: 0;
    width: 100%;
    max-width: 200px;
}

/* Pulsing CTA ring */
.cta-primary {
    background: #ffb020;
    color: #111;
    position: relative;
}

.cta-primary::after {
    content: "";
    position: absolute;
    inset: -4px;
    border: 4px solid #ffb020;
    /* Fomantic's button radius is .28571429rem, so add the inset to keep the corners concentric */
    border-radius: calc(.28571429rem + 4px);
    pointer-events: none;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    from {
        inset: -4px;
        opacity: .9;
    }
    to {
        inset: -12px;
        opacity: 0;
    }
}
