:root{
    --verde: #3CA55C;
    --aqua: #4CB8C4; /* Cambiado a minúsculas para consistencia */
}

*{
    margin: 0; padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif; 
    outline: none; border: none;
    text-decoration: none;
    transition: .2s linear; 
}

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    overflow-x: hidden;
}

body{
    overflow-x: hidden;    
}

section{
    padding: 2rem 9%;
}


.slider{
    width: 950px;
    max-width: 100vw;
    height: 890px;
    margin: auto;
    position: relative;
    overflow: hidden;
    flex: 1 1 40rem;
}

.list{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    width: max-content;
    transition: 1s;
}

.list img{
    width: 950px;
    max-width: 100vw;
    height: 100%;
    object-fit: contain;
    border-radius: 20%;
}
.buttons{
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
}

.buttons button{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff5;
    color: #fff;
    border: none;
    font-family: monospace;
    font-weight: bold;
}

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

.dots li{
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: #fff;
    margin: 20px;
    border-radius: 20px;
    transition: 1s;
}

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

.footer{
    padding: 2rem 9%;
}

.heading{
    text-align: center;
    font-size: 4rem;
    color: #333;
    padding: 1rem;
    margin: 2rem 0;
    background: var(--aqua);
    color: #fff;
}
.btn{
    display: inline-block;
    margin-top: 1rem;
    border-radius: 5rem;
    background: #333;
    color: #fff;
    padding: .9rem 3.5rem;
    cursor: pointer;
    font-size: 1.7rem;
}

.btn:hover{
    background: var(--verde);
}

header{
    position: fixed;
    top: 0; left: 0; right: 0;
    background-color: #fff;
    padding: 2rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

header .logo{
    font-size: 3rem;
    color: #333;
    font-weight: bolder;
    text-transform: none; /* Mantiene la "n" en minúsculas */
}

header .logo span:nth-child(1){
    color: var(--verde); /* Color del primer span */
}

header .logo span:nth-child(2){
    color: var(--aqua); /* Color del segundo span */
}

header .navbar a{
    font-size: 2rem;
    padding: 0 1.5rem;
    color: #666;
}

header .navbar a:hover{
    color: var(--aqua);
}

header .icons a{
    font-size: 2.5rem;
    color: #333;
    margin-left: 1.5rem;
}

header .icons a:hover{
    color: var(--aqua);
}

header #toggler{
    display: none;

}

header .fa-bars{
    font-size: 3rem;
    color: #333;
    border-radius: .5rem;
    padding: .5rem 1.5rem;
    cursor: pointer;
    border: .1rem solid rgba(0,0,0,.3);
    display: none;
}

/*Media queries*/

@media (max-width: 1500px){
    .slider{
        width: 800px;
        max-width: 100vw;
        height: 800px;
        margin: auto;
        position: relative;
        overflow: hidden;
       }
    
       .list{
        width: 100%;
        height: 100%;
       }
    
       .list img{
        width: 800px;
        max-width: 100vw;
        object-fit: contain;
       }

       .dots li{
        margin-bottom: 4rem;
    }
}

@media (max-width: 1365px){
    header .fa-bars{
        display: block;
   }

   header .navbar{
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #eee;
        border-top: .1rem solid rgba(0,0,0,.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
   }

   header #toggler:checked ~ .navbar{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
   }

   header .navbar a{
        margin: 1.5rem;
        padding: 1.5rem;
        background: #fff;
        border: .1rem solid rgba(0,0,0,.1);
        display: block;
   }
}

@media (max-width: 1365px){
    html{
        font-size: 55%;
    }
    header{
        padding: 2rem;
    }

    section{
        padding: 2rem;
    }

    .slider{
        width: 800px;
        max-width: 100vw;
        height: 750px;
        margin: auto;
        position: relative;
        overflow: hidden;
       }
    
       .list{
        width: 100%;
        height: 100%;
       }
    
       .list img{
        width: 800px;
        max-width: 100vw;
        object-fit: contain;
       }

       .dots li{
        margin-bottom: 4rem;
    }
}



@media (max-width: 991px){
    html{
        font-size: 55%;
    }
    header{
        padding: 2rem;
    }

    section{
        padding: 2rem;
    }

    .slider{
        width: 900px;
        max-width: 100vw;
        height: 500px;
        margin: auto;
        position: relative;
        overflow: hidden;
       }
    
       .list{
        width: 100%;
        height: 100%;
       }
    
       .list img{
        width: 100;
        height: 100;
        object-fit: contain;
       }

       .dots li{
        margin-bottom: 7rem;
    }

}

@media (max-width: 768px){
   header .fa-bars{
        display: block;
   }

   header .navbar{
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #eee;
        border-top: .1rem solid rgba(0,0,0,.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
   }

   header #toggler:checked ~ .navbar{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
   }

   header .navbar a{
        margin: 1.5rem;
        padding: 1.5rem;
        background: #fff;
        border: .1rem solid rgba(0,0,0,.1);
        display: block;
   }

   .slider{
    width: 750px;
    max-width: 100vw;
    height: 700px;
    margin: auto;
    position: relative;
    overflow: hidden;
    padding-top: 0;
   }

   .list{
    width: 100%;
    height: 100%;
   }

   .list img{
    width: 100;
    height: 100;
    object-fit: contain;
   }

   .dots li{
    margin-bottom: 4rem;
}

}

@media (max-width: 488px){
    .dots li{
        margin-bottom: 17rem;
    }


 
}

@media (max-width: 450px){
    html{
        font-size: 50%;
    }

    .heading{
        font-size: 3rem;
    }
    

    .slider{
        width: 700px;
        max-width: 100vw;
        height: 400px;
        margin: auto;
        position: relative;
        overflow: hidden;
        padding-top: 0;
       }
    
       .dots li{
        margin-bottom: 1.5rem;
    }

}

@media (max-width: 320px){
    .dots li{
        margin-bottom: 4rem;
    }
}


h1{
    padding-top: 100px;
    text-align: center;
    align-items: center;
    font-size: 25px;
}

.heading{
    text-align: center;
    font-size: 4rem;
    color: #333;
    padding: 1rem;
    margin: 2rem 0;
    background: var(--aqua);
    color: #fff;
    margin-top: 9rem;
}

.footer .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
 }

 .footer .box-container .box{
    flex: 1 1 25rem;
 }

 .footer .box-container .box h3{
    color: #333;
    font-size: 2.5rem;
    padding: 1rem 0;
 }

 .footer .box-container .box a{
    display: block;
    color: #666;
    font-size: 1.5rem;
    padding: 1rem 0;
 }

 .footer .box-container .box a:hover{
    color: var(--verde);
    text-decoration: underline;
 }

 .footer .box-container .box img{
    margin-top: 1rem;
 }

 .footer .credit{
    text-align: center;
    padding: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 2.5rem;
    font-size: 2rem;
    color: #333;
    border-top: .1rem solid rgba(0,0,0,.1);
 }

 .footer .credit span {
    color: var(--verde);
 }

 /* style.css */

 /*Icono de wasa*/
.btn-wsp{
    position:fixed;
    width:60px;
    height:60px;
    line-height: 63px;
    bottom:25px;
    right:25px;
    background:#25d366;
    color:#FFF;
    border-radius:50px;
    text-align:center;
    font-size:35px;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.3);
    z-index:100;
    transition: all 300ms ease;
}
.btn-wsp:hover{
    background: #20ba5a;
}
@media only screen and (min-width:320px) and (max-width:768px){
    .btn-wsp{
        width:63px;
        height:63px;
        line-height: 66px;
	}
}