@font-face {
    font-family: "Amarante";
    src: url("../hungarygames-assets/hungarygames-fonts/hungarygames-amarante-regular.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../hungarygames-assets/hungarygames-fonts/hungarygames-mulish-bold.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "Mulish";
    src: url("../hungarygames-assets/hungarygames-fonts/hungarygames-mulish-bold.woff2") format("woff2");
    font-display: swap;
    font-weight: 700;
}

@font-face {
    font-family: "Mulish";
    src: url("../hungarygames-assets/hungarygames-fonts/australiagames7-mulish-regular.ttf");
    font-display: swap;
    font-weight: 400;
}

:root {
  --font-family: "Amarante", sans-serif;
  --second-family: "Poppins", sans-serif;
  --third-family: "Mulish", sans-serif;
}

header .container{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.container{
    max-width: 1240px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

a{
    text-decoration: none;
}

body{
    color: #fff;
    margin: 0px;
}

header{
    background-color: #3D1E5B;
}

.hungarygames-logo{
    display: flex;
    align-items: center;
    padding: 20px 0px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    gap: 10px;
    text-transform: uppercase;
    color: #fff;    
}

.language-switcher {
    position: relative;
    font-family: var(--font-family);
    font-size: 20px;
    text-transform: uppercase;
    color: #fff;
    margin-left: auto;
    padding: 20px 0;
  }
  
  .language-button {
    background-color: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-family);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .language-button .dropdown-icon {
    display: inline-block;
    font-size: 12px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
  }
  
  .language-switcher.open .language-button .dropdown-icon {
    transform: rotate(180deg);
  }
  
  .language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #3D1E5B;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    border-radius: 4px;
    display: none;
    min-width: 100%;
    z-index: 100;
  }
  
  .language-dropdown li {
    text-align: left;
  }
  
  .language-dropdown li a {
    display: block;
    padding: 8px 16px;
    color: #fff;
    font-family: var(--font-family);
    font-size: 20px;
    text-decoration: none;
  }
  
  .language-dropdown li a:hover {
    background-color: #50276D;
  }
  
  .language-switcher.open .language-dropdown {
    display: block;
  }
  

h1{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 54px;
    line-height: 120%;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    margin: 0px;
}

.hungarygames-hero{
    background-image: url(../hungarygames-assets/hungarygames-img/hungarygames-hero-bg.png);
    background-position: center;
    background-size: cover;
    padding: 190.5px 0px ;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hungarygames-hero .container{
    gap: 24px;
}

.hungarygames-hero p{
    font-family: var(--third-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    text-align: center;
    margin: 0px;
}

.hungarygames-start_playing_button{
    border-radius: 30px;
    padding: 14px 34px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    text-transform: uppercase;
    color: #000;
    background-color: #1EFF08;
}

.hungarygames-start_playing_button {
    transition: 0.5s;
    background: repeating-linear-gradient(75grad, rgba(0, 0, 0, 0) 25%, rgba(255, 255, 255, 0.6) 26%, rgba(0, 0, 0, 0.0) 50%, rgba(0, 0, 0, 0) 100%), #1EFF08;
    padding: 14px 34px;
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    text-transform: uppercase;
    margin: auto;
    color: #000;
    border-radius: 30px;
    border: 0px;
    animation: mymove 1s infinite linear;
    /* max-width: 22px; */
    width: max-content;
    box-sizing: border-box;
}

.hungarygames-start_playing_button:hover {
  background:
    repeating-linear-gradient(75grad, rgba(0,0,0,0) 25%,rgba(255,255,255,0.6) 26%, rgba(0,0,0,0.0) 70%, rgba(0,0,0,0) 100%), #1EFF08;
  color: white;
  cursor: pointer;
}

@keyframes mymove {
    0%   {background-position: 0px 0px;}
    100% {background-position: 500px 0px;}
}

section:nth-child(2){
    background: #3D1E5B;
    box-sizing: border-box;
}

section:nth-child(3){
    background-image: url(../hungarygames-assets/hungarygames-img/hungarygames-desert-bg.png);
    background-size: cover;
    background-position: center;
}

.hungarygames-game_overview{
    padding: 80px 10px;
}

h2{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    text-transform: uppercase;
    text-align: center;
    margin: 0px;
}

.hungarygames-description-cards{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    padding: 0px;
}

.hungarygames-description-card{
    display: flex;
    flex-direction: column;
    max-width: 400px;
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
    text-align: center;
    align-items: center;
    background: #37004C;
    border-radius: 10px;
}

.hungarygames-description-card img{
    width: 100%;
    max-width: 352px;
}

.hungarygames-description-card h3{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

.hungarygames-description-card p{
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
}

.hungarygames-play-now-section{
    padding: 110px 0px;
}

.hungarygames-play-now-section .container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    text-align: center;
}

.hungarygames-play-now-section p{
    margin: 0px;
    font-family: var(--third-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    text-align: center;
}

footer {
    background-color: #3D1E5B;
    padding: 40px 10px;
    text-align: center;
}

footer .container{
    gap: 40px;
}

footer h3 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    color: white;
    margin: 0px;
    text-transform: uppercase;
}

footer p {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    text-align: center;
    margin-top: 8px;
}

.hungarygames-coookie_policy_and_age_verefication_block {
    display: flex;
    gap: 20px;
}

.hungarygames-coookie_policy_and_age_verefication_block div {
    flex: 1;
}

.hungarygames-footer_logos {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    align-items: anchor-center;
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.hungarygames-footer_logos img {
    height: auto;
    max-width: 100%;
}

.hungarygames-footer_logos span{
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

@media screen and (max-width: 991px) {
    h1{
        font-size: 34px;
    }

    .hungarygames-hero p{
        font-size: 16px;
    }

    .hungarygames-play-now-section p{
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hungarygames-footer_logos {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hungarygames-footer_logos {
        justify-content: center;
    }
}

@media screen and (max-width: 360px) {
    .container{
        max-width: 328px;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    header{
        padding: 16px;
    }

    .hungarygames-logo{
        padding: 0px;
    }

    .hungarygames-hero{
        background-image: url(../hungarygames-assets/hungarygames-img/hungarygames-hero-bg_mobile_main.png);
        background-position: bottom;
        padding: 190.5px 0px ;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .hungarygames-hero p{
        font-size: 14px;
    }

    .hungarygames-hero p:nth-child(1){
        font-size: 12px;
    }

    .hungarygames-hero h1{
        font-size: 18px;
    }

    .hungarygames-game_overview{
        padding: 40px 16px;
    }

    .hungarygames-description-cards{
        gap: 40px;
    }

    section:nth-child(3){
        background-image: url(../hungarygames-assets/hungarygames-img/hungarygames-desert-bg_mobile.png);
        background-size: auto calc(100% + 2px);
        background-position: bottom;
        background-position-y: -1px;
    }


    .hungarygames-play-now-section{
        padding: 40px 0px;
    }

    h2{
        font-size: 16px;
        line-height: 150%;
    }
    .hungarygames-play-now-section p{
        font-size: 14px;
        margin: 0px;
    }

    .hungarygames-start_playing_button{
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 14px;
    }


    footer{
        padding: 24px 16px;
    }

    footer .container {
        gap: 20px;
    }    

    footer h3{
        margin: 0px;
        margin-bottom: 8px;
    }

    footer p{
        margin: 0px;
    }

    .hungarygames-coookie_policy_and_age_verefication_block {
        flex-direction: column;
        margin-bottom: 0px;
    }
    
    .hungarygames-footer_logos {
        flex-direction: column;
        margin-top: 0px;
    }
}