@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/d/Cormorant-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/d/Cormorant-SemiBold.ttf') format('truetype');
    font-weight: 500;
 
}

@font-face {
    font-family: 'Source sans pro';
    src: url('../fonts/SourceSansPro/SourceSansPro-Regular.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Source sans pro';
    src: url('../fonts/SourceSansPro/SourceSansPro-Regular.otf') format('truetype');
    font-weight: 400;
    font-style: normal;
}




html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    width: 100%;
    margin: auto;
    box-sizing: border-box;
    font-family: "Cormorant", sans-serif;
}

* {
    box-sizing: border-box;
}


header {
    width: 100%;
    background: black;
}

.navMobile {
    display: none;
}

.slider {
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    height: 90vh;
 
    min-height: 700px; /* Reserva el espacio necesario */
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column;
}

.header-effect {
    position: absolute;
    width: 100vw;
    height: 70vh;
    top: 0;
    background-image: url('../images/HEADER-EFFECT.webp');
    z-index: 1;
    background-size: cover;
}

.overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    position: absolute;
    background: black;
}

.list {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    width: 100%;
    max-width: 300vw;
    transition: 800ms ease-in-out;
}

.list .item {
    width: 100vw;
    display: flex;
    flex: 1 0 100%;
    max-width: 100vw;
    height: 100%;
}

.list img {
    width: 100vw;
    max-width: 100vw;
    height: 100%;
    object-fit: cover;
    opacity: .95;
}



.buttons {
    display: none;
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
}

.buttons button {
    display: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff6;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

.dots {
    position: absolute;
    bottom: 10px;
    color: #fff;
    left: 0%;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.dots li {
    list-style: none;
    width: 10px;
    height: 10px;
    background: #fff;
    margin: 20px;
    border-radius: 20px;
    transition: 800ms ease-in;
    cursor: pointer;
}

.dots li.active {
    width: 30px;
}

.slider .navWeb {
    
    z-index: 19;
    padding-top: 3svb;
    width: 80%;
    align-self: center;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
}

.icon {
    display: flex;
    height: 100%;
}

.mobileIcon {
    display: none;
}

.icon img {
    height: 100%;
    width: 80%;
}

.navWeb ul {
    display: flex;
    justify-content: CENTR;
}

.navWeb ul li {
    width: 100%;
    height: 100%;
    list-style: none;
}

.navWeb ul li a {
    z-index: 30;
    display: inline-block;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 20px;
    color: white;
    text-decoration: none;
    height: 100%;
    font-size: 1.6rem;
}

.navWeb ul li:nth-child(2) a {
    border-right: 2px solid white;
    border-left: 2px solid white;
}

.second-nav {
    display: flex;
    column-gap: 20px;
}

.nav-container {
    width: 500px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.links {

    display: flex;
    align-items: center;
}
.lan a {
    display: inline-block;
    border-radius: 100px;
    width: 50px;
    height: 50px;
    background-image: url('../images/Eng.webp');
    background-size: contain;
}


.contacto {
    border: none;
}

.hero {
    overflow: hidden;
    padding-top: 20px;
    height: 80%;
    z-index: 2;
    width: 80%;
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: center;
}

.title {
    color: white;
    margin-top: 40px;
    font-size: 8rem;
    font-weight: 100;
    font-family: "Cormorant", serif;
    font-optical-sizing: auto;
    text-shadow: 6px 2px 8px rgba(0, 0, 0, .64);

}

.hero h2 {
    margin-top: -100px;
    color: white;
    font-size: 5rem;
    line-height: 59px;
    font-family: 'Source sans pro';
    font-weight: 400;
    text-shadow: 6px 2px 8px rgba(0, 0, 0, .64);

}

.contactUs {
    padding: 10px 24px;
    font-size: 1.6rem;
    font-weight: 400;
    border: 1px solid white;
    border-radius: 8px;
    color: white;
    text-decoration: none;
}

.carousel {
    width: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carousel span {
    margin-top: 180px;
    display: inline-block;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 20px;
}

#condominios-section {


    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url('../images/SECTIONBACKGROUND.webp');
}

#condominios-section  .info-text {

    width: 80%;
    display: flex;
    align-items: end;
    justify-content: center;
    margin: auto;
    column-gap: 30px;
 
}

.info-text .desc {
    font-size: 1.55rem;
    font-weight: 500;
    width: 40%;
    margin-bottom: 30px;
    color: #22485F;
    font-family: 'Cormorant';
}


.slogan {


    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: center;

    font-size: 2.8rem;
    color: white;
    padding-right: 130px;
}

.slogan div img{
    width: 500px;
}

#golf-section {
    margin-top: 30px;
    margin-bottom: -50px;
    width: 100%;
   
    min-height: 50vh;
    display: flex;
    justify-content: space-between;
}

.golf-info {
  
    width: 100%;  
    
}

.golf-info div {
    max-width: 620px;
}

/* golf slider */

.first-golf{
    padding: 20px;
    width: 900px;
 
 
}
 .carousel-container {
    padding: 30px;
  
    position: relative;
    top: -80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    max-height: 600px;
    height: 100%;
    width: 100%;
    overflow: hidden;
    max-width: 600px;
 
    border: 2px solid #967b2f;
 }


 
 .carousel {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
 }

 
 
 .carousel-images {
    display: flex;
    overflow: hidden; 

 }
 
 .carousel-image {
    transition: all .9s;
    width: 100%;
 
    
    transform: translateX(0);
    object-fit: cover; 
 }
 
 .btn-left, .btn-right {
    height: 3rem;
    width: 3rem;
    border-radius: 50%;
    background: none;
    border: none;
    position: absolute;
    cursor: pointer;

    transition: all .25s;
    z-index: 1;
    margin: 0px 30px;
 }

.btn-left::before, .btn-right::before {
    content: '';
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    border: solid #fff; /* Color de la flecha */
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 0.25rem;
    transform-origin: center;

    transition: transform 0.25s ease;
}

/* Flecha hacia la izquierda */
.btn-left::before {
    transform: rotate(135deg); /* Rotar para formar "<" */
    left: 1rem; /* Ajusta la posición horizontal de la flecha */
    top: 50%; /* Centrar verticalmente */
    transform: translateY(-50%) rotate(135deg); /* Centrar y rotar */
}

/* Flecha hacia la derecha */
.btn-right::before {
    transform: rotate(-45deg); /* Rotar para formar ">" */
    right: 1rem; /* Ajusta la posición horizontal de la flecha */
    top: 50%; /* Centrar verticalmente */
    transform: translateY(-50%) rotate(-45deg); /* Centrar y rotar */
}
 

 
 .btn-left {
    top: 50%;
    left: -1.5rem;
    transform: translateY(-50%);
 }
 
 .btn-right {
    top: 50%;
    right: -1.5rem;
    transform: translateY(-50%);
 }
 
 .icon-left, .icon-right {
    font-size: 2rem;
    color: white;
 }
 
 .carousel-dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
 }
 
 .dot {
    display: inline-block;
    height: 10px;
    width: 10px;
    margin: 0 5px;

    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
 }
 
 .dot.active {
    background-color: #82a9b0;
 }
 
.golf-info {
    margin-left: -130px;
    margin-top: 80px;
}

.golf-info div {


    width: 80%;
  

}

.golf-info div .golf-desc {
    margin-top: -40px;
    font-family: "Cormorant";
    font-weight: 500;
    width: 100%;
    font-size: 1.6rem;
    
}

.golf-info div .golf-title {
    width: 100%;
    
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.golf-title div {
   
    width: 100%;
}
.golf-title div h2 {
    font-family: 'Cormorant';
    color: #22485F;
    flex-shrink: 1; 
    font-size: 3rem;
    font-weight:400;
    font-weight: bold;
   
}

.golf-icon {
    display: flex;
    justify-content: end;
}





.golf-slider {
    position: relative;
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrapper {
    position: absolute;
    top: -40px;
    padding: 10px;
    border: 2px solid rgb(180, 149, 13);
}

#images-section {
    margin-block-start: auto;
    overflow: hidden;
    max-width: 100%;
    width: 100%;
     height: 60vh;
    display: flex;
    column-gap: 10px;
    align-items: center;
    justify-content: space-between;

}

.image-cont:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-cont:last-child {
    width: 100%;
    height: 60vh;
    object-fit: cover;
}


.image-cont img {
    width: 100%;
    height: 100%;
}

#contact-section {
    margin-top: -5px;
    width: 100%;
    min-height: 90vh;
   
    background-image: url("../images/ARTICLE-BACKGROUND.webp");
    background-size: cover;
}


.contact-form {
    font-family: 'Cormorant';
    max-width: 1000px;
    display: flex;
    column-gap: 40px;
    align-items: start;
    justify-content: center;
    width: 80%;
    margin: auto;
}

.contact-form div {
 
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    row-gap: 10px;
    font-size: 1.6rem;
    column-gap: 10px;
}
.contact-form div:first-child {
    width: 30%;
}

.contact-form div:last-child {
    width: 40%;
}

.contact-form div label {
    color: black;
    font-weight: 400;
}

.contact-form div select {
    padding: 5px 10px;
    margin: 5px 0;
}

.contact-form div input {
    padding: 8px 10px;
    background: none;
    border: none;
    border-bottom: 2px solid black;
}
.contact-form div input:focus {
    outline: none;

}


footer {
    width: 100%;
    min-height: 50vh;
    background-image: url("../images/footer-background.webp");
    background-size: cover;
}

.footer-cont {
    display: flex;
    width: 100%;
    margin: auto;
    align-items: center;
    justify-content: space-around;
    color: white;
}

.footer-desc {
    font-size: 1rem;
   
    padding: 50px;
    display: flex;
    column-gap: 50px;
    align-content: center;
}

.footer-border  {
    border-right: 1px solid white;
}

.contacto-links div {
    display: flex;
    flex-direction: column;
}

.contacto-links div a {
    color: white;
    text-decoration: none;
}

.footer-title {
    font-weight: bold;
    margin-bottom: -10px;
}

.second-nav .es-flag a {
    background-image: url('../images/ES.webp');
}

@media (max-width: 1660px ) {
    .golf-info div {
        width: 100%;
        margin-left: 0px;
    }


    .golf-title .golf-title-cont h2 br {
        display: none;
    }

    .golf-info {
        margin-left: -200px;
        margin-top: 20px;
    }
    
}


@media  (max-width : 1322px) {
    .slogan div img {
        width: 340px;
    }
    .info-text .desc {
        width: 100%;
        font-size: 1.1rem;
    }
    .golf-info {
        margin-left: 70px;
        margin-top: 20px;
    }
    .golf-slider {
        
        width: 40%;

    }

    .golf-title div h2 {
 
        font-size: 2.2rem;
        font-weight: 400;
    }

    #images-section {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100vw;
        height: auto;
        
    }

    #images-section picture {
        width: 100%;
      
    }

    #images-section picture img {
        width: 100%;
        object-fit: cover;
        height: auto;
    }

    #images-section picture:last-child {
        margin-top: -4px;
    }
  
    .contact-form {
        max-width: 100%;
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-bottom: 100px;
    }

    .contact-form div:first-child {
        width: 50%;
    }

    .contact-form .div-last-child{
        width: 50%;
    }

    .contact-form div select {
        padding: 8px 10px;
        margin: 5px 0;
    }
    .footer-cont {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .footer-icon {
        padding-top: 40px;
    }

    .footer-desc {
        padding-top: 50px;
        padding-bottom: 140px;
        margin: auto;
        align-self: center;

        width: 100%;
        justify-content: center;
        flex-direction: column;
        text-align: center;        
    }
}


@media (max-width:1190px) {
    .golf-info {
        margin-left: 20px;
        margin-top: 20px;
    }
}
 
@media  (max-width : 1084px) {

    .golf-slider {
        width: 50%;
        margin-top : 40px;
        
    }
    .golf-slider .first-golf {
      
        width: 100%;
       
    }
    .golf-slider .first-golf .carousel-container{
        width: 100%;
        max-width: 100%;
    

    }

    .golf-slider .first-golf .carousel-container .carousel .carousel-images img {
        width: 1100px;
        object-fit: cover;
        max-width: 100%;
        
    }

    .golf-title {
        
        width: 100%;
    }
    .golf-title div {
       
        width: 100%;
    }

    .btn-left, .btn-right {
        height: 6rem;
        width: 6rem;
        margin: 0px 40px;
    }
    .btn-left::before, .btn-right::before {
        height: 1rem;
        width: 1rem; 
    }


    .carousel {
        height: auto;
    }
    .footer-border  {
        border-right: none;
    }
    
    
    .info-text .slogan {
        padding-right: 0;
        margin: auto;
    }

    .info-text .desc {
        
        margin: auto;
        width: 80%;
        padding-bottom: 80px;
        text-align: center;
        color: #22485F;
    }
    .info-text {
        padding-top: 40px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #22485F;
    }
    #golf-section {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
      
    
    }

    .wrapper {
        top: -50px;
        
    
    }

    .golf-info {
        margin-top: 0px;
        width: 100%;
        
        margin-bottom: 0px;
    }

    .golf-info div {
       margin-left: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: auto;
        max-width: none;
        
        
   }

    .golf-info div .golf-title {
        
        justify-self: center;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        padding: 0;
        margin-bottom: 70px;
        margin-top: -50px;
        }

    .golf-info div .golf-title div h2 {
        font-size: 4rem;
    
        width: 100%;

    }

    .golf-info div .golf-title div h2 br {
        display: none;
    }

    .golf-info {
        margin: auto;
       

    }
    .golf-info div {
        width: 100%;
        margin: auto;
    }


    .golf-icon {
        padding-bottom: 20px;
    }
    .golf-icon img {
        width: 140px;
    }
    .golf-info div .golf-desc {
      
        width: 70%;
        font-size: 2.3rem;
        text-align: center;
        margin: auto;
        padding-bottom: 200px;
    }

    .golf-slider {
        width: 60%;
        margin-top : 40px;
    }
    #condominios-section .info-text {
        width: 100%;
    }
    .info-text .desc {
        width: 80%;
     }
    .principal article {
        flex-direction: column;

        justify-content: center;
        align-items: center;
    }

    .principal-title {
        width: 60%;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding: 0;
        margin: 0;
   

    }

    .principal-title p  {
    
        padding: 0;
        margin: 0;

    }

    .services-section {
  
        width: 90%; 
        padding-bottom: 100px;
    }

    .service {
        margin-top: 4%;
    }

    .service-hover {
        height: 300px;
    }

    .footerCont {
        width: 70%;
        flex-direction: column;
        align-items: center;
        justify-content: start;
    }

    .footerIcons {
        padding-left: 15px;
      
        width: 100%;

    }

    .logoImage {
        margin-left: 2px;
    }

    
    .footerIcons {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-right: -2px;
    }

    
    .footerIcons::before {
    content: '';
    position: relative;
    width: 100%;
    height: 2px; /* Altura de la línea blanca */
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.811) 50%, transparent), 
                linear-gradient(to left, transparent, rgba(255, 255, 255, 0.646) 50%, transparent);

    top: 220px;
    left: 0px;
    transform: translateY(-50%);
}

    .footerIcons .logoImage  {
       padding-bottom: 90px;
    }


    .footerIcons .iconsList {
        margin: 0;
        padding-bottom: 90px;

    }

    .logoImage a {
        margin: 0;
    }


    .footerIcons .iconsList img {
        width: 210px;

    }

    .logoImage img {
        width: 150px;
    }

    .firstRow {
        width: 100%;


    }

    .secondRow {
        width: 100%;
    }

    .networksWeb {
        display: flex;
        flex-direction: column ;
        padding-top: 30px;
        align-self: center;
        width: 90%;
        margin: 0;
        padding: 0;
    }
    .ubication, .tel, .mail {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;

        margin: auto;
    }

   


    .networks {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-top: 20px;
        flex-wrap: wrap;
        width: 60%;
        margin: auto;
    }

    .networks span {    
        display: flex;
        align-items: center;
        justify-content: center;


        padding: 0;
        width: 40%;

    }

    .networks p {
        width: 100%;
    }

 
    

    .carousel-container, .carousel, .carousel-image {
        max-width: 100%; /* Asegura que el ancho no exceda el contenedor en pantallas medianas */
        height: 100%; /* Mantén la altura */
     }
  
     .habitacion, .habitacion:nth-child(2), .habitacion:nth-child(4) {
        flex-direction: column;
        justify-content: center;
        align-items: center;
     }
  
     .habitacion-desc, .habitacion:nth-child(2) > .habitacion-desc, .habitacion:nth-child(4) > .habitacion-desc {
        margin: 0;
        padding: 0;
        margin-top: 70px;
        max-width: 100%;
     }
  
     .habitacion-desc p {
        width: 90%;
        max-width: 100%;
        font-size: 1.5rem;
     }

  
 }




 @media  (max-width : 903px) {
    .title {
        font-size: 7rem;
    }
    .hero h2 {
        font-size: 4rem;
    }
    .mobileIcon {
        display: flex;
        width: 100%;
        align-self: center;
        align-items: center;
        justify-content: center;
    }


    .mobileIcon img {
        width: 50%;
    }

    .slider .navWeb {
        display: none;
    }

    .navMobile {
        display: flex;
        justify-content: space-between;
        z-index: 21;
        background-color: transparent;
        height: 65px;
        width: 100%;
    }

    #menuToggle {
        display: flex;
        flex-direction: column;
        position: relative;
        top: 25px;
        left: 25px;
        z-index: 1;
        -webkit-user-select: none;
        user-select: none;
        width: 40px;
        height: 32px;
    }

    #menuToggle input {
        display: flex;
        width: 40px;
        height: 32px;
        position: absolute;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
    }

    #menuToggle span {
        display: flex;
        width: 29px;
        height: 2px;
        margin-bottom: 5px;
        position: relative;
        background: #ffffff;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 5px 0px;
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.55s ease;
    }

    #menuToggle span:first-child {
        transform-origin: 0% 0%;
    }

    #menuToggle span:nth-last-child(2) {
        transform-origin: 0% 100%;
    }

    #menuToggle input:checked ~ span {
        opacity: 1;
        transform: rotate(45deg) translate(-3px, -1px);
        background: #36383F;
    }

    #menuToggle input:checked ~ span:nth-last-child(3) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    #menuToggle input:checked ~ span:nth-last-child(2) {
        transform: rotate(-45deg) translate(0, -1px);
    }

    #menuToggle input:checked ~ body {
        overflow-y: hidden;
        height: 100%;
    }

    #menu {
        position: fixed;
        width: 100vw;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-shadow: 0 0 10px #85888C;
        margin: -50px 0 0 -50px;
        padding: 50px;
        padding-top: 80px;
        background-color: #F5F6FA;
        -webkit-font-smoothing: antialiased;
        transform-origin: 0% 0%;
        transform: translate(-100%, 0);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    }

    .secondMenu {
        display: flex;
        flex-direction: row;
        width: 50%;
        padding-top: 30px;
        align-items: center;
        justify-content: space-between;
    }

    .networkMenu {
        display: inline-block;
        width: 30px;
        height: 30px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    #facebook {
        background-image: url('../images/blackFacebook.svg');
    }

    #instagram {
        background-image: url('../images/black-instagram.svg');
    }

    #lan-mobile {
        background-image: url('../images/Eng.webp');
    }

    #menu li {
        padding: 10px 0;
        transition-delay: 2s;
        list-style: none;
    }

    #menu li a {
        color: black;
        font-size: 3rem;
        padding-bottom: 10px;
    }

    #menuToggle input:checked ~ #menu {
        transform: none;
    }

    body.menu-open {
        overflow: hidden;
    }
    .slogan {
        padding: 0;
    }

    .golf-info div .golf-title div h2 {
        font-size: 3.2rem;
    }
   
 }

 @media (max-width: 788px) {
    .title {
        font-size: 6rem;
    }
    .hero h2 {
        font-size: 3.5rem;
    }
    .golf-slider {
        width: 80%;
        margin-top : 40px;
    }
    .slider {

        min-height: 10px; /* Reserva el espacio necesario */
        
    }

    .slogan img {
        width: 500px;
    }

    .services-section h3 {
        max-width: 80%;
    }
    .service-hover {
        height: 450px;
    }

    

    .secondMenu {

        width: 50%;

    }



   




  
 }

 @media (max-width: 650px) {
    .icon img {
        width: 100%;
    }
    .golf-slider {
        width: 80%;
        margin-top : 80px;
    }
    .golf-info div .golf-title div h2 {
        font-size: 2.5rem;
    }
    .title {
        color: white;
        font-size: 4.5rem;
        font-weight: 100;
        margin-top: 0px;
    }
    .hero h2 {
        margin-top: -80px;
        font-size: 2.5rem;
    }
  
    .golf-info div .golf-desc {
        width: 90%;
    }

    .golf-icon img {
        width: 90px;
    }
    #images-section {
        margin-top: 130px;
    }
  
     .carousel-container, .carousel, .carousel-image {
        max-width: 100%;
     }
 }

 @media (max-width: 568px) {

    
    body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .slider .hero {
        text-align: center;
        display: flex;
        align-items: center;
    }
    .slider .hero h2 {
        
        margin-top: -80px;
    }

    
    .hero .title {
        font-size: 4rem;
    }

    .golf-icon img {
        width: 100px;
    }   
    .golf-info div .golf-title div h2 {
        font-size: 2.2rem;
    }


    

    .space {
        display: none;
    }

    .golf-info, .golf-info div {
        width: 100%;
    }

    .golf-title {
    
        width: 100%;
    }
    .slogan div img {
        width: 400px;
    }

    .info-text .desc, .golf-desc p {
        font-size: 1.4rem;
    }
    

    .wrapper img {
        width:  270px;
    }

    .golf-title {
        margin-top: -120px;
    }
    .hero h1 {
        font-size: 1px;
    }


    .hero {
        margin-top: 10px;
    }

    .services-cont {
        width: 100%;
        flex-direction: column;
    }

    .service {
        width: 90%;
        margin-top: 70px;
        font-size: 1.5rem;
    }

    .service-title {
        font-size: 1.5rem;
    }

    .service-border {
        top: 140px;
    }

    .service-hover {
        top: 140px;
        height: 350px;
    }

    .service-hover ul li {
        font-size: 1.3rem;
    }

    .services-section h1 {
        font-size: 2rem;
    }

    .notario-section {
        height: 85vh;
    }

    .notario-desc {
        left: 0;
        margin: 0;
        padding: 0;
        right: 0;
        text-align: center;
    }

    #contact-section .contact-form div {
        width: 80%;
    }
}



 @media  (max-width : 480px)  {
    
    .hero .title {
        font-size: 3.4rem;
        padding-bottom: 20px;
    }
    .hero h2 {
        margin-top: -50px;
        color: white;
        font-size: 3rem;

    }

    .slogan div img {
        width: 300px;
    }


  
 }

 @media (max-width: 421px) {
    body {
        max-width: 100vw;
        overflow-x: hidden;
    }
    .hero h2 {
        width: 100%;
        
    }

    .golf-icon img {
        width: 100px;
    }

    .golf-info .golf-desc {
      
        width: 90%;
        margin: auto;
    }

    
    .golf-info div .golf-title div h2 {
        font-size: 1.8rem;
    }
    .space {
        display: none;
    }



    .golf-info, .golf-info div {
        width: 100%;
    }

    .golf-title {

        width: 100%;
    }
    .slogan img {
        width: 200px;
    }

    .wrapper img {
        width:  270px;
    }

    .golf-title {
        margin-top: -120px;
    }


  
    #menu li a {
        font-size: 2.5rem;
    }
    .hero h2  {
        font-size: 2rem;
    }
    .hero  h1{
        font-size: 3rem;
    }

    .principal article {
        width: 80%;
        text-align: center;
    
    }

    .principal-description {
        width: 100%;
        text-align: center;
    }

    .principal-title {
        width: 70%;
    }
    .service-hover {
        height: 450px;
    }
    .notario-section {
        height: 100vh;
    }

    .notario-profile {
        width: 220px;
    }

    .notario-title {
        width: 100%;
    }

    .notario-desc {
        text-align: center;
        margin: auto;
        left:10px;
        right: 0;
        padding: 0;
        
    }


    .service-hover ul li {
        font-size: 1.3rem;
    }
    


    .services-section {
        width: 100%;
    }

    .services-cont {
        width: 100%;
        text-align: center;
    }

    .services-section {
        width: 100%;
        text-align: center;
    }
 }



@media (max-width: 385px) {

    .slider .hero .title {
        font-size: 2.8rem;
    }

    .hero h2 {
        font-size: 2rem;
    }
}




@media (max-width: 320px) {
    .slogan div img {
        width: 200px;
    }
    .slider .hero .title {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 2rem;
    }
}

