body{
    font-family: sans-serif;
    box-sizing: border-box;
    width: 100vw;
    padding: 0;
    height: fit-content;
    background-image: url(../../Imagenes/Fondo.jpg);
    background-size:cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-attachment: fixed;
    box-sizing: border-box;
    margin-top: 50px;
    overflow-x:hidden ;
    margin-left: -4px;
}
nav{
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    box-sizing: border-box;
}
.back__link{
    width: 100%;
}
.galeria__nav__container{
    width:30px;
    height: 30px;
    box-sizing: border-box;
    background-image: url(../../Icons/Back.jpg);
    background-size: cover;
    border-radius: 10px;
    position: fixed;
    z-index: 999;
    top:2px;
    right: 15px;
    margin: 0;
}
.navigator{
    position: fixed;
    z-index: 800;
    top: 0px;
    left: 0px;
    margin: 0;
    list-style: none;
    padding: 12px 0px;
    padding-right: 40px;
    background-color: black;
    display:flex;
    flex-direction: row;
    gap:16px;
    align-items: start;
    width: 100%;
}
.nav__item{
width: 80%;
padding: 0;
padding-left: 10px;
width: fit-content;
transition: 0.15s;
color: whitesmoke;

}
.nav__item:is(:active,:hover){
    scale: 1.1;
    text-decoration: underline;
}
.nav__item__text{
color: whitesmoke;
margin: 0 auto;
text-decoration: none;
}
#barberia{
width: 100%;
padding: 0;
box-sizing: border-box;
position: relative;
left: 0px;
}
.catalogo__tittle{
text-align: center;
color: white;
}
.barber__tittle{
    color: #97c60b;
    text-align: center;
}
.barber__container{
    position: relative;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    margin: 0;

}
.card{
    display: flex;
    justify-content: center;
    width: 100vw;
    margin: 10px auto;
    padding: 10px 0;
    height: fit-content;
    transition: 0.3s;
    
    
}
.card-toggle {
    position: absolute;
    opacity: 0;
    
}

.img{
    border-radius: 10px;
    box-shadow: 0 0 8px rgb(0, 0, 0);
    border: 1px solid rgb(0, 0, 0);
    width: 300px;
    transition: 0.3s;

}
.card-toggle:checked ~ .img {
    width: 90vw;
    
}
#cortes{
    margin-top: 60px;
}
@media screen and (min-width:700px){
.barber__container{
    position: relative;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    margin: 0;

}
.card{
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 10px auto;
    padding: 10px 0;
    height: fit-content;
    transition: 0.3s;
    
    
}
.img{
    border-radius: 10px;
    box-shadow: 0 0 8px rgb(0, 0, 0);
    border: 1px solid rgb(0, 0, 0);
    width: 300px;
    transition: 0.3s;

}
.card-toggle:checked ~ .img {
    transition: 0.3s;
    height: 80vh;
    width: fit-content;
    
}


}