/*
    FONTS
 */
@font-face {
    src: url("Pattaya-Regular.ttf");
    font-family: logo;
}

@font-face {
    src: url("LeagueSpartan-Bold.otf");
    font-family: nav;
}

@font-face {
    src: url("FivoSans-Regular.otf");
    font-family: test;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: stretch;
}

/*
    HEADER
 */
.header {
    position: fixed;
    z-index: 2;
    width: 100%;

    border-bottom: #004D40 2px solid;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
}

.header_content {
    width: 70rem;
    height: 4rem;
    margin: 0 auto;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.header_content_menu {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: stretch;
    height: 100%;
    flex-grow: 1;
    flex-shrink: 1;
    margin-left: 2rem;

    color: #004D40;
    font-family: nav, sans-serif;
}

.header_content_menu_entry {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
}

.header_content_menu_entry + .header_content_menu_entry {
    margin-left: 2rem;

    transition: color 0.25s, background-color 0.25s;
}

.header_content_menu_entry:hover {
    color: white;
    background-color: rgba(0, 77, 64, 0.75);
    border-radius: 0 0 3px 3px;
}

.header_content_logo {
    display: inline-block;
    flex-grow: 0;
    flex-shrink: 0;
    font-size: 3rem;

    font-family: logo, sans-serif;
    color: #004D40;
}

.header_content_cta {
    flex-grow: 0;
    flex-shrink: 0;
}

.header-content_menu span {
    cursor: pointer;
}

@media (max-width: 1304px) {
    .header_content {
        width: 60rem;
    }
}

@media (max-width: 998px) {
    .header_content {
        width: 100%;
    }
}

@media (max-width: 998px) {
    .header_content_menu {
        display: none;
    }
}

@media (max-width: 519px) {
    .header_content {
        flex-flow: column nowrap;
        height: 8rem;
    }
}

@media (max-width: 1072px) {
    .header_content_menu_entry + .header_content_menu_entry {
        margin-left: 0.5rem;
    }
    .header_content_menu {
        margin-left: 1rem;
    }
}

/*
    CTA
 */
.cta {
    position: relative;
    left: 3rem;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    align-items: center;
    width: 28rem;
}

.cta_input, .cta_button {
    height: 3rem;

    border: #00695c solid 2px;
    font-family: test, sans-serif;
    background-color: white;
}

.cta_input {
    position: relative;
    width: 25rem;
    border-radius: 3rem;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
}

.cta_input:focus {
    box-shadow: 0 0 1rem #00695c
}

.cta_input:focus::placeholder {
    display: none;
}

.cta_button {
    position: relative;
    right: 3rem;
    border-radius: 0 3rem 3rem 0;
    width: 3rem;

    background-color: #00695c;
    color: white;
    cursor: pointer;
    font-size: 1.5rem;
}

.cta_button_icon {
    position: relative;
    right: 0.2rem;
}

.cta_login {
    font-family: test, sans-serif;
    background-color: rgba(0, 77, 64, 0.8);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;

    transition: background-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.cta_login:hover {
    background-color: rgba(0, 77, 64, 1);
    transform: scale3d(1.1, 1.1, 1);
    font-weight: bold;
    color: white;

    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

section {
    margin-top: 4rem;
}

@media (max-width: 519px) {
    section {
        margin-top: 8rem;
    }
}

/*
    JUMBOTRON
 */
.jumbotron {
    position: relative;
    height: 43.75rem;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    padding-top: 10rem;

    background-image: url("../images/blue_background_1920_narrow.webp");
    background-size: cover;
    background-position: center;
}

@media (max-width: 1200px) {
    .jumbotron {
        background-image: url("../images/blue_background_1200_narrow.webp");
    }
}

@media (max-width: 760px) {
    .jumbotron {
        background-image: url("../images/blue_background_760_narrow.webp");
    }
}

.jumbotron_main-title {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 4rem;

    font-family: nav, sans-serif;
    color: white;
    text-shadow: 0 0 1.2rem rgba(0, 0, 0, 0.8);
}

.jumbotron_subtitles {
    font-size: 2rem;
    margin-bottom: 2.5rem;

    font-family: nav, sans-serif;
    color: white;
    text-align: center;
}

.jumbotron::after {
    position: absolute;
    width: 0;
    height: 0;
    bottom: -40px;
    content: " ";
    border-top: 40px solid #00a7c1;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
}

@media (max-width: 900px) {
    .jumbotron {
        padding-top: 6rem;
    }

    .jumbotron_main-title {
        margin-bottom: 3rem;
    }

    .jumbotron_subtitles {
        margin-bottom: 3rem;
    }
}

@media (max-width: 653px) {
    .jumbotron {
        padding-top: 4rem;
    }

    .jumbotron_main-title {
        margin-bottom: 1rem;
    }

}
@media (max-width: 466px) {
    .jumbotron {
        padding-top: 2rem;
    }

    .jumbotron_main-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .jumbotron_subtitles {
        font-size: 1rem;
        margin-bottom: 5rem;
    }
}

/*
    SECTIONS
 */
.section {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    padding: 90px 10% 2rem;

    font-family: nav, sans-serif;
}

.section_title {
    font-size: 2rem;
    margin-bottom: 3rem;
    width: 70%;

    color: #004D40;
    text-align: center;
}
.section--with-arrow::after {
    position: absolute;
    z-index: 1;
    width: 0;
    height: 0;
    bottom: -40px;
    content: " ";
    border-top: 40px solid white;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
}

.section--blue {
    background: #00a7c1;
}

.section--blue.section--with-arrow::after {
    border-top: 40px solid #00a7c1;
}

.section--blue .section_title {
    color: white;
}

/*
    GAMES
 */
.games-wrapper {
    display: flex;
    flex-flow: row wrap;
    align-items: start;
    justify-content: space-around;
}

.game {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.game + .game {
    margin-left: 2rem;
}

.game_image {
    position: relative;
}

.game:hover .game_image {
    animation: bounce 0.25s ease-out;
    animation-iteration-count: 2;
}

.game_presentation strong {
    display: inline-block;
    transition: transform 0.25s ease-in;
}

.game:hover .game_presentation strong {
    transform: scale(1.1) translateX(-0.2rem);
}

.game_presentation_hook_icon {
    display: inline-block;
    transition: transform 0.5s ease-out;
}

.game:hover .game_presentation_hook_icon {
    transform: rotate(360deg);
}

@keyframes bounce{
    from {bottom: 0;}
    60%  {bottom: 0.5rem;}
    to   {bottom: 0;}
}

@media (max-width: 1330px) {
    .game + .game {
        margin-left: 0;
    }
}

.game_image {
    margin-bottom: 2rem;

    box-shadow: rgba(0, 0, 0, 0.07) 0 1px 2px, rgba(0, 0, 0, 0.07) 0 2px 4px, rgba(0, 0, 0, 0.07) 0 4px 8px, rgba(0, 0, 0, 0.07) 0 8px 16px, rgba(0, 0, 0, 0.07) 0 16px 32px, rgba(0, 0, 0, 0.07) 0 32px 64px;
}

.game_presentation {
    width: 25rem;
    text-align: justify;

    color: rgba(0, 0, 0, 0.65);
    font-size: 0.9rem;
}

.game_presentation strong {
    font-size: 1rem;
    color: #004D40;
}

.game_presentation_hook {
    display: block;
    margin-top: 0.5rem;

    color: #004D40;
}

.game-coming-next {
    width: 100%;
    text-align: right;
    font-size: 1.5rem;
    padding-right: 2rem;

    color: #004D40;
}

/*
    REGISTER
 */
.register-wrapper {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
}

.register-cta {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-around;
    align-items: center;
    width: 40%;
    text-align: justify;
    margin-bottom: 2rem;

    color: rgba(0, 0, 0, 0.65);
}

.register-cta_text {
    display: inline-block;
    margin-bottom: 3rem;
    font-size: 1.3rem;

    text-align: justify;
}

.register-cta_text_em {
    color: #004D40;
    font-size: 1.2em;
    font-style: italic;
}

.section:hover .register-cta_text {
    animation: tilt 0.25s ease-in-out;
    animation-iteration-count: 5;
}

@keyframes tilt {
    from { transform: rotate(0) }
    25% { transform: rotate(2deg) }
    75% { transform: rotate(-2deg) }
}

@media (max-width: 1500px) {
    .register-cta,
    .register-wrapper img {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .register-cta,
    .register-wrapper img {
    width: 90%;
}
}

/*
    DESCRIPTION
 */
.description-wrapper {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: stretch;
}

.description + .description {
    margin-left: 2rem;
}

@media (max-width: 1330px) {
    .description-wrapper {
        justify-content: space-around;
    }

    .description + .description {
        margin-left: 0;
    }
}

.description {
    width: 25rem;
    margin-bottom: 2rem;
    display: flex;
    flex-flow: column nowrap;
    justify-content: start;

    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    background-color: white;
    border-radius: 10px;

    transition: transform 0.25s ease-in;
}

.description:hover {
    transform: scale(1.05);
}

.description_content {
    flex-grow: 1;
    flex-shrink: 0;
    padding: 1rem;
}

.description_image {
    width: 18.75rem;
    margin: auto;
}

.description_content_title {
    margin-bottom: 0.5rem;

    color: #004D40;
}

.description_content_text {
    text-align: justify;

    color: rgba(0, 0, 0, 0.65);
    font-size: 0.9rem;
}

/*
    FOOTER
 */

.footer {
    background-color: #004D40;
    color: white;
}

.footer_social-networks {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    width: 50%;
    margin: auto;
    padding: 1rem 0;

    border-bottom: 1px solid white;
}

.footer_social-networks_logo {
    padding-left: 1rem;
}

.footer_social-networks_logo a {
    font-family: logo, sans-serif;
    font-size: 2rem;
    color: white;
}

.footer_social-networks_links {
    display: flex;
    flex-flow: row nowrap;
}

.footer_social-networks_link i {
    font-size: 2rem;
    color: white;
}

.footer_social-networks_link + .footer_social-networks_link {
    margin-left: 1rem;
}

.footer_legals {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-evenly;
    padding: 1rem 0;
    width: 50%;
    margin: auto;
}