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


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



  .comentarios_afuera {
    padding: 10vh 5vw;
    background: linear-gradient(135deg, rgb(113, 212, 252) 0%, pink 100%);
    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;
    font-size: 40px;
}

.btn-comentarios {
    position: absolute;
    right: 8vw;
    top: 25vh;
    text-decoration: none;
    padding: 1vh 2vw;
    background: linear-gradient(90deg,rgb(113, 212, 252) 0%, pink 100%);
    border-radius: 20px;
    color: #777777;
}

.btn-comentarios:hover {
    color: #303030;
    background: rgb(113, 212, 252);
}

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

.music {
    position: absolute;
    top: 2vh;
    right: 5vw;
    padding: 10px 50px;
}

.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(46, 174, 224);
}

#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(46, 174, 224);
}

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

}


.btn-agg button {
    background: linear-gradient(135deg, rgb(113, 212, 252) 0%, pink 100%);
    padding: 10px 25px;
    text-decoration: none;
    color: #000;
    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: 18px;
    }

    .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: -6vh;
        right: 10vw;
        
    }
    
    .music {
        position: absolute;
        top: 2vh;
        right: 9vw;
        padding: 10px 50px;
    }
}



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

    .name-com {
        position: absolute;
        right: 18vw;
        top: 10vh;
        font-size: 40px;
    }

    .btn-agg {
        margin-top: -2vh;
    }

}