/* fuente logo */
@font-face {
    font-family: 'roustel';
    src: url(/Fonts/roustel/Roustel.ttf);
}

/* ===== Loader ===== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #789C8C;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
  
.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #abc7ba;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== General ===== */
*, body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-decoration: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

hr {
    visibility: hidden;
}

a {
    font-family: 'Montserrat', sans-serif;
    color: #000;
}
/* ===== NavBar ===== */

/* ===== Colours ===== */
:root{
    --body-color: #D9E2E9;
    --nav-color: #abc7ba;
    --side-nav: #abc7ba;
    --text-color: #000;
    --search-bar: #3D3D3D;
    --search-text: #010718;
    --color-side: white;
    --submenu: #d4e1db;
}

body{
    height: 100vh;
    background-color: var(--body-color);
    max-width: 100%;
    font-family: "Montserrat", sans-serif;
}

nav{
    position: fixed;
    top: 0;
    left: 0;
    height: 70px;
    width: 100%;
    background-color: var(--nav-color);
    z-index: 100;
    font-family: 'Montserrat', sans-serif;
}

body.dark nav{
    border: 1px solid #393838;
}

nav .nav-bar{
    height: 100%;
    max-width: 100%;
    width: 100%;
    background-color: var(--nav-color);
    margin: 0 auto;
    padding: 1rem 30px;
    display: flex;
    justify-content: space-between;
}

.sidebarOpen__container {
    position: relative;
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;

}

nav .nav-bar .sidebarOpen{
    color: var(--text-color);
    width: 30px;
    padding: 5px;
    cursor: pointer;
    display: none;
}

.dropdown__check {
    position: absolute;
    height: 100%;
    width: 100%;
    opacity: 0;
}

nav .nav-bar .sidebarClose{
    color: var(--text-color);
    width: 30px;
    padding: 5px;
    cursor: pointer;
}

nav .nav-bar .logo a {
    font-size: 25px;
    font-weight: 500px;
    color: var(--text-color);
    text-decoration: none;
    font-family: "roustel";
}

nav .nav-bar .sidebarOpen {
    color: var(--text-color);
}

.menu .logo-toggle{
    display: none;
}
.nav-bar .nav-links{
    display: flex;
    align-items: center;
}
.nav-bar .nav-links li{
    margin: 0 5px;
    list-style: none;
    margin-inline: 10px;
}
.nav-links li a{
    position: relative;
    font-size: 17px;
    font-weight: 400;
    color: var(--text-color);
    text-decoration: none;
    padding: 10px;
}
.nav-links a::before{
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background-color: var(--text-color);
    opacity: 0;
    transition:  0.3s ease;
}
.nav-links a:hover::before{
    opacity: 1;
}

.dark-light.active body {
    color: #fff;
}

.arrow {
    transition: ease 0.2s;
    border: solid var(--text-color);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    margin-inline-start: 5px;
    transform: rotate(-135deg);
}

.bar-desplegable-cont:hover .down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

/* SubMenu */
#submenu {
    transition: none;
    opacity: 0;
    position: absolute;
    top: 35px;
    visibility: hidden;
    height: 0;
    z-index: 1;
    overflow: hidden;
    background-color: var(--submenu);
    border-radius: 5px;
    transition:  0.5s ease-in-out;
    padding-bottom: 10px;
}

#submenu a{
    opacity: 0;
    visibility: hidden;
}

li:hover ul#submenu a {
    opacity: 1;
    visibility: visible;
}
 
.nav-links {
    position: relative;
    display: flex;
}

.nav-links a {
    display: block;
    text-align: center;
    padding: -15px 55px;
}

li:hover ul#submenu{
    opacity: 1;
    top: 45px;
    visibility: visible;
    height: auto;
}

#submenu li {
    float: none;
}

/* ===== Media NavBar ===== */
@media screen and (max-width: 910px) {
    nav .nav-bar .sidebarOpen{
        display: block;
    }
    .menu{
        position: fixed;
        height: 100%;
        width: 320px;
        left: -180%;
        top: 0;
        padding: 20px;
        background-color: var(--side-nav);
        z-index: 100;
        transition: 0.45s ease;
    }
    nav.active .menu{
        left: -0%;
    }
    nav.active .nav-bar .navLogo a{
        opacity: 0;
        transition:  0.3s ease;
    }
    .menu .logo-toggle{
        display: block;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .logo-toggle .siderbarClose{
        color: var(--text-color);
        font-size: 24px;
        cursor: pointer;
    }
    .nav-bar .nav-links{
        flex-direction: column;
        padding-top: 30px;
    }
    .nav-links li a{
        display: block;
        margin-top: 20px;
        padding-bottom: 10px;
    }
    /* SubMenu */
    #submenu {
        position: relative;
        margin-top: 5px;
        border-radius: 5px;
        border-color: #000;
        background-color: var(--submenu);
        padding-bottom: 10px;
        box-shadow: 5px 5px 2px 10px var(--submenu);
        overflow-y: auto;
        transition:  0.5s ease-in-out;
    }
    li:hover ul#submenu {
        opacity: 1;
        top: 0;
        visibility: visible;
        height: auto;
    }
}


main {
    margin-top: 4.3rem;
    font-family: "Montserrat", sans-serif;
    
}

#title {
    padding-block: 25.5rem;
}

#header{
    background-image: linear-gradient(180deg, #abc7ba 15%, #789c8c 85%);
    margin-block: -69px;
}

#title{
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-inline: 1rem;
}

@media screen and (max-width: 500px) {
    #title {
        padding-block: 20rem;
    }
}

#aporte {
    background-color: #F6F8F9;
    box-shadow: #000;
}

#aporte h2{
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.2rem;
    padding-block: 2rem;
    margin-inline: 1rem;
}

@media screen and (max-width: 500px) {
    #aporte h2{
        font-size: .9rem;
    }
}

#cloud_h {
    display: flex;
    margin: 0;
}

#cloud_l {
    display: flex;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 3rem;
}

article {
    display: grid;
    justify-content: center;
    align-items: center;
}

article div {
    margin-block: 3rem;
}

article h2 {
    font-size: 2rem;
}

article h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

article p{
    font-size: 1rem;
}

article section {
    padding: 1rem;
    padding-inline: 18%;
    max-width: 1200px;
}

@media screen and (max-width: 950px) {
    article section {
        padding-inline: 5%;
    }
}

article img {
    margin: 15px;
    text-align: center;
}

article p{
    text-align: start;
}


#divgotop{
    display: grid;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 1.5rem;
}

#gotop {
    width: 15px;
}

.socials {
    font-size: 2rem;
    margin: 5px;
    transition: 0.3s;
    fill: #fff;
}

.socials svg {
    width: 1.5rem;
}


#instagram {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#instagram a {
    color: #fff;
    text-decoration: none;
    text-align: center;
    align-items: center;

}

#instagram a:hover {
    scale: 1.05;
}

#instagram svg:hover {
    scale: 1.05;
}

footer {
    background-color: #000;
}

footer div {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: #fff;
    margin: 0;
}

#bottom {
    display: grid;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.bottom_a {
    color: #fff;
    font-size: large;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
}

.shop_overall {
    text-align: center;
    align-items: center;
}

.shop {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.productos-container {
    display: flex;
    justify-content: space-around;
    flex-wrap:nowrap;
    font-family: 'Montserrat';
}

.producto {
    max-width: 500px;
    margin: 20px;
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.producto h2 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 1vw;
}

.producto img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.producto .descripcion {
    color: #555;
}

.producto .precio {
    color: #0092BD; 
    font-weight: bold;
    margin-top: 10px;
}

.boton-comprar {
    display: block;
    text-align: center;
    padding: 10px;
    background-color: #0092BD; 
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.boton-comprar:hover {
    background-color: #0062BC; /* Color naranja oscuro al pasar el ratón */
}

.btn-solo {
    margin-top: -45px;
}

/* Media query para hacerlos responsivos */
@media screen and (max-width: 1000px) {
    .productos-container {
        flex-direction: column; /* Cambia a disposición de columna */
        align-items: center; /* Centra los elementos en la columna */
    }

    .producto {
        flex: 0 0 80%; /* Ancho del 80% para ocupar más espacio en la columna */
    }
}

#btn-ver-mas {
    width: 100%;
}

.boton-ver-mas {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0092BD; /* Color azul */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Montserrat';
    font-size: 1em;
    transition: background-color 0.3s ease;
    margin-inline: 20%;
}
.boton-ver-mas #svg {
    margin-left: 5px;
    width: 15px;
}


.boton-ver-mas:hover {
    background-color: #0062BC; /* Color azul oscuro al pasar el ratón */
}

section div img {
    width: 100%;
    max-width: 650px;
}

@media screen and (max-width: 1000px) {
    h1 {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 650px) {
    h1 {
        font-size: 2rem;
    }
}

#form {
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

.formulario {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: block;
    padding: 20px;
}

.formulario h2{
    font-size: 2rem;
    margin-bottom: 15px;
}

.formulario input,
.formulario textarea {
    width: 100%;
    max-width: 800px;
    padding: 8px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: none;
    font-family: inherit;
}

.formulario button {
    background-color: #0092BD;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
}

.formulario button:hover {
    background-color: #0062BC;
}


.ad {
    justify-content: center;
    align-items: center;
    text-align: center;
}