body {
    margin: 0;
    font-family: 'Georgia', serif;
    background-color: #87ceea;
    min-height: 50vh;

}
header {
    background-color: #050505;
    color: #deea87;
    padding: 10px 20px;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
  height: 70px;
  width: auto;
  vertical-align: middle;
  cursor: pointer;
}
.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}
.menu :hover {
    color: #bbebfd;
}
.menu li a {
    color: #deea87;
    text-decoration: none;
}
.caja-contenedor {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; 
    margin: 30px 0;

}
.hero {
     background-color: #267594;
    border-bottom-right-radius: 70px;
border-bottom-left-radius: 70px;
border-top-right-radius: 70px;
border-top-left-radius: 70px;
margin-top: 60px;
margin-bottom: 65px;
margin-right: 500PX;
margin-left: 500px;

}
.demo-section h2 {
     background-color: #267594;
    border-bottom-right-radius: 70px;
border-bottom-left-radius: 70px;
border-top-right-radius: 70px;
border-top-left-radius: 70px;
margin-top: 60px;
margin-bottom: 65px;
margin-right: 500PX;
margin-left: 500px;

}

.caja {
    display: block;
    width: 280px;             
    height: 250px;             
    text-align: center;
    text-decoration: none;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.caja img {
    width: 100%;
    height: 200px;             
    object-fit: cover;      
}

.caja h3 {
    margin: 10px 0;
    color: #333;
}


.caja:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}


.cv-container {
  display: flex;
  justify-content: flex-end;
  margin: 20px 0;
  padding-left: 520px; 
  float: left;
}




.boton-cv {
    display: inline-block;
    padding: 12px 20px;
    background-color: #040400;
    color: #ddf89d;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.3);
    transition: 0.3s ease;
    margin: 0;

    
}

.boton-cv:hover {
    background-color: #125d66;
}

 h1 {
    text-align: center;
}

main {
    flex: 1;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#demo{
    text-align: center;
}
footer {
    background-color: #0e0e0f;
    color: #deea87;
    text-align: center;
    padding: 10px;
   }
footer a{
    color: #deea87;
}







.caja.video {
  width: 350px;
  height: auto; 
  display: block;
}

.caja.video video {
  width: 100%;
  height: 200px; 
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.caja.video h3 {
  margin: 10px 0;
  color: #333;
  text-align: center;
}


.porta {
  display: flex;
  justify-content: flex-end;
  margin: 20px 0;
  padding-right: 500px; 
  float: right;
}

.boton-porta {
    display: inline-block;
    padding: 12px 20px;
    background-color: #000000;
    color: #e0f688;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.3);
    transition: 0.3s ease;
    margin: 0;

    
}

.boton-porta:hover {
    background-color: #125d66;
}
