body {
    margin: 0;
    font-family: 'Noto', sans-serif;
    background-color: #f5f5f5;
    touch-action: auto;
    overflow-y: auto;
}
/*-----------------------------NAV BAR----------------------------------------*/
nav {
    min-width: 500px;
    background-color: white;
    padding: 15px 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    height: 50px;
    width: auto;
    position: relative;
}
.menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 2px;
    width: 100%; /* Always visible */
    background-color: black;
}
.menu a.active{
    color: #052a39; 
    font-weight: bold;
}
.menu li {
    margin: 0 20px;
}
.menu a {
    text-decoration: none;
    color: #052a39;
    font-size: 1em;
    position: relative;
    font-weight: normal;  
}
.menu a:hover {
    color: #052a39; 
     /* El texto se vuelve negrita al pasar el rat�n */
}
.menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 2px;
    width: 0;
    background-color: black;
    transition: width 0.3s ease;
}
.menu a:hover::after {
    width: 100%;
}
/*-----------------------------GRIDMENU-1----------------------------------------*/
.list {
    
    justify-content: center;   /* Centers horizontally */
     /* Full viewport height */
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: minmax(350px, auto);
    gap: 20px;
}
.image {
    height:100%;
    width: auto;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}
.textbox{
    position: absolute;
    
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    z-index: 2; /* Ensures text is above image */
    padding: 5% 0;
    width: calc(var(--stored-width) - 10%);
    color: white;
}
.item-1{
    grid-row: span 1;
    grid-column: span 1;
    position: relative;
    display:grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
  
}
.item-2{
    grid-row: span 1;
    grid-column: span 1;
    position: relative;
    display:grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    justify-items: center;
    align-items: stretch;
}
.item-3{
    grid-row: span 1;
    grid-column: span 1;
    position: relative;
    display:grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    justify-items: center;
    align-items: stretch;
}
.item-1 {
    transition: transform 0.3s ease-in-out; /* Suaviza el crecimiento */
}

.item-1:hover {
    transform: scale(1.02); /* Aumenta el tamaño en un 20% */
}
.item-2 {
    transition: transform 0.3s ease-in-out; /* Suaviza el crecimiento */
}

.item-2:hover {
    transform: scale(1.02); /* Aumenta el tamaño en un 20% */
}
.item-3 {
    transition: transform 0.3s ease-in-out; /* Suaviza el crecimiento */
}
.item-3:hover {
    transform: scale(1.02); /* Aumenta el tamaño en un 20% */
}
/*-----------------------------GRIDMENU-2----------------------------------------*/
.list-2 {
    width: 60vw;
    justify-content: center;   /* Centers horizontally */
     /* Full viewport height */
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: minmax(350px, auto);
    gap: 20px;
}
.image-2 {
    height:auto;
    width: 100%;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}
.textbox-2{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; /* Ensures text is above image */
    padding: 5% 0;
    width: calc(var(--stored-width2) - 10%);
    color: white;
}
.grid2item-1{
    grid-row: span 1;
    grid-column: span 1;
    position: relative;
    display:grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
  
}
.grid2item-2{
    grid-row: span 1;
    grid-column: span 1;
    position: relative;
    display:grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    justify-items: center;
    align-items: stretch;
}
.grid2item-3{
    grid-row: span 1;
    grid-column: span 1;
    position: relative;
    display:grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    justify-items: center;
    align-items: stretch;
}
.grid2item-1 {
    transition: transform 0.3s ease-in-out; /* Suaviza el crecimiento */
}

.grid2item-1:hover {
    transform: scale(1.02); /* Aumenta el tamaño en un 20% */
}
.grid2item-2 {
    transition: transform 0.3s ease-in-out; /* Suaviza el crecimiento */
}

.grid2item-2:hover {
    transform: scale(1.02); /* Aumenta el tamaño en un 20% */
}
.grid2item-3 {
    transition: transform 0.3s ease-in-out; /* Suaviza el crecimiento */
}
.grid2item-3:hover {
    transform: scale(1.02); /* Aumenta el tamaño en un 20% */
}
/*-----------------------------GRID FOR TEXT----------------------------------------*/
.productcontainer-4{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-auto-rows: minmax(350px, auto);
    margin: 30px 10%;
    gap: 30px ;
}
.grid4item-1{
    grid-column: span 1;
    grid-row: span 1;
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: auto;
}
.grid4item-2{
    grid-column: span 2;
    grid-row: span 1;
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: auto;
}
.imagegrid-4{
    grid-column: span 1;
    grid-row: span 1;
    width:100%;
    justify-self: center;
    align-self:center;
}
.textbox-4{
    grid-column: span 2;
    text-align: center;
    margin: 10% 10%;
    justify-self: center;
    align-self: center;
}
/*-----------------------------BANNERS----------------------------------------*/
.banner-1{
    display: grid;
    grid-template-rows: 100%;
    grid-template-columns: repeat(1, auto);
}
.banner-img{
    width: 100%;
    height: auto;
    display: block;
    min-width: 500px;
    grid-area: 1/1/1/1;

}
.opacity {
    width: 100%; /* Adjust size as needed */
    height: 100%;
    background-color: rgba(0, 26, 37, 0.484);
    grid-area: 1/1/1/1;
}
.title-1{
    color: #f5f5f5;
    text-align: center;
    grid-area: 1/1/1/1;
    justify-self: center;
    align-self: center;
}
/*-----------------------------STYLES----------------------------------------*/
.quote-1{
    color: #31505f;
    text-align: center;
}
.underline{
    text-decoration: underline;
}
.left{
    text-align: left;
    max-width: 150px;
    margin: 0 auto;

}
.color{
    border-color: #052a39;
}
.margin10{
    margin: 0 10%;
}
.image-3{
    margin:10px 0;
    width: 30vw;
}
/*-----------------------------SINGLE TEXTBOX----------------------------------------*/
.textbox-3{
    margin: 0 30%;
    text-align: center;
    color: #052a39;
}
.textbox-3 a{
    text-decoration-color: #052a39;
    color: #052a39;
}
/*-----------------------------FOOTER----------------------------------------*/
footer {
    background-color: #052a39;
    color: white;
    text-align: center;
    padding: 10px;
    bottom: 0;
    width: 100%;
    min-width: 500px;
}
.foot{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    grid-auto-rows: auto;
}
.contacto-foot{
    grid-row: span 1;
    grid-area: span 1;
}
.cotizaciones-foot{
    grid-row: span 1;
    grid-area: span 1;
}
.atencion-foot{
    grid-row: span 1;
    grid-area: span 1;
    border-color:aqua;
}
.copy{
    text-align: center;
}

.foot a{
    color: aqua;
}