html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: white;
}

.bodygeneral {
    background-color: black;
    padding: 0;
    width: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

p {
    font-family: 'Inter', sans-serif;
}

input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

img {
    image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: -o-crisp-edges; /* Opera */
image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */
image-rendering: crisp-edges;
-ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */
}

input {
    font-family: "Inter", sans-serif;
    color: #ffffff;
}

textarea {
    font-family: "Inter", sans-serif;
    resize: none;
    color: #ffffff;
}

p {
    font-weight: 400;
    margin: 0;
}

h1, h2, h3 {
    font-family: "Inter", sans-serif;
    margin: 0;
    letter-spacing: -0.03em;
    font-weight: 700;
}

h4 {
    font-family: "Inter", sans-serif;
    margin: 0;
    font-weight: 700;
}

h1 {
    font-size: 96px;
    font-weight: 700;
    line-height: 110% ;
}

@media only screen and (max-width: 768px) {
    h1 {
        font-size: 64px;
        letter-spacing: -0.03em;
    }
}

button {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: black;
    letter-spacing: 0.01em;
    cursor: pointer;
}


.headerlink {
    display: flex;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    color: black;
    letter-spacing: 0.01em;
    text-decoration: none;
    margin-left: 24px;
    font-size: 14px;
}

h2 {
    font-style: normal;
    font-size: 64px;
    font-weight: 700;
    line-height: 115%;
    letter-spacing: -0.02em;
}

@media only screen and (max-width: 768px) {
    h2 {
        font-size: 48px;
    }
}

@media only screen and (max-width: 320px) {
    h2 {
        font-size: 40px;
    }
}

h3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 140%;
    margin: 0;
    
}

h4 {
    font-size: 16px;
    font-weight: 700;
    line-height: 144% ;
}

p {
    font-size: 18px;
    font-weight: 400;
    line-height: 144% ;
}

.header {
    display: flex;
    width: 95%;
    margin: 24px auto;
    height: 72px;
    color: white;
    justify-content: space-between;
    align-items: center;
}

@media only screen and (min-width: 1441px) {
    .header {
    }
}

.header-buttons {
    display: flex;
    color: white;
    flex-direction: row;
    align-items: center;
}

.header-buttons a {
   font-size: 14px;
}

@media only screen and (max-width: 768px) {
    .header-buttons {
        display: none;
    }
}

.hamburguer {
    display: flex;
    border: none;
    background: none;
}

.hamburguer-menu {
    display: none;
    color: black;
    width: 100%;
    background-color: white;
    flex-direction: column;
}

.hamburguer-menu .headerlink {
    margin: 24px auto;
    justify-content: start;
}


.header-buttons button {
    background-color: transparent;
    border: none;
    font-size: 14px;
    margin-left: 16px;
    padding: 8px;

}

.hero {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    /* background: linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.00) 10.84%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 100%), url(https://www.grandaygranda.pe/assets/roca.jpg) lightgray 50% / cover no-repeat; */
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.00) 10.84%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.60) 100%),  url(https://www.grandaygranda.pe/assets/mainbackground2.webp) lightgray 50% / cover no-repeat;
}

.hero-image {
    content: "";
    flex: 2;
    background-size: cover;
    background-position: center 60%;
    
}


.single-slide {
    
    background-size: cover;
    background-position: center 10%;
    filter: saturate(1.4);
    position: absolute;
    opacity: 1;
    animation-duration: 25s;
    animation: slider-animation;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes slider-animation {
    
    0% {
        opacity: 0;
    }
    6% {
        opacity: 1;
    }
    24% {
        opacity: 1;
    }
    30% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
    }


#slide1 {
    background-image: url('./assets/roca.jpg');
    
}

@media only screen and (max-width: 1024px) {
    .hero-image {
        flex: 1;
    }
}

@media only screen and (max-width: 768px) {
    .hero-image {
        flex: inherit;
        width: 100%;
        height: 240px;
    }
}


.button-container{
    display: flex; 
    flex-direction: row; 
    align-items: center; 
    gap:16px;
    margin-top: 16px;
}

@media only screen and (max-width: 1024px) {
    .button-container {
        flex-direction: column;
       
    }
}

@keyframes MOVE-BG {
    from {
        opacity: 0;
    }
    to { 
        opacity: 1;
    }
 }

@media only screen and (min-width: 1441px) {
    .hero {
       height: 100vh;
            }
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
    padding: 0 4rem;
    margin-top: auto;
    margin-bottom: 3.5%;
}

@media only screen and (max-width: 768px) {
    .hero-text p {
        font-size: 14px;

    }
}

@media only screen and (max-width: 430px) {
    .hero-text {
        padding: 0 2rem;
        margin-bottom: 24px;
        gap: 8px;
    }
}

@media only screen and (max-width: 1024px) {
    .hero-text {
        padding: 0 2rem;
    }
}
.main-button {
    padding: 16px 24px ;
    background: rgba(0, 0, 0, 1);
    border-radius: 12px;
    color: white;
    width: fit-content;
    min-width: 220px;
    transform: translateZ(0);
    will-change: transform;
    border: none;
    display: flex;
    align-items: center;
    font-size: 18px;
    justify-content: center;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.01em;
    cursor: pointer;
    backdrop-filter: blur(20px);

}

.main-button:hover {
transform: translateY(-5px);
}


@media only screen and (max-width: 320px) {
    .main-button {
        font-size: 14px;
    }
}

@media only screen and (max-width: 1024px) {
    .main-button {
        width: 100%;
    }
}

.main-button2 {
    padding: 16px 24px ;
    background: rgba(255, 255, 255, 1);
    border-radius: 12px;
    color: black;
    transform: translateZ(0);
    will-change: transform;
    border: none;
    display: flex;
    width: fit-content;
    align-items: center;
    font-size: 18px;
    justify-content: center;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.01em;
    cursor: pointer;
}

.main-button2:hover {
transform: translateY(-5px);
}


@media only screen and (max-width: 320px) {
    .main-button2 {
        font-size: 14px;
    }
}

@media only screen and (max-width: 1024px) {
    .main-button2 {
        width: 100%;
    }
}


.frameless-button {
    padding: 16px 24px;
    border: solid 1px gray;
    text-align: center;
    transform: translateZ(0);
    will-change: transform;
    display: inline-block;
    text-decoration: none;
    background-color: transparent;
    font-size: 18px;
    color: #ffffff;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 700;
    letter-spacing: 0.01em;
    backdrop-filter: blur(20px);
}

@media only screen and (max-width: 1024px) {
    .frameless-button {
        width: 100%;
    }
}

@media only screen and (max-width: 320px) {
    .frameless-button {
        font-size: 14px;
    }
}

.frameless-button:hover {
    transform: translateY(-5px);
}

.project-name {
    font-family: "Inter", serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 150%;
}

.normalwidthsection {
    margin-top: 240px;
    padding: 0 4rem;
    display: flex;
    color: #ffffff;
}

@media only screen and (max-width: 1024px) {
    .normalwidthsection {
        margin-top: 80px;
    }
}

.services {
    display: flex;
    flex-wrap: wrap;
    color: white;
    gap: 24px;
    padding: 0 4rem;
    margin-top: 24px;
}

@media only screen and (max-width: 1024px) {
    .services {
        padding: 0 2rem;
    }
}

.services div {
    flex: 1 1 0;
}

@media only screen and (max-width: 1024px) {
    .services div {
        flex: 1 1 49%;
    }
}



.normalwidthsection.services div {
    flex: 1;
    padding-top: 24px;
    margin-top: 0;
}

@media only screen and (max-width: 1080px) {
    .normalwidthsection.services div {
        flex: inherit;
    }
}

@media only screen and (max-width: 1024px) {
    .normalwidthsection {
        padding: 0 2rem;
    }
}

@media only screen and (max-width: 425px) {
    #acabados_title {
        font-size: 48px;
    }
}


.normalwidthsection.acabados {
    display: flex;
    flex-wrap: wrap;
    margin-top: 24px;
}


.acabados-textnbutton {
    padding-top: 24px;
    margin-top: 0;
    flex: 1;
    flex-direction: column;
  
}

@media only screen and (max-width: 1024px) {
    .acabados-textnbutton {
        flex: unset; 
        margin-bottom: 24px;
   }
}


@media only screen and (max-width: 1080px) {
    .normalwidthsection.acabados p {
        flex: inherit;
    }
}

.container {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4rem;
    gap: 24px;
  }

.container-empresa {
    margin: auto;
    flex-wrap: wrap;
    flex-direction: row;
    max-width: 980px;
    display: flex;
    gap: 48px;
}

@media only screen and (max-width: 1024px) {
    .container-empresa {
        margin: 0 24px
    }
}

.empresatext p {
    color: hsla(0, 0%, 100%, 0.674);
}

@media only screen and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
        display: flex;
        flex: 1 1 48%;
    }
}

.empresamain {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 606px;
}

.columnS p {
    margin: 0;
}
.empresatext {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 80px;
}

.columnS {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    flex-direction: column;
}

.empresatext p {
    margin: 0;
}

  .box{
    box-sizing: border-box;
    flex-shrink: 0;
    height: 320px;
    align-items: bottom center;
    display: flex;
    text-decoration: none;
    border-radius: 8px;
    
    
    
  }

@media only screen and (max-width: 1384px) {
    .box {
        min-width: 50%;
    }
}

@media only screen and (min-width: 1280px) and (max-width: 1439px) {
    .box {
        height: 260px;
    }
}


@media only screen and (max-width: 768px) {
    .box {
        min-width: 100%;
        margin-bottom: 24px;
    }
}

.box.empty {
    background: transparent;
    width: 33.33%;
    
}

@media only screen and (max-width: 1384px) {
    .box.empty {
        display: none;
    }
}

.boxframe {
    margin-bottom: 80px;
    margin-top: 40px;
    flex: 1 1 30%;
    margin-bottom: 40px;
}

@media only screen and (max-width: 430px) and (max-width: 425px) {
    .boxframe {
        flex: 1 1 max-content;
    }
}



#liguria {
    background: url("./assets/liguria/liguria.jpg");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    transition: ease 0.3s ;
    opacity: 1;
    filter: saturate(1.2);
}

.boxinfo {
    color:#ffffff;
    display: flex;
    justify-content: center;
    flex-direction: column;
    transition: ease 0.2s;
    width: 100%;
    padding-left: 8px;
    margin-top: 24px;
    height: auto;
    line-height: 140%;
}


.boxinfo p {
    margin: 0 0 8px 0;
    padding-right: 16px;
}

#liguria:hover div {
    opacity: 1;
}

#sanjuan:hover div {
    opacity: 1;
}

#aljovin:hover div {
    opacity: 1;
}

#davinci:hover div {
    opacity: 1;
}

#breton:hover div {
    opacity: 1;
}

#sanantonio:hover div {
    opacity: 1;
}

#sanjuan {
    background: url("./assets/batalla\ de\ san\ juan/san\ juan.jpg"); 
    background-size: cover;
    background-position: center;
    filter: saturate(1.4);
    background-repeat: no-repeat;
   }

#aljovin {
    background: url("./assets/aljovin/aljovin.JPG"); 
    background-size: cover;
    background-position: center;
    filter: saturate(1.4) contrast(1.2);
    background-repeat: no-repeat;
   }

#davinci {
    background: url("./assets/da\ vinci/davinci.jpg") ; 
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    }

#breton {
    background: url("./assets/breton/breton1.jpg") ; 
    background-size: cover;
    background-position: bottom center;
    filter: saturate(1.4);
    background-repeat: no-repeat;
    }    

#sanantonio {
    background: url("./assets/san\ antonio/sanantonio1.jpg") ; 
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    }    

.container2 {
    display: flex;
    flex-wrap: wrap;
    flex: 2;
    padding-top: 16px;
    gap: 16px;
}

.container-acabados {
    display: flex;
    margin-top: 24px;
    flex-wrap: wrap;

}

.container-acabados > * {
    margin-right: 24px;
    margin-bottom: 24px;
}

.acabados2 {
    display: flex;
    border-top: 0.5px transparent ;
    margin: 24px 0 24px 0;
    color: rgba(255, 255, 255, 0.753)
    flex-direction: column;
}

@media only screen and (min-width: 1025px) {
    .acabados2 {
        flex-direction: row;
    }
}

.minibox-xl {
    background-position: center center;
}

@media only screen and (max-width: 375px) {
    .minibox-xl {
        width: 91%;
        height: 320px;
    }
}

@media only screen and (min-width: 376px) and (max-width: 767px) {
    .minibox-xl {
        width: 43%;
        height: 250px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .minibox-xl {
        width: 28%;
        height: 250px;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1365px) {
    .minibox-xl {
        width: 190px;
        height: 250px;
    }
}

@media only screen and (min-width: 1366px) {
    .minibox-xl {
        width: 43%;
        height: 290px;
    }
}


@media only screen and (min-width: 1025px) {
    .acabadostitle   {
        flex: 1;
        margin-right: 24px;
    }
}

@media only screen and (min-width: 1025px) {
    .acabadostxt   {
        flex: 3;
    }
}

@media only screen and (min-width: 1025px) {
    .container-acabados   {
        flex: 2;
    }
}



.minibox-x {
    background-position: center center;
}

@media only screen and (max-width: 375px) {
    .minibox-x {
        width: 91%;
        height: 160px;
    }
}

@media only screen and (min-width: 376px) and (max-width: 767px) {
    .minibox-x {
        width: 43%;
        height: 160px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .minibox-x {
        width: 46%;
        height: 230px;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1366px) {
    .minibox-x {
        width: 190px;
        height: 144px;
    }
}

@media only screen and (min-width: 1367px) {
    .minibox-x {
        width: 43%;
        height: 144px;
    }
}


#intercomunicador-1 {
    background-image: url("./assets/acabados/intercomunicadores/inter1.jpg");
    background-size: cover;
}
#intercomunicador-2 {
    background-image: url("./assets/acabados/intercomunicadores/inter2.jpg");
    background-size: cover;
}
#intercomunicador-3 {
    background-image: url("./assets/acabados/intercomunicadores/inter3.jpg");
    background-size: cover;
}
#cocinas-1 {
    background-image: url("./assets/acabados/cocina/cocina1.jpg");
    background-size: cover;
}
#cocinas-2 {
    background-image: url("./assets/acabados/cocina/cocina2.jpg");
    background-size: cover;
}
#cocinas-3 {
    background-image: url("./assets/acabados/cocina/cocina3.jpg");
    background-size: cover;
}
#cocinas-4 {
    background-image: url("./assets/acabados/cocina/cocina4.jpg");
    background-size: cover;
}
#cocinas-5 {
    background-image: url("./assets/acabados/cocina/cocina5.jpg");
    background-size: cover;
}
#bano-1 {
    background-image: url("./assets/acabados/bano/bano1.jpg");
    background-size: cover;
}
#bano-2 {
    background-image: url("./assets/acabados/bano/bano2.jpg");
    background-size: cover;
}
#bano-3 {
    background-image: url("./assets/acabados/bano/bano3.jpg");
    background-size: cover;
}
#bano-4 {
    background-image: url("./assets/acabados/bano/bano4.jpg");
    background-size: cover;
}
#closet-1 {
    background-image: url("./assets/acabados/closets/closet1.jpg");
    background-size: cover;
}
#closet-2 {
    background-image: url("./assets/acabados/closets/closet2.jpg");
    background-size: cover;
}
#closet-3 {
    background-image: url("./assets/acabados/closets/closet3.jpg");
    background-size: cover;
}
#closet-4 {
    background-image: url("./assets/acabados/closets/closet4.jpg");
    background-size: cover;
}
#puerta-1 {
    background-image: url("./assets/acabados/puertas/puerta1.jpg");
    background-size: cover;
}
#puerta-2 {
    background-image: url("./assets/acabados/puertas/puerta2.jpg");
    background-size: cover;
}
#puerta-3 {
    background-image: url("./assets/acabados/puertas/puerta3.jpg");
    background-size: cover;
}
#puerta-4 {
    background-image: url("./assets/acabados/puertas/puerta4.jpg");
    background-size: cover;
}
#piso-1 {
    background-image: url("./assets/acabados/piso/piso1.jpg");
    background-size: cover;
}
#piso-2 {
    background-image: url("./assets/acabados/piso/piso2.jpg");
    background-size: cover;
}
#piso-3 {
    background-image: url("./assets/acabados/piso/piso3.jpg");
    background-size: cover;
}
#ascensor-1 {
    background-image: url("./assets/acabados/ascensor/a1.jpg");
    background-size: cover;
}
#ascensor-2 {
    background-image: url("./assets/acabados/ascensor/a2.jpg");
    background-size: cover;
}
#ascensor-3 {
    background-image: url("./assets/acabados/ascensor/a3.jpg");
    background-size: cover;
}
#ascensor-4 {
    background-image: url("./assets/acabados/ascensor/a4.jpg");
    background-size: cover;
}




.minibox {
    box-sizing: border-box;
    height: 146px;
    border-radius: 8px;
    flex: 1 1 40%;
}

@media only screen and (min-width: 1024px) {
    .minibox {
        flex: 1 1 30%;
    }
}

#acabado1 {
    background: url("./assets/acabados/IMG_0542.jpg") ; 
    background-size: cover;
    background-position: center;
}

#acabado2 {
    background: url("./assets/acabados/IMG_0545.jpg") ; 
    background-size: cover;
    background-position: center;
}

#acabado3 {
    background: url("./assets/acabados/IMG_0596.jpg") ; 
    background-size: cover;
    background-position: center;
}

#acabado4 {
    background: url("./assets/acabados/IMG_0661.jpg") ; 
    background-size: cover;
    background-position: center;
}

#acabado5 {
    background: url("./assets/acabados/IMG_0688.jpg") ; 
    background-size: cover;
    background-position: center;
}

#acabado6 {
    background: url("./assets/acabados/IMG_4189.jpg") ; 
    background-size: cover;
    background-position: center;
}

.info {
    display: flex;
    flex-wrap: wrap;
    width: 100%;

}

@media only screen and (max-width: 425px) {
    .info {
        flex-direction: column;
    }
}

@media only screen and (max-width: 425px) {
    .info p:nth-child(2) {
        margin-top: 0px;
    }
}


@media only screen and (max-width: 375px) {
    .info p:first-of-type {
        margin-bottom: 0;
    }
}


.normalwidthsection.conversemos {
    display: flex;
    flex-wrap: wrap;
    border-top: 0.5px solid transparent ;
    margin-top: 24px;
    gap: 24px;
}


@media only screen and (min-width: 1025px) {
    .info p+p {
        padding-left: 16px;
    }
}

.goback {
    width: 100%;
    background-color: #010002 ;
    color: white;
    justify-content: center;
    display: flex;
    height: 40px;
    text-decoration: none;
    padding-top: 20px;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.2em;
}

.goback:hover {
    background-color: rgb(43, 43, 43);
    
}

.goback2 {
    width: 100%;
    background-color: black ;
    color: white;
    justify-content: center;
    display: flex;
    height: 40px;
    text-decoration: none;
    padding-top: 20px;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.2em;
    margin-top: 120px;
}

.goback2:hover {
    background-color: rgb(43, 43, 43);
    
}

@media only screen and (min-width: 2560px) {
    .goback2 {
        position: fixed;
        bottom: 0;
    }
}

.form {
  display: flex;
  flex: none;  
  flex-direction: column;
  margin: 18px 0;
  gap: 16px;
  -webkit-appearance: none;
}
 
.form label {
    font-size: 18px;
    font-family: 'Inter', sans-serif;
}

@media only screen and (min-width: 1025px) {
    .form {
        padding-left: 16px;
        flex: 2;
    }
}

@media only screen and (max-width: 320px) {
    .form {
        max-width: 280px;
    }
}

#input1 {
    max-width: 320px;
    border-radius: 8px;
    height: 48px;
    -webkit-appearance: none;
    font-size: 18px;
    border: 1px solid rgba(160, 160, 160, 1);
    background: transparent;
    margin-top: 8px;
    padding: 8px 16px;
}

@media only screen and (max-width: 1023px) {
    #input1 {
        max-width: 100%;
    }
}

#message {
    max-width: 640px;
    border-radius: 8px;
    height: 120px;
    font-size: 18px;
    background: transparent;
    border: 0.5px solid rgba(160, 160, 160, 1);
    margin-top: 8px;
    padding: 16px;
}

.main-button.formulario {
    max-width: 80px;
   
}

@media only screen and (max-width: 380px) {
    #gyg {
        font-size: 56px;
        line-height: 64px;
    }
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    transition: opacity 300ms;
    visibility: hidden;
    opacity: 0;
    display: flex;
    align-items: center;
  }
  .overlay:target {
    visibility: visible;
    opacity: 1;
  }

  .overlay-success {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    
  }
  .overlay-success:target {
    visibility: visible;
    opacity: 1;
  }
  .overlay-success .popup2 {
    padding: 40px;
    display: flex;
    flex-direction: column;
    max-width: 290px;
    height: auto;
    border-radius: 4px;
    align-items: center;
    margin: 40px auto;
    width: auto;
    color: white;
    position: relative;
    transition: all .5s ease-in-out;
  }

  @media only screen and (max-width: 425px) {
    .overlay-success .popup2 {
        max-width: 100%;
        padding: 20px;     
        height: 100%;
        margin: 0;
    }
}

  .popup {
    margin: 40px auto;
    padding: 32px;
    display: flex;
    height: fit-content;
    flex-direction: column;
    border-radius: 5px;
    max-width: 50%;
    background-color: white;
    color: black;
    position: relative;
    transition: all .5s ease-in-out;
  }
  @media only screen and (max-width: 425px) {
    .popup {
        max-width: 100%;
        padding: 20px;     
        height: 100%;
        margin: 0;
    }
}
@media only screen and (min-width: 1290px) and (max-width: 1366px) {
    .content{

        overflow-y: scroll;
        
    }
}

@media only screen and (min-width: 1290px) and (max-width: 1366px) {
    .popup{
        max-height: 480px;        
    }
}


@media only screen and (min-width: 426px) and (max-width: 1024px) {
    .popup {
        max-width: 50%;
        
    }
}


  .popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: black;
  }
  .popup .close:hover {
    color: #fea127;
  }
  @media only screen and (max-width: 425px) {
    .popup .close{
        top: 0;
        right: 10px;
        }
    }

  .content {
    overflow: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: row;
  }

  @media only screen and (min-width: 1px) and (max-width: 1024px) {
    .content {  
        flex-direction: column;
        margin-bottom: 32px;
        
    }
}

  .content div {
    flex-direction: column;
    display: flex;  
    width: 50%;
  }

  .popuplink {
    text-decoration: none;
    padding: 0 8px 16px 0;
    font-size: 18px;
    color: black;
    width: 240px;
    border-radius: 8px;
    font-family: "Inter", serif;
    transition: all 0.3s ease-in-out;
  }

  .popuplink:hover {
    transition: all 200ms;  
    color: #FEB327;
    transform: translateX(5px);
  }

  .popup h2 {
    font-size: 48px;
    margin: 0 0 32px 0;
  }
  @media only screen and (max-width: 425px) {
    .popup h2{
        margin-top: 24px;
        }
    }

  .popuplink span {
      color: gray;
      font-size: 14px;
  }

  .popup2 {
    padding: 40px;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    height: 100%;
    color: white;
    position: relative;
    transition: all 5s ease-in-out;
  }
  @media only screen and (max-width: 425px) {
    .popup2 {
        max-width: 100%;
        height: 100%;
        margin: 0;
    }
}

  .popup2 .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: black;
  }
  .popup2 .close:hover {
    color: #fea127;
  }
  @media only screen and (max-width: 425px) {
    .popup .close{
        top: 0;
        right: 10px;
        }
    }

  .popup2 .content {
    overflow: auto;
    display: flex;
    flex-direction: column;
  }

  .popuplink2 {
    text-decoration: none;
    font-size: 18px;
    color: white;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    width: 100%;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(40px);


  }

  .popuplink2:hover {
    transition: all 200ms;  
    color: #FEB327;
    transform: translateX(5px);
  }

  .content .headerlink {
      margin: 0;
  }

  .popup2 .content * {
      gap: 24px;
      display: flex;
      margin: auto;
  }


/* Refe Deepseek Menu */

.menu-button {
    background: #000;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    z-index: 100;
    border-radius: 5px;
}

.popup-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.menu-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
}

.menu-option {
    color: white;
    text-decoration: none;
    font-size: 20px;
    padding: 15px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #333;
    transition: background-color 0.3s;
}

.menu-option:last-child {
    border-bottom: none;
}

.menu-option:hover {
    background-color: #333;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
}