#quien-soy h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
  color: #ffb703;
}
.max-width {
  max-width: 1400px;
  margin: auto;
}

#quien-soy ul {
  list-style: none;
  padding-left: 1rem;
  margin-top: 1rem;
}

#quien-soy li {
  margin-bottom: 0.5rem;
  color: #eee;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #023047;
  color: #ffffff;
}

.header_section {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 3rem;
  background-color: #065075;
  z-index: 1000;
  div {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.logo {
  font-weight: bold;
  font-size: 3rem;
  color: #8ecae6;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  &:hover {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
  }
}

.hover-underline-animation {
  display: inline-block;
  position: relative;
}

.hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: #fffbfb;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
  transform: scaleX(1);
}
.hover-underline-animation.left::after {
  transform-origin: bottom right;
}

.hover-underline-animation.left:hover::after {
  transform-origin: bottom left;
}
nav a {
  cursor: pointer;
  color: #ffffff;
  margin-left: 2rem;
  text-decoration: none;
  font-size: 1.5rem;
  transition: 0.2s ease-in-out;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -ms-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
}

nav a:hover {
  color: #8ecae6;
}

section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 3rem 3rem;
}

.content {
  flex: 1;
  max-width: 600px;
  background: #023047;
}

.content h1 {
  font-size: 2.8rem;
  color: #ffffff;
}

.content h1 span {
  color: #8ecae6;
  cursor: pointer;
}

.content p {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #aaa;
  line-height: 1.6;
}

.content a.button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background-color: #8ecae6;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -ms-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
}

.content a.button:hover {
  background-color: #219ebc;
  transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
}

.photo {
  flex: 1;
  display: flex;
  justify-content: right;
}

.photo img {
  width: 450px;
  border-radius: 25px;
  object-fit: cover;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  background-color: #021e33;
  color: #aaa;
}

#quien-soy {
  flex-direction: row-reverse;
}

#quien-soy .image-preview {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#quien-soy img {
  height: auto;
  width: 752px;
}

#quien-soy .content h2 {
  margin-top: 2rem;
  color: #ffb703;
}

#quien-soy ul {
  list-style: none;
  padding-left: 1rem;
  margin-top: 1rem;
}

#quien-soy li {
  margin-bottom: 0.5rem;
  color: #eee;
}

.carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-behavior: smooth;
}

.carousel img {
  height: 150px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s;
}

.carousel img:hover {
  transform: scale(1.05);
}

#portafolio {
  flex-direction: row;
}

#portafolio .image-preview {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

#portafolio .image-preview img {
  /* max-width: 400px; */
  height: auto;
  width: 900px;
  border-radius: 20px;
}
.section_form {
  margin: auto;
  display: flex;
  justify-content: center;
}
.section_form form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #022b43;
  padding: 2rem 2.5rem;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.18);
  gap: 1.2rem;
  max-width: 900px;
  margin: 2rem auto;
}

.section_form input[type="text"],
.section_form input[type="email"],
.section_form textarea {
  padding: 0.9rem 1.1rem;
  border: none;
  border-radius: 8px;
  background: #073b5c;
  color: #fff;
  font-size: 1rem;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
  outline: none;
}

.section_form input[type="text"]:focus,
.section_form input[type="email"]:focus,
.section_form textarea:focus {
  background: #0a4666;
  box-shadow: 0 0 0 2px #8ecae6;
}

.section_form textarea {
  min-height: 120px;
  resize: vertical;
}

.section_form button {
  background:  #5e8ea5;
  color: #023047;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding:1rem;
  font-size: 1rem;
  width: 100%;
  cursor: pointer;
  transition: .2s ease-in-out;
  margin-top: 0.5rem;
  &:hover{
    background:  #a2d0e6;

  }
  

    

}

.section_form input[type="submit"].button:hover {
  background: linear-gradient(90deg, #219ebc 60%, #8ecae6 100%);
  color: #fff;
  transform: scale(1.05);
}
/* From Uiverse.io by wilsondesouza */
ul {
  list-style: none;
}

.example-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 30rem;
}
.example-2 .icon-content {
  margin: 0 10px;
  position: relative;
}
.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}
.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}
.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  color: #4d4d4d;
  background-color: #032a3d;
  border: 1px solid #6e6969;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}
.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}
.example-2 .icon-content a:hover {
  color: rgb(255, 255, 255);
}
.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #ffffff;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="Twitter"] .filled,
.example-2 .icon-content a[data-social="Twitter"] ~ .tooltip {
  background-color: #000000;
}

.example-2 .icon-content a[data-social="Gmail"] .filled,
.example-2 .icon-content a[data-social="Gmail"] ~ .tooltip {
  background-color: #c53a28;
}
.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
  background: linear-gradient(
    45deg,
    #405de6,
    #5b51db,
    #b33ab4,
    #c135b4,
    #e1306c,
    #fd1f1f
  );
}
