@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Manrope:wght@400..800&display=swap');
*,
*::before,
*::after{
    box-sizing: border-box;
}
*{
    margin: 0;
    padding: 0;
}
body{
    font-family: 'Manrope', sans-serif;
    background-color: #91AAA5;
    color:  #F8F3E9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
h1, h2, h3, h4, h5, h6{
    font-family: 'Lora', serif;
}
a{
    text-decoration: none;
    color: black;
}
.header{
    background-color: #F8F3E9;
    padding: 20px;
    position: relative;
}
.topnav{
    width: 100%;
    margin-inline: auto;
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-evenly;

    @media (width>=50rem) {
        gap: 20px;
        & > li:first-child{
        margin-inline-end: auto;
        }
    }
}
a{
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;

    @media (width>=50rem) {
        font-size: 1.25rem;
    }
}
.main-nav a {
    color: #31585B;
    font-size: 0.75rem;

    @media (width>=50rem) {
        font-size: 1rem;
    }
}
.logo-item {
    display: flex;
    align-items: center;
}
.logo-img {
    height: 85px;
    width: auto;
    display: block;

    @media (width>=50rem) {
        height: 85px;
    }
}
.item a {
    position: relative;
    display: inline-block;
    padding: 6px 4px;
}
.item a::before,
.item a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #31585B;
    transition: width 0.25s ease;
}
.item a::before {
    left: 0;
    bottom: 0;
}
.item a::after {
    right: 0;
    top: 0;
}
.item a:hover::before,
.item a:hover::after {
    width: 40%;
}
.dropdown{
    position: relative;
}
.dropdown-toggle{
    cursor: pointer;
}
.dropdown-menu{
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: #F8F3E9;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 5;
}
.dropdown-menu li{
    padding: 0;
}
.dropdown-menu a{
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
    text-transform: none;
    color: #31585B;
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
@media (min-width:961px){
    .footer-nav-row.dropdown{
        position: relative;
    }
    .footer-nav-row .dropdown-menu{
        top: 0;
        left: 100%;
        margin-left: 10px;
        transform: translateX(-8px);
    }
    .footer-nav-row.dropdown:hover .dropdown-menu,
    .footer-nav-row.dropdown.open .dropdown-menu{
        transform: translateX(0);
    }
}
.container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 40px 0;
    width: 100%;
}
.card_new{
    width: 325px;
    max-width: 100%;
    height: 480px;
    display: flex;
    flex-direction: column;
    background-color:#31585B;
    color: #F8F3E9;
    border-radius: 8px;
    margin: 20px;
    overflow: hidden;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.8);
}
.card_new img{
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    flex-shrink: 0;

}
.card_new .content{
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
.card_new .content h3{
    font-size: 28px ;
    margin-bottom: 8px;
    flex-shrink: 0;
}
.card_new .content p{
    color: #F8F3E9;
    font-size: 15px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
}
.card_old{
    width: 325px;
    max-width: 100%;
    height: 480px;
    display: flex;
    flex-direction: column;
    background-color:#91AAA5;
    color: #31585B;
    border-radius: 8px;
    margin: 20px;
    overflow: hidden;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.8);
}
.card_old img{
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    flex-shrink: 0;

}
.card_old .content{
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
.card_old .content h3{
    font-size: 28px ;
    margin-bottom: 8px;
    flex-shrink: 0;
}
.event-card-heading{
    font-size: 18px !important;
}
.card_old .content p{
    color: #31585B;
    font-size: 15px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
}
.btn{
    padding: 8px 16px;
    background-color:beige;
    text-decoration: none;
    margin-top: auto;
    display: inline-block;
    cursor: pointer;
    align-self: flex-start;
    font-size: 14px;
    color: #31585B;
}

@media (max-width: 768px){
    .container{
        width: 100%;
        height: auto;
    }

}
.mobile-menu-btn{
    position: absolute;
    top: 16px;
    right: 26px;
    cursor: pointer;
    z-index: 2;
    display: none;
}
.mobile-logo{
    display: none;
}
.btn-line{
    height: 3px;
    width: 25px;
    background-color: #31585B;
    margin: 5px 4px;
}
@media (max-width:960px){
    .header{
        min-height: 70px;
    }
    .mobile-menu-btn{
        display: block;
    }
    .mobile-logo{
        display: block;
        position: absolute;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
        z-index: 2;
    }
    .mobile-logo-img{
        height: 50px;
        width: auto;
        display: block;
    }
    .main-nav{
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        padding: 6rem 4rem 2rem;
        opacity: .9;
        width: 70%;
        height: 100vh;
        background-color: #F8F3E9;
        transform: translatex(-900px);
        transition: transform .5s ease-in-out;
    }
    .topnav{
        display: block;
    }
    .main-nav.show{
        transform: translateX(-20px);
    }
    .logo-item{
        display: none;
    }
    .item{
        list-style: none;
        padding: 10px 0px;
    }
    .header{
        background-color: #F8F3E9;
    }
    .dropdown-menu{
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        transition: max-height .3s ease;
    }
    .dropdown.open .dropdown-menu{
        max-height: 300px;
        padding: 4px 0 4px 16px;
    }
    .dropdown-menu a{
        padding: 8px 0;
    }

}
.topbar {
    background-color: #31585B;
    color: #F8F3E9;
    padding: 8px 20px;
}
.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    font-size: 0.55rem;
}
.topbar-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.topbar-contact-group {
    display: flex;
    align-items: center;
    gap: 6px;
}
.topbar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}
.topbar-item {
    color: #F8F3E9;
    text-decoration:none;
    justify-content: flex-end;
    font-size: 12px;
    align-items: center;
    justify-content: center;
    text-transform: lowercase;
}
.image_topbar{
    height: 14px;
    width: auto;
    display: block;
    @media (width>=50rem) {
        height: 18px;
    }
}
@media (width>=50rem) {
    .topbar-content {
        font-size: 0.7rem;
    }
}
@media (max-width: 768px) {
    .topbar-item {
        font-size: 10px;
    }
}
.footer{
    background: #F8F3E9;
    width: 100%;
    color: #31585B;
    margin-top: auto;
    font-size: 10px;
    padding-top: 40px;

}
.footer_content a{
    text-decoration: none;
    color: #31585B;


}
.footer_content h2{
    color: #31585B;
    font-size: 22px;
    margin: 15px;

}
.footer-heading-slot-forme{
    text-transform: capitalize;
}
.footer-heading-slot{
    text-transform: capitalize;
}
.footer_content p,
.footer_content .footer-nav-row{
    margin: 15px;
    font-size: 12px;
    color: #31585B;
}
.footer_contact p{
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer_content h2,
.footer_content .footer-heading-slot,
.footer_content p:not(.formefooter),
.footer_content a{
    font-size: 12px;
}
.footer .footer_content{
    display: flex;
    justify-content: space-between;
    padding: 0 35px;
}
.formefooter{
    margin-right: 30px;
}
.footer_content > div:first-child{
    max-width: 650px;
    text-align: left;
}
.footer-wf-heading{
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 600;
    color: #31585B;
    margin: 15px 15px 5px;
}
.btnf{
    display: block;
    margin: 15px;
}
.footer-social{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}
.image_footer{
    height: 24px;
    width: auto;
    @media (width>=50rem) {
        height: 26px;
    }
}
@media(max-width:730px)
{
    .footer .footer_content{
    display: flex;
    flex-direction: column;
    text-align: center;
}
    .footer-social{
    justify-content: center;
}    .footer-heading-slot{
        justify-content: center;
        text-align: center;
    }
}
@media (max-width: 768px) {
    .footer_content p,
    .footer_content .footer-nav-row,
    .footer_content h2,
    .footer_content .footer-heading-slot,
    .footer_content p:not(.formefooter),
    .footer_content a{
        font-size: 10px;
    }
}
.contact-section{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.contact-info{
    color: #F8F3E9;
    max-width: 500px;
    line-height: 65px;
    padding-left: 50px;
    font-size: 18px;
    margin-left: 10px;

}
.contact-info a{
    color: #F8F3E9;
}
.contact-form{
    max-width: 700px;
    margin-right: 50px;
    margin-left: 80px;
}
.contact-info .contact-form{
    flex: 1;

}
.contact-form h2{
    color: #F8F3E9;
    text-align: left;
    font-size: 35px;
    text-transform: uppercase;
    margin-bottom: 30px;
    margin-top: 20px;
}
.contact-form .text-box{
    background: #F8F3E9;
    color: black;
    border: none;
    width: calc(50%-10px);
    height: 50px;
    padding: 12px;
    font-size: 15px;
    border-radius: 5px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
    margin-bottom: 10px;
    margin-right: 10px;
}
.contact-form .text-box:first-child{
    margin-right: 15px;
}
.contact-form textarea{
    background: #F8F3E9;
    color: black;
    border: none;
    width: 100%;
    padding: 12px;
    font-size: 15px;
    min-height: 200px;
    max-height: 400px;
    resize: vertical;
    border-radius: 5px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    opacity: 0.9;
    margin-right: 10px;
}
.contact-form .send-btn{
    background: #31585B;
    color: white;
    border: none;
    width: 120px;
    height: 40px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 7px;
    cursor: pointer;
    transition: 0.3s;
    transition-property: background;
    margin-bottom: 20px;
}
.contact-form .send-btn:hover{
    background-color: rgb(17, 101, 63);
}
@media (max-width:950px) {
    .contact-section{
        flex-direction: column;
    }
    .contact-info{
        width: 90%;
        max-width: 500px;
        margin: 30px auto;
        padding-left: 0;
        text-align: center;
    }
    .contact-form{
        width: 85%;
        max-width: 400px;
        margin: 0 auto;
    }
    .contact-form h2{
        font-size: 26px;
        text-align: center;
    }
    .contact-form .text-box{
        width: 100%;
        margin-right: 0;
    }
    .contact-form .text-box:first-child{
        margin-right: 0;
    }
    .contact-form textarea{
        width: 100%;
        margin-right: 0;
    }
    .contact-form .send-btn{
        display: block;
        margin-left: 0;
    }
}
.banner_img{
    width: 100%;
    height: 550px;
    object-fit:cover;
    object-position: center 20%;
}
img.banner_img-gameth{
    object-position: center 100%;
}
@media (max-width:950px) {
    .banner_img{
    width: 100%;
    height: 275px;
    object-fit:cover;
    object-position: center 20%;
}
}
.section{
    width: 100%;
    padding-bottom: 60px;
    background-color: #91AAA5;
}
.container-forme{
    width: 80%;
    display: block;
    margin: auto;
    padding-top: 40px;
    background-color: #91AAA5;
}
.content-section{
    float: left;
    width: 55%;
    background-color: #91AAA5;
}
.image-section{
    float: right;
    width: 40%;
}
.image-section img{
    width: 100%;
    height: auto;
    border-radius: 5px;
}
.content-section .content-title{
    text-transform: uppercase;
    font-size: 17px;
}
.content-section .content-forme p{
    margin-top: 10px;
    font-size: 17px;
    line-height: 1.5;
}
.content-section .content-forme .button{
    margin-top: 30px;
}
.content-section .content-forme .button a{
    background-color:#31585B;
    padding: 15px 20px;
    text-decoration: none;
    color: white;
    font-size: 12px;
    letter-spacing: 1.5px;
}
.content-section .content-forme .button a:hover{
    background-color: #575757;
    cursor: pointer;
}
.content-section .social{
    margin: 40px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
@media screen and (max-width:768px) {
    .container-forme{
    width: 80%;
    display: block;
    margin: auto;
    padding-top: 25px;
}
.content-section{
    float: none;
    width: 100%;
    display: block;
    margin: auto;
}
.image-section{
    float: none;
    width: 100%;
    display:block;
    margin: auto;
}
.content-section .content-title{
    text-align: center;
    font-size: 10px;
}
.content-section .content-forme p{
    font-size: 16px;
}
.content-section .content-forme .button{
    text-align: center;
}
.content-section .content-forme .button a{
    padding: 7px 20px;
    font-size: 10px;
}
.content-section .social{
    justify-content: center;
}
}
.container .heading{
    width: 85%;
    margin: auto;
    text-align: center;
}
.container .heading h1{
    color: #F8F3E9;
    font-size: 50px;
    margin-top: 50px;
}
.wrapper{
    width: 85%;
    margin: 50px auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.content_fmp{
    width: 100%;
    margin: 0px 25px;
}
.heading_fmp{
    color: #F8F3E9;
    font-size: 60px;
    margin: 0 0 20px;
    text-align: left;
}
.content_fmp p a{
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    text-transform: none;
    text-decoration: underline;
}
.content_fmp p{
    color: #F8F3E9;
    font-size: 19px;
    line-height: 1.5;
    margin-top: 10px;
    width: 95%;
}
.image_fmp{
    width: 40%;
    align-self: flex-start;
    margin-top: 100px;
    padding-right: 120px;
}
.image_fmp img{
    width: 70%;
    height: auto;
}
/* za-men.html only: center the image in the gap between the end of the
   paragraph text and the right edge of the viewport, instead of hugging
   the wrapper's own right margin. Scoped to .zamen-wrapper so no other
   page using .wrapper/.content_fmp/.image_fmp is affected. */
@media screen and (min-width:769px){
    .zamen-wrapper{
        width: 100%;
        padding-left: 7.5vw;
        margin: 50px auto;
    }
    .zamen-wrapper .content_fmp{
        width: calc(51vw - 50px);
        flex: 0 0 auto;
    }
    .zamen-wrapper .image_fmp{
        width: auto;
        flex: 1 1 0%;
        display: flex;
        justify-content: center;
        padding-right: 0;
    }
    .zamen-wrapper .image_fmp img{
        width: 20vw;
        max-width: 100%;
    }
}
.content_fmp .button_fmp{
    position: relative;
    margin-top: 30px;
    text-decoration: none;
    border: 2px solid #F8F3E9;
    font-size: 19px;
    color: #F8F3E9;
    padding: 13px 16px;
    display: inline-block;
    letter-spacing: 1px;
    cursor: pointer;
}
.content_fmp .button_fmp::before{
    position: absolute;
    content: "";
    border: 1px solid transparent;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #F8F3E9;
    z-index: -1;
    transition: transform 0.7s;
    transform-origin: 0 0;
    transition-timing-function: cubic-bezier(0.5, 1.5, 0.4, 0.7);
    transform: scaleX(0);
}
.content_fmp .button_fmp:hover,
.content_fmp .button_fmp:active{
    color: #31585B;
}
.content_fmp .button_fmp:hover::before,
.content_fmp .button_fmp:active::before{
    transform: scaleX(1);
}
@media screen and (max-width:768px){
    .wrapper{
        flex-direction: column;
        margin-top: 0px;
    }
    .heading_fmp{
        font-size: 40px;
    }
    .content_fmp, .image_fmp{
        width: 100%;
        margin-top: 20px;
        margin-left: 0;
        margin-right: 0;
    }
    .content_fmp .button_fmp{
        font-size: 16px;
        padding: 12px 14px;
    }
}
.mail_footer{
    text-transform: lowercase;
}
.navbar_img{
    height: 0.35rem;
    @media  (width>=50rem){
    height: 0.5rem;
}
}
.grid_wrapper img{
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    display: inline-block;
}
.grid_wrapper > div{
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.grid_wrapper > div > img{
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
}
.grid_wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
}
.grid_wrapper .wide{
    grid-column: span 2;
}
.grid_wrapper .tall{
    grid-row: span 2;
}
.grid_wrapper .big{
    grid-column: span 2;
    grid-row: span 2;
}
.gallery_heading{
    width: 50%;
    margin: 0 auto;
    padding-bottom: 50px;
    text-align: center;
    padding-top: 30px;
}
.gallery_heading h3{
    font-size: 3em;
    font-weight: bolder;
    padding-bottom: 10px;
    border-bottom: 3px solid 	#31585B;
}
.credits-bar{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 20px;
    font-size: 10px;
}
.credit{
    padding-right: 7px;
}
.credits{
    padding-left: 7px;
}
