body{
    background-color: #304a6e;
}

body {
    font-family: 'Russo One', sans-serif;
}

.container{

}
/* Estilos para la barra lateral */
.nav {
    width: 18%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #668dc0;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nav img {
    max-width: 90%;
    margin-bottom: 25%;
    border-radius: 150px;
    -webkit-box-shadow: 4px 22px 63px -27px rgba(0,0,0,0.75);
-moz-box-shadow: 4px 22px 63px -27px rgba(0,0,0,0.75);
box-shadow: 4px 22px 63px -27px rgba(0,0,0,0.75);
}


.nav ul {
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav li {
    text-decoration: none;
    padding: 10px;
}

.nav a{
    color: blanchedalmond;
}

.nav a:hover {
   color: black;
}

::-webkit-scrollbar {
  display: none;
}

/* Estilos para las secciones */
.sections {
    width: 82%;
    height: 100vh;
    margin-left: 18%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: scroll;
}

.section {
    width: 80%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    text-align: center;
    border-bottom: solid 2px black;
}

.section h1{
    font-size: 5em;
    color: #6b91d3;
}

.section h2 {
    font-size: 3em;
    margin-bottom: 1em;
    color: #3a89c9;
}

.section h3{
    font-size: 2em;
}

.section p {
    font-size: 1.5em;
    color: #C0D0EF;
}

.tecnologies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align:center;
}

.tecnologies div {
    padding-top:20px;
  background-color:blanchedalmond;
  justify-content: center;
  text-align: center;
  width: 120px;
}

.tecnologies p {
    color:black;
  font-size: 0.8em;
  margin-top: 5px;
}

  
  .fa-2xl {
    font-size: 2rem;
  }
  .contact {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  
  .contact li {
    display: flex;
    align-items: center;
    margin-right: 20px;
  }
  
  .contact li:last-child {
    margin-right: 0;
  }
  
  .contact li a {
    color: #d6ddec;
    margin-left: 10px;
    text-decoration: none;
    font-weight: bold;
  }
  
  /* Estilos para pantallas pequeñas */
  @media (max-width: 768px) {
    .contact {
      flex-direction: column;
    }
    
    .contact li {
      margin-right: 0;
      margin-bottom: 10px;
    }
  }
  
  .my-button {
    background-color: #3a89c9;
    border: none;
    color: white;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin: 4px 2px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
  }
  

  .button-cv:hover {
    background-color: #285f8d;
  }
  
  .my-button:active {
    transform: translateY(2px);
  }

  .portfolio-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
  }
  
  .portfolio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    padding: 20px;
    text-align: center;
  }
  
  .portfolio-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  
  /*                              FORMULARIO DE CONTACTO */

  .contact-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 5px;
  background-color: #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  animation: fade-in 1s ease-out;
  margin-bottom: 60px;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-form h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  animation: slide-up 1s ease-out;
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-form .form-group {
  margin-bottom: 20px;
  animation: fade-in 1s ease-out;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 5px;
  border: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.contact-form button[type="submit"] {
  display: block;
  margin: 0 auto;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #007bff;
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.contact-form button[type="submit"]:hover {
  background-color: #0062cc;
}

