* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


body {
    position: relative;
}

h1, h2, h3, h4, h5, h6 , p {
    color: rgb(129, 129, 129);
}

.img-logo {
    position: absolute;
    width: 150px;
    height: 150px;
    left: 2vw;
}


.hero {
    width: 100vw;
    height: 100vh;
    padding: 20vh 25vw 0vh 25vw;
}

.contenedor-principal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    background-color: #fff;
    height: 60vh;
    box-shadow: 4px 4px 8px 4px rgb(90, 90, 90);
    position: relative;
    border-radius: 5px;
}

.contenedor-gorro {
    display: flex;
    justify-content: center;
    width: 90%;
}

.ttl-inv {
    font-size: clamp(2.125rem, 1.8819rem + 1.2963vw, 3.4375rem);
}

.t2 {
    font-size: clamp(1.8125rem, 1.5694rem + 1.2963vw, 3.125rem);
}

.name-inv {
    font-size: clamp(1.8125rem, 1.5694rem + 1.2963vw, 3.125rem);
    margin: 0;
    
}

.contenedor-timer {
    display: flex;
    margin-top: -2vh;
}

.time {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 2vh 50px 0 50px;
    
}

.faltan {
    font-size: clamp(1.25rem, 1.0764rem + 0.9259vw, 2.1875rem);
    margin: 0;
}

.big {
    font-size: 35px;
}

.bigger {
    font-size: 40px;
}

.cursive {
    font-family: 'Style Script', cursive;
}

.bottom {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin-top: 2vh;
}



.icono-home1 {
    font-size: clamp(2.1875rem, 1.2037rem + 5.2469vw, 7.5rem);
    position: absolute;
    right: 2vw;
    top: 1vh;
    color: rgb(175, 11, 44);
}

.icono-home2 {
    font-size: 30px;
    color: #fff;
    background: rgb(175, 11, 44);
    position: absolute;
    z-index: 9999999;
    border-radius: 10px;
    left: 2vw;
    top: 2vh; 
    display: inline-block;
    padding: 5px 10px;
}

.btn-hero {
    background-color: rgb(175, 11, 44);
    padding: 10px 25px;
    text-decoration: none;
    color: #fff;
    border-radius: 15px;
}

.btn-hero:hover {
    background-color: rgb(209, 11, 50);
    color: #fff;
}


/* ------------------collage------------------------- */

.collage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    position: absolute;
  }

  

  .size3 {
    width: 25vw;
    height: 50vh;
  }

 

  
  /* --------------------------MEDIA QUERIES PARA LA SECCION DE HERO----------------------- */

  @media (min-width:300px) and (max-width: 1365.8px) {
   

    .time {
        margin: 2vh 10px 0 10px;
    }
    .time p {
        font-size: 13px;
        margin-bottom: 1vh;
    }
    .faltan {
        letter-spacing: 0.5rem;
    }

    .hero {
        padding: 20vh 6vw 0 6vw;
    }

    .bottom-a {
        font-size: 12px;
    }

    .bigger {
        display: none;
    }

    .contenedor-principal {
        padding: 0 0 2vh 0;
    }

    .collage {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        position: absolute;
      }

      .size3 {
        width: 50vw;
        height: 50vh;
      }

      .hide-res {
        display: none;
      }

      .img-logo {
        position: absolute;
        width: 80px;
        height: 80px;
        left: 0;
        top: 0;
    }

  }

  /* ------------------animacion en cuanto carga --------------------- */

  .fade-in-element {
    opacity: 0;
    transition: opacity 3s ease-in-out;
  }
  .fade-in-element.visible {
    opacity: 1;
  }
  

  .colored {
    background-image: linear-gradient(90deg, rgb(175, 11, 44) 0%, rgb(6, 75, 202) 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
  }

 
  .izquierda {
    margin-left: -4vw;
    margin-top: -1vh;
  }
    


  /* ----------------------------comentarios-------------------------- */

.comentarios_afuera {
    padding: 10vh 5vw;
    background-image: url(../media/fondo-rosa.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    min-height: 100vh;
}


.contenedor-comentarios {
    padding: 10vh 5vw;
    border: 1px solid rgb(175, 11, 44);
    box-shadow: 4px 4px 8px 4px rgb(182, 181, 181);
    
}

.txt-centrado {
    text-align: center;
    margin-bottom: 2vh;
}

  
textarea {
    resize: none;
}


.name-com {
    position: absolute;
    right: 25vw;
    top: 10vh;
}

.btn-comentarios {
    position: absolute;
    right: 8vw;
    top: 25vh;
}

.txt-agradecimiento {
    position: absolute;
    right: 27vw;
    top: 19vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-size: 20px;
}

.texto {
    color: #000;
    margin: 0;
}

.contenedor {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    border-radius: 20px;
    background-color: #fff;
    opacity: 0.7;
    width: 40vw;
    height: 20vh;
    margin-bottom: 5vh;
    padding: 2vh 2vw;
}

.contenedor-2 {
    display:flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    height: auto;
    background-color: #fff;
    opacity: 0.7;
    gap: 20px;
    padding: 3vh 2vw;
    border-radius: 20px;
}

.comentario {
    background-color: #fff;
    opacity: 0.7;
    width: 100%;
    height: 6vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    padding: 0 0 0 3vw;
    border-radius: 20px;
    color: black;
}

.contenedor-agg-com {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}



.input-com {
    width: 25vw;
    height: 5vh;
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    gap: 5px;
}

#comentario {
    outline: none;
    border: 0;
    width: 100%;
    height: 5vh;
    font-size: 15px;
    background-color: transparent;
    color: black;
    border-bottom: 2px solid rgba(255,255,255,0);
    transition-duration: 200ms;
    padding-bottom: 2vh;
}

#comentario::placeholder {
    color: black;
}

#comentario:focus {
    border-bottom: 2px solid rgb(175, 11, 44);
}

#nombre {
    outline: none;
    border: 0;
    width: 100%;
    height: 5vh;
    font-size: 15px;
    background-color: transparent;
    color: black;
    border-bottom: 2px solid rgba(255,255,255,0);
    transition-duration: 200ms;
    margin-bottom: 2vh;
}

#nombre::placeholder {
    color: black;
}

#nombre:focus {
    border-bottom: 2px solid rgb(175, 11, 44);
}

.btn-agg {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 37vw;
    margin-top: 3vh;
}

@media (min-width:1365.8px) and (max-width: 1441px) {
    .btn-agg {
        margin-top: 0;
        width: 35vw;
    }

    .contenedor {
        width: 38vw;
    }
}

.btn-agg button {
    background-color: rgb(175, 11, 44);
    padding: 10px 25px;
    text-decoration: none;
    color: #fff;
    border-radius: 15px;
    outline: none;
    font-size: 15px;
    cursor: pointer;
}

.btn-agg button:hover {
    background-color: rgb(202, 14, 52);
}

.close {
    font-size: 12px;
    position: absolute;
    right: 7vw;
    margin-top: -40px;
    width: 20px;
    z-index: 20;
    transition-duration: 200ms;
    display: block;
    cursor: pointer;
    color: red;
}

.comentario-publicado {
    letter-spacing: 0.1em;
}


@media (min-width:300px) and (max-width: 1365.8px) {
    .contenedor {
        width: 90vw;
    }

    .name-com {
        position: initial;
        text-align: center;
        font-size: 35px;
       
    }

    .btn-comentarios {
        position: initial;
        font-size: 14px;
    }

    .acomodar-btn {
        display: flex;
        justify-content: center;
        margin: 3vh 0;
    }
    
    .txt-agradecimiento {
        position: initial;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 14px;
    }

    .input-com {
        width: 80vw;
    }

    #nombre {
        padding: 0 5vw;
    }

    #comentario {
        padding: 0 5vw;
    }

    .btn-agg {
        width: 85vw;
        margin-top: 0;
    }

    .btn-agg button {
        font-size: 12px;
    }

    .comentario {
        max-width: 100%;
        height: 10vh;
        opacity: 1;
        overflow-x: auto;
        overflow-y: scroll;
        display: flex;
        flex-wrap: wrap;
    }



    .close {
        cursor: pointer;
        float: right;
        margin-top: -50px;
        right: 10vw;
        
    }

}


/* -------------correcion de media en 1366 de ancho -------------------- */

@media (min-width:1365.8px) and (max-width: 1400px) {
    .contenedor-principal {
        height: 70vh;
    }
}

