/* global css */
@font-face {
    font-family: ArbatRegular;
    src: url("../fonts/ArbatRegular.ttf");
}

@font-face {
    font-family: Novelist;
    src: url("../fonts/Novelist_free.otf")  format("opentype");
}

@font-face {
    font-family: Eugusto;
    src: url("../fonts/EugustoFreePersonalUse-Regular.otf")  format("opentype");
}

html{
    scroll-behavior: smooth;
}

body{
    overflow-x: hidden;
}

*{
    font-family: ArbatRegular;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.section{
    width: 100%;
    padding: 100px 0;
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; */
}

.container{
    width: 100%;
    padding: 0 5%;
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; */
}

.white{
    color: white;
}

h1{
    font-family: Novelist;
    /* font-family: Eugusto; */
    letter-spacing: 2px;
    font-size: 130px;
    text-align: center;
}
h2{
    font-family: Novelist;
    letter-spacing: 2px;
    /* font-family: Eugusto; */
    font-size: 80px;
    text-align: center;
}

h3{
    font-family: Novelist;
    letter-spacing: 2px;
    font-size: 80px;
}

span, p{
    font-size: 28px;
}

.flex{
    display: flex;
}

.fd-c{
    flex-direction: column;
}

.jc-s{
    justify-content: flex-start;
}
.jc-c{
    justify-content: center;
}
.jc-e{
    justify-content: flex-end;
}

.ai-s{
    align-items: flex-start;
}
.ai-c{
    align-items: center;
}
.ai-e{
    align-items: flex-end;
}

.gap-5{
    gap: 5px;
}    
.gap-10{
    gap: 10px;
}    
.gap-15{
    gap: 15px;
}    
.gap-20{
    gap: 20px;
}    
.gap-25{
    gap: 25px;
}   
.gap-30{
    gap: 30px;
}    
.gap-50{
    gap: 50px;
}  

.gap-80{
    gap: 80px;
}

.w-100{
    width: 100%;
}

.btn{
    padding: 10px 20px;
    color: white;
    background-color: black;
    width: fit-content;
    font-size: 22px;
    cursor: pointer;
    transition: .15s ease-in all;
    text-decoration: none;
}

.btn:hover{
    background-color: rgba(0, 0, 0, 0.75);
}

/* main css */
/* banner */
.section__banner{
    background-image: url('../img/img.jpg');
    filter: grayscale(100%);
    background-position: center;
    background-size: cover;
    /* background-color: #ee7d7d; */
    width: 100vw;
    height: 100vh;
    padding: 0;
    position: relative;
}

.arrow{
    width: 100px;
    height: 100px;
    position: absolute;
    bottom: 50px;
    animation: 2s top-bottom infinite;
    z-index: 5;
    color: white;
}

.arrow > img{
    width: 100%;
    height: 100%;
}

@keyframes top-bottom {
    0%{
        transform: translateY(0px);
    }
    30%{
        transform: translateY(-20px);
    }
}

.container__banner{
    width: 100vw;
    height: 100vh;
    position: relative;
}

/* .container__banner::after{
    z-index: 2;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
} */

.container__banner > div{
    z-index: 3;
}

/* guests */

.img-guests{
    width: 300px;
    filter: grayscale(1);
    position: absolute;
}

.img-guests--1{
    right: 0;
    top: 0;
}

.img-guests--2{
    right: 220px;
    top: 120px;
}

.big_fonts{
    font-size: 140px;
    color: rgba(128, 128, 128, 0.6);
}

.wrap_guests{
    position: relative;
}

.wrap_map{
    margin-top: 70px;
}

.map{
    width: 60%;
    height: 500px;
    background-color: black;
    display: none;
}

.map_open{
    display: block;
}

/* events */
.events_span{
    font-size: 50px;
    font-weight: bold;
}

/* dress-code */
.block_color{
    width: 100px;
    height: 100px;
    /* background-color: red; */
}

.dress-code_block{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    width: 70%;
}

.block_color--1{ background-color: #ece3d2; }
.block_color--2{ background-color: #e1d5c7; }
.block_color--3{ background-color: #dacbb4; }
.block_color--4{ background-color: #856a57; }
.block_color--5{ background-color: #66573a; }
.block_color--6{ background-color: #5b4633; }
.block_color--7{ background-color: #aebea4; }
.block_color--8{ background-color: #718838; }
.block_color--9{ background-color: #010101;}
.block_color--10{ background-color: rgb(189, 189, 189);}

.dress-code_img{
    display: grid;
    width: 70%;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    
}

.dress-code_img > img{
    height: 400px;
    object-fit: cover ;
    width: 100%;
    pointer-events: none;
}

/* details */
.line{
    height: 1px;
    width: 45%;
    background-color: black;
}

/* footer */
.footer__section{
    padding-bottom: 0;
}

.footer__container{
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.footer__container > img{
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: grayscale();
}

.width-45{
    width: 45%;
    text-align: center;
}

.width-35{
    width: 35%;
    text-align: center;
}

@media (max-width: 1280px){
    .dress-code_img {
        grid-template-columns: 1fr 1fr;
    }

    .width-45 {
        width: 55%;
    }

    .width-35{
        width: 55%;
    }

    .footer__container{
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer_img-4{
        display: none;
    }
}

@media (max-width: 1024px) {
    .width-45 {
        width: 75%;
    }

    .footer__container{
        grid-template-columns: 1fr 1fr;
    }

    .footer_img-3{
        display: none;
    }

    .map {
        width: 90%;
    }
}

@media (max-width: 768px) {
    h1{
        font-size: 90px;
    }

    .big_fonts{
        font-size: 100px;
    }

    .img-guests{
        width: 210px;
    }

    .img-guests--2 {
        right: 160px;
        top: 70px;
    }


    .footer__container{
        grid-template-columns: 1fr;
    }

    .footer_img-2{
        display: none;
    }

    .width-35 {
        width: 75%;
    }

    .dress-code_img {
        grid-template-columns: 1fr 1fr 1fr;
        width: 95%;
    }

    .dress-code_img > img {
        height: 200px;
    }

    .block_color{
        width: 75px;
        height: 75px;
    }
}

@media (max-width: 576px) {
    .dress-code_img {
        grid-template-columns: 1fr 1fr 1fr;
        width: 95%;
    }

    .dress-code_img > img {
        height: 120px;
    }

    h1{
        font-size: 60px;
    }

    h2{
        font-size: 40px;
    }

    .events_span{
        font-size: 30px;
    }

    .big_fonts {
        font-size: 70px;
    }

    p, span{
        font-size: 18px;
    }

    .img-guests {
        width: 150px;
    }

    .img-guests--2 {
        right: 110px;
        top: 50px;
    }

    .btn{
        font-size: 18px;
    }

    .section {
        padding: 60px 0;
    }

    .gap-80 {
        gap: 40px;
    }

    .gap-50 {
        gap: 25px;
    }

    .gap-25 {
        gap: 12px;
    }

    .block_color{
        width: 60px;
        height: 60px;
    }

    .dress-code_block {
        gap: 12px;
    }

    .width-45 {
        width: 95%;
    }
}