*{
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    font-family: "Cairo", system-ui;
}
body{
    background-color: #333333;
}
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');

nav {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    padding: 20px;
    padding-right: 70px;
    background-color: #3333331a;
    backdrop-filter: blur(2px);
    width: 100%;
    z-index: 20;
    position: fixed;

}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: row-reverse;
}

.nav-links li {
    display: inline-block;
    padding: 0 20px;
    margin-bottom: 0px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 0px 5px;
}
.active-a{
    /* border-radius: 5px; */
    border-bottom: solid #ffba00 2px;
}
.nav-links a:hover{
    border-bottom: 0.1px solid #ffba00;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    margin-right: 30px;
}
.logo a img{
    animation: logo 3s infinite reverse;
}

.burger {
    display: none;
}
@media screen and (max-width: 852px) {
    nav{
        padding: 10px;
        animation: nav 1s;
        padding-right: 0px;
        position: fixed;

    }
    .navbar{
        position: fixed;
    }
    .nav-links {
        position: absolute;
        left: -1100px;
        height: 100vh;
        top: 0vh;
        background-color: #333333;
        display: flex;
        flex-direction: column;
        justify-content: right;
        align-items: center;
        width: 65%;
        transform: translateX(100%);
        transition: 0.5s ease-in;
        padding: 0px;
        padding-top: 11vh;
        z-index: 10;
        opacity: 0;
        animation: navLinkFade 0.5s ease forwards 0.5s;
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
        cursor: pointer;
        z-index: 10;
    }

    .burger div {
        width: 25px;
        height: 3px;
        background-color: white;
        margin: 5px;
        transition: all 0.3s ease;
    }

    .nav-active {
        transform: translateX(0);
        left: 0px;
        opacity: 1;
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
        
    }

    .nav-links li {
        animation: navLinkFade 0.5s ease forwards 0.5s;
        text-align: right;
        width: 100%;
        margin-bottom: 10px;
    }
    .nav-active li a{
        border-bottom: 1px solid white;
        width: 100%;
        border-bottom: 1px solid #ffba00;
        border-radius: 5px;
    }
}
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links a:focus,
.nav-links a:hover {
    background-color: #555; /* Adds a hover and focus effect for better visual feedback */
    color: #fff;
}

.menu-backdrop {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1; /* Ensure it's below the nav-links but above other content */
}

.fixed-position {
    overflow: hidden;
    height: 100%;
}





.header{
    width: 100% !important;
    height: 100vh !important;
    position: relative;
}
.carousel-inner{
    width: 100% !important;
    height: 100%;
}
.carousel-item{
    width: 100% !important;
    height: 100%;
}
.carousel-item img{
    height: 100%;
    width: 100%;
    text-align: center;
    object-fit: cover;
}
.active{
    display: flex;
}

.header-description{
    position: absolute;
    background-color: #171717af;
    height: 100vh;
    width: 100%;
    top: 0px;
    left: 0px;
    padding: 120px 120px;
    /* padding-bottom: 300px;  */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.header-description-text{
    padding-top: 60px;
    width: 45%;
    padding-top: 80px;
}
.header-description-text h1{
    font-weight: 700;
    color: #ffba00;
    font-size: 50px;
    margin-bottom: 0px;
    text-shadow: 0px 2px 0px #bababa;
}
.header-description-text p{
    color: white;
    font-size: 25px;
    margin-bottom: 30px;
}
.p2{
    margin-top: 10px;
    font-size: 13px;
    color: #ffba00;
    text-shadow: #ff8800 0px 0px 10px;
    margin-bottom: 20px;
}
.header-description-text a{
    background-color: #15cb58;
    padding: 4px 10px;
    font-weight: 600;
    margin-top: 50px;
    text-decoration: none;
    color: white;
}
.header-description-text a:hover{
    background-color: #25D366;
    
}

.header-description-img {
    position: relative;
    width: 45%; /* Adjust to your preferred size */
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.header-description-img img {
    position: absolute;
    width: 100%; /* Images will take the full width of the container */
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Smooth transition for opacity */
    z-index: 1;
}

.header-description-img img.active {
    opacity: 1;
}




@media screen and (max-width: 852px) {
    .header-description{
        position: absolute;
        width: 100%;
        height: 100vh;
        top: 0px;
        left: 0px;
        padding: 40px 30px;
        flex-direction: column;
        /* justify-content: space-around; */
        display: block;
    }
    .header-description-text{
        width: 100%;
        margin-bottom: 50px;
    }
    .header-description-img{
        width: 100%;
        /* z-index: 0; */
    }
    .p2{
        margin-bottom: 10px;
        margin-top: 0px;
    }
    .header-description-text h1{
        font-weight: 600;
        font-size: 35px;
        margin-bottom: 10px;
        text-shadow: none;
    }
    .header-description-text p{
        font-weight: 300;
        font-size: 20px;
    }   
}




.who{
    position: relative;
    height: 45vh;
    background-color: white;
}
.who-bg{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 0;
    height: 100%;
    object-fit: cover;
}
.who-txt{
    position: absolute;
    top: 60px;
    bottom: 50px;
    left: 100px;
    right: 100px;
    z-index: 1;
}

.who-txt h2{
    font-size: 40px;
    font-weight: 600;
    color: #ffba00;
    margin-bottom: 20px;
}
.who-txt p{
    font-size: 20px;
    color: #f3f3f3;
}
.who-txt ul{
    width: 300px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 40px;
}
.who-txt ul li{
    list-style: none;
    margin: 0px;
    padding: 0px;
}
.who-txt ul li a{
    color: #ffba00;
    font-size: 20px;
}
.who-txt ul li a:hover{
    color: white;
    font-size: 20px;
}
.who-txt span{
    color: white;
}

@media screen and (max-width:700px){
    .who{
        height: 55vh;
    }
    .who-txt{
        left: 30px;
        right: 30px;
        margin-bottom: 50px;
        height: 100%;
    }
}




.services{
    width: 100%;
    background-color: #171717f0;
    background-image: url(images/bg/مؤسسة\ وهج\ الماس\ للخيام.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: multiply;

    padding: 200px 0px;

}

.services .services-content{
    text-align: center;
}

.services .services-content h2{
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 80px;
    color: #ffba00;
}

.services-content .services-grid{
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 20px auto;
}

.services-content .services-grid i{
    color: #f3f3f3;
    font-size: 30px;
    margin-bottom: 40px;
}

.services-content .services-grid h3{
    color: #ffba00;
}

.services-content .services-grid p{
    color: #f3f3f3;
}
@media screen and (max-width: 852px){
    .services{
        padding-bottom: 100px;
    }
    .services-grid{
        width: 100%;
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
        padding: 30px 0px;
    }
    .services-grid div{
        margin-bottom: 30px;
        border-bottom: 0.2px solid #ffbb008a;
        margin: 40px auto;
    }
    .services-grid i{
        margin-bottom: 5px;
    }
    .services .services-content h2{
        font-size: 25px;
    }
    .services h2{
        margin-bottom: 50px;
    }
}


.about-us{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    background-color: white;
}

.about-us div{
    width: 50%;
}

.about-us .about-txt{
    padding: 30px 20px;
    position: relative;
    height: 400px;

}

.about-txt h2{
    font-size: 30px;
    font-weight: 700;
    color: #ffba00;
    margin-bottom: -5px;
}

.about-txt p span{
    color: #ffba00;
}


.about-txt ul{
    width: 300px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    position: absolute;
    bottom: 60px;
    right: 20px;
}
.about-txt ul li{
    list-style: none;
    margin: 0px;
    padding: 0px;
}
.about-txt ul li a{
    color: #333333;
    font-size: 20px;
}
.about-txt ul li a:hover{
    color: #ffba00;
    font-size: 20px;
}
.about-txt span{
    color: #333333;
}
.about-us .about-img{
    background-color: #333333;
    overflow: hidden;
    cursor: pointer;
    overflow: hidden;
    height: 60vh;
    width: 50%;
    padding: 0px;
}

.about-us .about-img img{
    width: 100%;
    height: 100%;
    transition: 0.5s ease;
    object-fit: cover;
}

.about-img-overlay{
    position: absolute;
    top: -890px;
    right: -860px;
    background-color: #fff;
    box-shadow: 10px 10px 200px #fff;
    height: 650%;
    z-index: 10;
    transform: rotate(-45deg);
    transition: 0.5s ease;
    opacity: 0;
}

.about-img:hover .about-img-overlay{
    top: 300px;
    right: 300px;
    transition: 0.5s ease;
    cursor: pointer;
    opacity: 1;
}

.about-img:hover img{
    transition: 0.5s ease;
    transform: scale(1.2);
}

@media (max-width: 852px) {
    .about-us{
        flex-direction: column;
        align-items: center;
    }
    .about-us .about-txt{
        width: 100%;
    }
    .about-us .about-img{
        width: 100%;
        height: 30vh;
    }
    .about-txt{
        height: 500px;
    }
    .about-txt ul{
        position: absolute;
        bottom: 10px;

    }
}



.images{
    background: rgb(255,186,0);
    background: linear-gradient(142deg, rgba(255,186,0,1) 90%, rgba(0,0,0,0) 100%);
    background-color: #ffca37;
    background-image: url(images/bg/مؤسسة\ وهج\ الماس\ الرياض.webp);
    background-blend-mode: multiply;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    padding: 80px 50px;
    
}

.images h2{
    color: #36454F;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 40px;
    text-shadow: 0px 1px 0px #ffffff;
}

.images .images-grid{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
    margin: 0px auto;
}

.images .images-grid .image-card{
    width: 400px;
    height: 400px;
    margin: 20px;
    border-radius: 5px;
    border: 5px solid #36454F;
    box-shadow: #36454fc1 0px 10px 30px;
    cursor: pointer;
    overflow: hidden;
}

.images .images-grid .image-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}
.image-overlay{
    width: 50%;
    height: 170%;
    background-color: #fff;
    box-shadow: 10px 10px 200px #fff;
    position: absolute;
    top: -100%;
    right: -40%;
    transform: rotate(-45deg);
    transition: 0.5s ease;
    opacity: 0;
}
.image-card:hover .image-overlay{
    opacity: 1;
    top: 130px;
    right: 380px;
    transition: 0.5s ease;
}
.image-card:hover{
    border: 0px #36454F solid;
    transition: 0.5s ease;

}
.image-card:hover img{
    transform: scale(1.1);
    object-fit: cover;
    transition: 0.5s ease;
}
.image-card .image-badge{
    background-color: #36454F;
    padding: 2px 20px;
    padding-top: 10px;
    padding-bottom: 0px;
    position: absolute;
    border-radius: 0px 0px 15px 15px;
    top: -50px;
    right: 5px;
    transition: 1s ease;
}
.image-card .image-badge p{
    color: white;
    font-size: 15px;
}

.image-card:hover .image-badge{
    top: 0px;
    transition: 1s ease;
}


.images-link{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 400px;
    margin: 50px auto;
    margin-bottom: 0px;
}

.images-link a{
    background-color: #36454F;
    padding: 3px 25px;
    border-radius: 25px;
    padding-top: 4px;
    color: white;
    text-decoration: none;
    font-size: 20px;
    /* transition: 0.5s ease-in-out; */
    animation: 1s linear infinite alternate linkAnim;
    display: block;
}
.images-link a:hover{
    background-color: #141a1e;
}
.images-link p{
    font-size: 50px;
}

@keyframes linkAnim {
    0%{
        margin: 0px 40px;
    }100%{
        margin: 0px 0px;
    }
}


@media screen and (max-width: 852px){
    .images{
        padding: 50px 10px;

    }
    .images h2{
        text-shadow: none;
    }
    .images .images-grid{
        flex-direction: row;
        width: 100%;
    }
    .images .images-grid .image-card{
        width: 300px;
        height: 300px;
        margin: 20px 12px;
        border: 2px solid #36454F;
    }
    .image-card .image-badge{
        padding: 5px 5px;
        padding-bottom: 0px;
        border-radius: 0px 0px 10px 10px;
    }
    .image-card .image-badge p{
        font-size: 10px;
    }
    .images-link{
        width: 300px;
        margin: auto;
    }
}



.loader{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #36454F;
    transition: opacity 1s, visibility 1s;
}

.loader-hidden{
    opacity: 0;
    visibility: hidden;
}

.loader p{
    color: #ffba00;
    font-size: 25px;
    font-weight: 700;
    margin-top: 50px;
}

#wifi-loader {
    --background: #62abff;
    --front-color: #ffba00;
    --back-color: #c3c8de;
    --text-color: #414856;
    width: 64px;
    height: 64px;
    border-radius: 50px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #wifi-loader svg {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #wifi-loader svg circle {
    position: absolute;
    fill: none;
    stroke-width: 6px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: rotate(-100deg);
    transform-origin: center;
  }
  
  #wifi-loader svg circle.back {
    stroke: var(--back-color);
  }
  
  #wifi-loader svg circle.front {
    stroke: var(--front-color);
  }
  
  #wifi-loader svg.circle-outer {
    height: 86px;
    width: 86px;
  }
  
  #wifi-loader svg.circle-outer circle {
    stroke-dasharray: 62.75 188.25;
  }
  
  #wifi-loader svg.circle-outer circle.back {
    animation: circle-outer135 1.8s ease infinite 0.3s;
  }
  
  #wifi-loader svg.circle-outer circle.front {
    animation: circle-outer135 1.8s ease infinite 0.15s;
  }
  
  #wifi-loader svg.circle-middle {
    height: 60px;
    width: 60px;
  }
  
  #wifi-loader svg.circle-middle circle {
    stroke-dasharray: 42.5 127.5;
  }
  
  #wifi-loader svg.circle-middle circle.back {
    animation: circle-middle6123 1.8s ease infinite 0.25s;
  }
  
  #wifi-loader svg.circle-middle circle.front {
    animation: circle-middle6123 1.8s ease infinite 0.1s;
  }
  
  #wifi-loader svg.circle-inner {
    height: 34px;
    width: 34px;
  }
  
  #wifi-loader svg.circle-inner circle {
    stroke-dasharray: 22 66;
  }
  
  #wifi-loader svg.circle-inner circle.back {
    animation: circle-inner162 1.8s ease infinite 0.2s;
  }
  
  #wifi-loader svg.circle-inner circle.front {
    animation: circle-inner162 1.8s ease infinite 0.05s;
  }
  
  @keyframes circle-outer135 {
    0% {
      stroke-dashoffset: 25;
    }
  
    100% {
      stroke-dashoffset: 276;
    }
  }
  
  @keyframes circle-middle6123 {
    0% {
      stroke-dashoffset: 17;
    }
  
    100% {
      stroke-dashoffset: 187;
    }
  }
  
  @keyframes circle-inner162 {
    0% {
      stroke-dashoffset: 9;
    }
  
    100% {
      stroke-dashoffset: 97;
    }
  }

   




.contact{
    width: 100%;
    margin: auto;
    background-image: url(images/bg/مؤسسة\ وهج\ الماس\ لتنظيم\ الحفلات\ بالرياض.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #ffbb00c2;
}
.contact-bg{
    padding: 150px 0px;
    width: 100%;
    height: 100%;
    background-color:#ffbb00d5;
    padding-top: 100px;
}
.contact-grid{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 90%;
    margin: 50px auto;
}
.contact .contact-grid div{
    width: 48%;
}
.contact-form form{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
.contact-form form label{
    margin: 30px 0px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 10px;
}
.contact-form form input,textarea{
    font-size: 13px;
    padding: 10px 7px;
    border: none;
    border-radius: 3px;
}
.contact-form form textarea{
    height: 150px;
}
.contact-form form .submit{
    /* width: 170px; */
    margin-top: 30px;
    background-color: #36454F;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 7px 0px;
    font-weight: 700;
}
label span{
    color: red;
    margin: 5px;

}
.contact-form form button:hover{
    background-color: #141a1e;
}
.location{
    border-radius: 5px;
    overflow: hidden;
}
.location iframe{
    width: 100%;
    height: 100%;
}

.contact h2{
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 100px;
}
.phoneError ,.nameError{
    color: red;
    margin-top: 10px;
    font-weight: 100;
    display: none;
    transition: 0.5s ease;
}

@media screen and (max-width: 852px){
    .contact-grid{
        flex-direction: column;
    }
    .contact .contact-grid div{
        width: 100%;
    }
    .contact .contact-grid .location{
        margin-top: 150px;
        height: 400px;
    }
    .contact-grid form textarea{
        height: 100px;
    }   
}



footer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 100px 200px;
    background-color: #000;
    padding-bottom: 0px;

    
}

.footer-grid{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
}

footer div img{
    width: 150px;
    margin-bottom: 10px;
}

footer div{
    display: flex;
    flex-direction: column;
}

.footer-div1 p{
    color: white;
}
.footer-div1 p:hover{
    color: #ffba00;
    cursor: pointer;
}
footer i{
    margin: 3px;
    font-size: 13px;
    color: #ffba00;
}

footer h2{
        font-size: 40px;
        font-weight: 600;
        color: #ffba00;
        margin-bottom: 20px;
}

.footer-div2 ul{
    list-style: none;
}
.footer-div2 ul li{
    margin-bottom: 10px;
}
.footer-div2 ul li a{
    color: white;
    text-decoration: none;
}
.footer-div2 ul li a:hover{
    color: #ffba00;
    text-decoration: underline;
}

.active-f{
    text-decoration: underline;
    display: none;
}

.footer-div2 ul li a:hover i{
    margin: 0px 7px;
}

.footer-div3 ul{
    display: flex;
    flex-direction: row;
    list-style: none;
    justify-content: space-between;
    background-color: #141a1e;
    padding: 3px 15px;
    border-radius: 10px;
}

.footer-div3 ul li i{
    color: white;
    font-size: 20px;
}

.footer-div3 ul li i:hover{
    color: #ffba00;
}

.copyrights{
    text-align: center;
    margin-top: 80px;
    width: 100%;
    color: #555;
}
.copyrights a{
    text-decoration: none;
    color: #c28e00;
    margin: 0px 4px;
}
.copyrights a:hover{
    color: #ffba00;
}

@media screen and (max-width: 852px){
    footer{
        padding: 50px 30px;
        padding-bottom: 0px;

    }
    .footer-grid{
        flex-direction: column;
        width: 100%;
        margin-bottom: 0px;
    }
    footer div{
        margin-bottom: 60px;
    }
    .footer-div3 ul{
        width: 200px;
        margin-bottom: 0px;
    }
    .copyrights{
        margin-top: 0px;
    }
}


/* ------------------------------------------------------------------------------------------ */

.content{
    background-image: linear-gradient( 107.7deg,  rgba(235,230,44,0.55) 8.4%, #ffba00 90.3% );
    background: url(images/bg/مؤسسة\ وهج\ الماس\ لتنظيم\ الحفلات\ بالرياض.webp);
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    perspective: 10px;
}

@keyframes text {
    from{
        font-size: 20px;
        text-shadow: 0px 0px 0px white;
    }

    to{
        font-size: 100px;
        opacity: 0px;
        text-shadow: 0px 0px 10px white;
        
    }
}

.header-who{
    
    /* background-color: #36454F; */
    /* padding-top: 0px; */

    /*  */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    transform-style: preserve-3d;
    z-index: -1;
}

.header-who h1{
    text-align: center;
    font-weight: 800;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    cursor: pointer;
    color: white;

    position: absolute;
    object-fit: cover;
    z-index: 2;

    animation: text linear;
    animation-timeline: view();
}

.header-who img{
    /* width: 100%; */
    /* height: 100%; */

    position: absolute;
    object-fit: cover;
    transform: translateZ(-10px) scale(1.2);
    z-index: 1;
}



.my-border{
    background-color: #212529;
    text-align: center;
    width: 60%;
    height: 5px;
    position: absolute;
    bottom: -20px;
    transition: 0.5s ease;
    border-radius: 10px;
}

.header-who h1:hover .my-border{
    width: 90%;
    
}



@media screen and (max-width: 852px){
    .header-who h1{
        font-size: 70px;
    }
}

.book-wa{
    text-align: center;
    margin-top: 50px;
}
.book-wa a{
    background-color: #15cb58;
    text-decoration: none;
    padding: 4px 15px;
    color: white;
    font-size: 20px;
    font-weight: 600;
}
.book-wa a:hover{
    background-color: #25D366;
}

.more{
    margin-top: 50px;
    font-size: 30px;
    color: white;
    display: inline-block;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.more p{
    background-color: #141a1e;
    padding: 3px 15px;
    border-radius: 5px;
}













/* -------------------------------------------- */


.closemodel {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 3em;
    height: 3em;
    border: none;
    background: rgba(180, 83, 107, 0.492);
    border-radius: 5px;
    transition: background 0.5s;
  }
  
  .X {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2em;
    height: 1.5px;
    background-color: rgb(255, 255, 255);
    transform: translateX(-50%) rotate(45deg);
  }
  
  .Y {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2em;
    height: 1.5px;
    background-color: #fff;
    transform: translateX(-50%) rotate(-45deg);
  }
  
  .close {
    position: absolute;
    display: flex;
    padding: 0.8rem 1.5rem;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    top: -70%;
    left: 50%;
    width: 3em;
    height: 1.7em;
    font-size: 12px;
    background-color: rgb(19, 22, 24);
    color: rgb(187, 229, 236);
    border: none;
    border-radius: 3px;
    pointer-events: none;
    opacity: 0;
  }
  
  .closemodel:hover {
    background-color: rgb(211, 21, 21);
  }
  
  .closemodel:active {
    background-color: rgb(130, 0, 0);
  }
  
  .closemodel:hover > .close {
    animation: close 0.2s forwards 0.25s;
  }
  
  @keyframes close {
    100% {
      opacity: 1;
    }
  }
  
.model{
    background-color: #000000d7;
    position: fixed;
    top: 100%;
    left: 0px;
    width: 100%;
    height: 100vh;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* display: none; */
    opacity: 0;
    transition: 0.5s;
}

.model img{
    border: 1px solid white;
    border-radius: 5px;
    transition: 3s;
    box-shadow: #ffffff61 0px 0px 10px;
}


@media screen and (max-width: 852px){
    .model img{
        width: 300px;
    }
}