body {
    font-family: 'Times New Roman', Times, serif;
    margin:0px;
    padding: 0px;
    background-image: url("../img/estrellas.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

nav ul {
    font-family:Georgia;

    background-color: rgba(0, 0, 0, 0.724);
    margin: auto;
    height: 60px;
    text-align: center;
    list-style: none;
    display: flex;
    justify-content:right;
    font-size: 15px;
}
nav ul li {
    margin:20px;
    
}

nav ul li :hover{
    background-color: rgba(31, 160, 239, 0.753);
    margin:auto;
    padding: 20px 20px ;
}

nav ul li a{
    color:rgb(255, 255, 255);
    text-decoration: none;
}


.yo {
    text-align: left;
    bottom: 100px;
    border-radius: 20%;
    width: 350px;
    margin-top:5px;
    margin-left: 5px;
   
}

.xd{
    text-align:right;
}

.fotomia p{
    align-items: right;
    text-align: center;
    justify-content: right;
    margin: 20px 20px;
    padding: 10px 10px; 
    position: absolute;
    left: 400px;
    top:100px;
    display: flex;
    font-size: 2rem;
    font-style:italic;
    text-decoration: turquoise
}

.card {
    
    width: 200px;
    margin: -120px;
    margin-left: 360px;
    justify-content: right;
    
    
}

.card .face {
    position: absolute;
    width: 170px;
    height: 220px;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    transition: .5s;
}

.card .front {
    transform: perspective(600px) rotateY(0deg);
    box-shadow: 0 5px 10px #000;
}

.card .front img {
    justify-content:right;
    width: 170px;
    object-fit: cover;
   
}

.card .front h3 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 45px;
    line-height: 45px;
    color: #fff;
    background: rgba(0,0,0,.4);
    text-align: center;
}

.card .back {
    transform: perspective(600px) rotateY(180deg);
    background: rgb(3, 35, 54);
    padding: 15px;
    color: #f3f3f3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 5px 10px #000;
    width: 175px;
}


.card .back h3 {
    font-size: 30px;
    margin-top: 20px;
    letter-spacing: 2px;
}

.card .back p {
    letter-spacing: 1px;
} 

.card:hover .front {
    transform: perspective(600px) rotateY(180deg);
}

.card:hover .back {
    transform: perspective(600px) rotateY(360deg);
}





.datos{
    text-align:right;
    
}

.profile-video {
    width: 100%;
    background-image: url(../video/bandera.mp4);
    background-size: cover;
    background-position: center;
    z-index: -1;
    margin-top: 0px;
   
}
    
footer{
    
    background-color: rgba(0, 0, 0, 0.758);
    position:absolute;
    flex-direction: column;
    width: 100%;
    border: 1px solid rgb(255, 230, 0);
    text-align: center;
    bottom: -270px;
    margin:0px;
    
}

.contactos{
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
    margin: 10px 0px;
    flex-wrap: wrap;

}
.iconos{
    list-style: none;
}
.icon{
    color: rgba(255, 255, 255, 0.968);
    justify-content: center;
    font-size: 32px;
    display: inline-block;
    margin: 0 10px;
    transition: 0.5s;

}
.icon:hover{
    transform: translateY(-10px);
}
footer p{
    text-align: center;
    color:aliceblue;
}




/* Pagina de trabajos */
.proyectos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 2VW;
    
}
.proyecto{
    color: aliceblue;
    text-align: center;
}

 .video h1{
    text-align: center;
    color: white;
 }
.profile-video{ 
        position: absolute;
        width: 100%;
        background-image: url(../video/bandera.mp4 );
        background-size: cover;
        z-index: -1; 
}
.img-proyec1{
    width: 85%;
    border-radius: 15%;

}
.img-proyec2{
    width: 90%;
    border-radius: 15%;

}


/* Comentario  */

button {
    background: rgb(46, 1, 130);
    color: white;
    cursor: pointer;
}

.comments {
    max-width: 600px;
}

.formaComentario{
    background-color: rgb(205, 210, 211);
    width: 50%;
    max-width: 100%;
    margin: auto;
    margin-top: 30px;
    padding: 10px;
    box-shadow: 0 0 20px 10px rgb(24, 152, 250);
    
}
.comentario{
    bottom: 30px;
    text-align: center;
    margin-top: 30px;
    margin-left: 20px;
    
    
}
input label button{
    padding: 10px;
    width: 100%;
    margin-bottom: 20px;
    font-size: 1.3em;
}

input{
    margin: 10px;
    padding: 10px;
    background:transparent;
    border: 1px solid rgb(31, 1, 68);
    margin-bottom: 5px;
}
input:focus{
    outline: 1px solid rgb(0, 0, 0);

}
label{
    padding-left: 15px;
    margin-top: 5px;
    margin-right: 0;

}
textarea{
    background: transparent;
    border: 1px solid rgb(0, 0, 0);
}
button{
    width: 100%;
    padding: 10px 20px;
    border: none;
    background-color: rgb(24, 152, 250);
    padding: 10px 20px;
    text-decoration: none;
    font-size: 15px;
    margin: 15px 2px;
    cursor: pointer; 
}

@media(max-width:1024px){body {
    font-family: 'Times New Roman', Times, serif;
    margin:0px;
    padding: 0px;
    background-color: #000;
    background-size: cover;
    background-repeat: no-repeat;
}
nav ul {
    font-family:Georgia;

    background-color: rgba(0, 0, 0, 0.724);
    margin: auto;
    height: 60px;
    text-align: center;
    list-style: none;
    flex-direction: column;
    background-color: #000;
    justify-content:right;
    font-size: 15px;
}

}