@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

*{
    padding: 0;
    margin: 0;
}
button:focus,
button:active,
a:focus,
a:active,
input:focus,
input:active,
textarea:focus,
textarea:active {
    outline: none;
    box-shadow: none;
}

* {
    -webkit-tap-highlight-color: transparent; /* Eliminar el efecto de resaltado azul en dispositivos táctiles */
}

textarea {
    resize: none;
}

nav{
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 999;
    background-color: white;
    transition: background-color 0.3s ease;
}

nav h1{
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 25px;
    text-align: center;
}

nav a{
    text-decoration: none;
    color: #56585e;
}

.nav-container {
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: space-around;
    align-items: center;
}

.nav-container h1{
    width: 100%;
}

.nav-menu {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.nav-item {
    color: #56585e;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Quicksand", sans-serif;
    font-weight: 400;
    cursor: pointer;
}

.hamburger-lines .line1, .hamburger-lines .line2, .hamburger-lines .line3 {
    transition: transform 0.4s ease-in-out;
}

.line1 {
    transform-origin: 0% 0%;
}

.line2 {
    transition: transform 0.2s ease-in-out;
}

.line3 {
    transform-origin: 0% 100%;
}

input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
}

input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(40deg);
}

input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
}

input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-40deg);
}
 .nav-input{
    display: none;
}

   .nav-menu {
        position:absolute;
        top:80px;
        left:0;
        height:calc(100vh - 80px);
        background-color:white;
        transition:transform .3s,opacity .3s;
        z-index:998;
        overflow:hidden;
        transform:translateY(-120%);
        opacity:0;
        flex-direction:column;
        align-items:center;
        justify-content:center;
    }

    .nav-input:checked~.nav-menu {
        transform:translateY(0%);
        opacity:1
    }

    .nav-item {
        height:70%;
        display: flex;
        align-items:center;
        justify-content:center;
    }
    
    .hamburger-lines {
        width:50px;
        height:30px;
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        gap:5px;
        cursor: pointer;
    }
    .hamburger-lines .line {
        width:30px;
        height:4px;
        border-radius:10px;
        background:#56585e
    }

    
body{
    background: #e8ddd4;
}


main{
    padding-top: 120px;
    padding-bottom: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 50px;
    background: #e8ddd4;
    overflow: hidden;
}

h1{
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 30px;
    text-align: center;
}

.container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
}

form {
    padding: 30px 0;
    width: 90%;
    display: flex;
    align-items: self-start;
    justify-content: center;
    flex-direction: column;
    border-radius: 20px;
    background-color: white;
  }

p{
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #272727;
    margin-left: 20px;
}

input,textarea ,button {
    width: 80%;
    padding: 8px;
    font-size: 1em;
    margin-left: 20px;
  }


  textarea{
    height: 100px;
  }

  button {
    background-color: #e8ddd4;
    color: rgb(0, 0, 0);
    border: none;
    cursor: pointer;
  }

button{
    width: 150px;
    height: 50px;
    border-radius: 50px;
    border: transparent;
    background: #b9947e;
    color: white;
}

button:hover{
    border: 2px #b9947e solid;
    background-color: transparent;
    color: #56585e;
}

#popup {
    display: none; /* Solo ocultar, no sobrescribir display:flex */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #b9947e;
    color: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    z-index: 1000;
}

#popup.show {
    display: flex; /* Mostrar y aplicar flex solo cuando esté visible */
    justify-content: center;
    align-items: center;
}
.btn-ver-comentarios {
    width: 150px;
    height: 50px;
    border-radius: 50px;
    border: transparent;
    background: #b9947e;
    color: white;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
     margin-left: 20px;
}

a{
    text-decoration: none;
}


.btn-ver-comentarios:hover{
    border: 1px #b9947e solid;
    background-color: white;
    color: #56585e;
}

.coments{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 0;
    padding-bottom: 40px;
    gap: 30px;
    flex-direction: column;
    overflow: hidden;
}

.container-coments{
    width: 80%;
    padding: 15px;
    border: solid 1px #5e5e5e;
    border-radius: 10px;
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.container-coments h4{
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 15px;
}


.container-coments p{
    margin-left: 0px;
}

 @media (min-width: 768px){
    form {
    padding: 30px 0;
    width: 500px;
    display: flex;
    align-items: self-start;
    justify-content: center;
    flex-direction: column;
    border-radius: 20px;
    background-color: white;
  }

 }

