* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #d8d8d8;
}

body {
  font-size: 16px;
}

h1 {
  padding: 20px;
  text-align: center;
  font-size: 2.25rem;
}

h2 {
  padding: 20px;
  font-size: 2rem;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
}

p {
  font-size: 1.375rem;
}

ol {
  list-style-position: inside;
}
ol li {
  padding: 20px;
  font-size: 1.375rem;
}

hr {
  width: 95%;
  margin: 40px 2.5%;
  height: 5px;
  background-color: #d8d8d8;
  border-radius: 20px;
}

section {
  padding: 20px;
}

header {
  background-color: #2a2a2a;
  display: flex;
  flex-direction: column;
}
header .open-menu-button {
  display: none;
  position: absolute;
  left: 0;
  align-self: center;
  background-color: transparent;
  border: none;
  padding: 10px;
  margin-left: 10px;
}
header .open-menu-button i.material-symbols-outlined {
  font-size: 2rem;
}

.transparent-header {
  position: absolute;
  top: 0;
  width: 100%;
  opacity: 96%;
}

main {
  background-color: #3f3f3f;
}

footer {
  background-color: #2a2a2a;
  height: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
footer p {
  font-size: 20px;
}

.about-me {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-me-card {
  padding: 40px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  width: 90%;
  background-color: #2a2a2a;
  margin: 40px 0;
  border-radius: 20px;
  transition: all 300ms ease-in-out;
}
.about-me-card h2 {
  width: 100%;
  padding: 20;
}
.about-me-card .right-title {
  text-align: right;
}
.about-me-card p {
  width: 70%;
  padding: 20px;
}
.about-me-card ol {
  width: 70%;
  padding: 20px;
}
.about-me-card img {
  width: 25%;
  border-radius: 100%;
  padding: 20px;
}
.about-me-card:hover {
  box-shadow: 10px 5px 5px rgba(42, 42, 42, 0.4509803922);
  width: 95%;
}

nav {
  align-self: flex-end;
  margin: 20px;
  margin-top: 0;
}
nav ul {
  display: flex;
  flex-direction: row;
  list-style: none;
}
nav li a {
  font-size: 1.375rem;
  text-decoration: none;
  padding: 10px 20px;
  transition: all 300ms ease-in-out;
  border-radius: 5px;
}
nav li a:hover {
  background-color: #d8d8d8;
  color: #2a2a2a;
}

#mySidebar {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  background-color: #333333;
  box-shadow: 10px 0 10px rgba(0, 0, 0, 0.5);
}
#mySidebar ul {
  flex-direction: column;
  padding: 40px 20px;
  margin-top: 15px;
}
#mySidebar ul li a {
  display: block;
  font-size: 1rem;
  width: 100%;
  padding: 15px 10px;
}
#mySidebar ul .sidebar-close {
  margin: 10px;
}
#mySidebar ul .sidebar-close button {
  position: absolute;
  top: 0;
  right: 0;
  background-color: transparent;
  border: none;
  padding: 10px;
}

.link-logo {
  padding: 10px;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.link-logo img {
  width: 90px;
}
.link-logo span {
  font-size: 2rem;
}

.main-image {
  height: 100vh;
  min-height: 850px;
  background-image: url(../assets/images/main-image-edited.webp);
  background-position: center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-card {
  background-color: rgba(42, 42, 42, 0.5411764706);
  height: 350px;
  width: 740px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  animation-name: main-card-animation;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}
.main-card h1 {
  padding: 0;
}

@keyframes main-card-animation {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.social-media-container {
  display: flex;
  flex-direction: row;
  gap: 25px;
}
.social-media-container .social-media-link {
  width: 60px;
  background-color: #d8d8d8;
  border-radius: 100%;
}

.card-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  padding: 20px;
}

.card {
  background-color: #2a2a2a;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80%;
  padding: 20px;
  margin: 20px 0px;
  border-radius: 20px;
  transition: all 300ms ease-in-out;
}
.card div {
  width: 100%;
  height: 350px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.card div img {
  max-height: 100%;
  max-width: 98%;
}
.card .card-title {
  text-align: center;
  font-size: 1.625rem;
  font-weight: bold;
  padding: 20px;
}
.card p {
  text-align: center;
  width: 95%;
}
.card:hover {
  box-shadow: 10px 5px 5px rgba(42, 42, 42, 0.4509803922);
  background-color: #d8d8d8;
  color: #2a2a2a;
}
.card:hover p, .card:hover .card-title {
  color: #2a2a2a;
}

.menu-desplegable {
  margin: 20px;
  font-size: 1.375rem;
}
.menu-desplegable select {
  font-size: 1.375rem;
  background-color: #2a2a2a;
  border-color: #2a2a2a;
}

.form-card {
  padding: 20px 80px;
  display: flex;
  justify-content: center;
  min-height: 83vh;
}
.form-card form {
  background-color: #2a2a2a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 1000px;
  border-radius: 20px;
  padding: 20px 0;
}
.form-card form ul {
  display: flex;
  flex-direction: column;
  gap: 30px;
  list-style: none;
  width: 80%;
  align-items: center;
}
.form-card form ul li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.form-card form ul li label {
  font-size: 1.5rem;
}
.form-card form ul li input {
  border-radius: 20px;
  font-size: 1.5rem;
  padding: 10px;
  background-color: #d8d8d8;
  color: black;
}
.form-card form ul li textarea {
  border-radius: 20px;
  font-size: 1.5rem;
  padding: 20px;
  background-color: #d8d8d8;
  color: black;
}
.form-card form ul button {
  border-radius: 20px;
  font-size: 1.5rem;
  padding: 10px;
  background-color: #1a1a1a;
  border-color: #1a1a1a;
  cursor: pointer;
  width: 50%;
  transition: all 300ms ease-in-out;
}
.form-card form ul button:hover {
  background-color: #d8d8d8;
  color: #1a1a1a;
}

@media (max-width: 1279px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  p {
    font-size: 1.25rem;
  }
  .link-logo img {
    width: 80px;
  }
  .link-logo span {
    font-size: 1.75rem;
  }
  nav ul li a {
    font-size: 1.25rem;
  }
  .menu-desplegable label {
    font-size: 1.25rem;
  }
  .menu-desplegable select {
    font-size: 1.25rem;
  }
  .card-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .card div {
    height: 300px;
  }
  ol li {
    font-size: 1.25rem;
  }
  .form-card form ul li label {
    font-size: 1.25rem;
  }
  .form-card form ul li input {
    font-size: 1.25rem;
  }
  .form-card form ul li textarea {
    font-size: 1.25rem;
  }
  .form-card form ul button {
    font-size: 1.25rem;
  }
  .about-me .about-me-card {
    padding: 40px 20px;
  }
  .about-me .about-me-card img {
    margin: 0;
    padding: 20px;
    width: 30%;
  }
  footer p {
    font-size: 1rem;
  }
}
@media (max-width: 1023px) {
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  p {
    font-size: 1.125rem;
  }
  .link-logo img {
    width: 70px;
  }
  .link-logo span {
    font-size: 1.625rem;
  }
  .main-image {
    background-size: cover;
    height: 70vh;
  }
  .main-card {
    width: 78%;
  }
  .social-media-container .social-media-link {
    width: 50px;
  }
  .card-container {
    padding: 0;
  }
  .card div {
    height: 250px;
  }
  .card .card-title {
    font-size: 1.375rem;
  }
  ol li {
    font-size: 1.125rem;
  }
  .form-card {
    padding: 50px 80px;
  }
  .form-card form ul li label {
    font-size: 1.125rem;
  }
  .form-card form ul li input {
    font-size: 1.125rem;
  }
  .form-card form ul button {
    font-size: 1.125rem;
  }
}
@media (max-width: 767px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  p {
    font-size: 1rem;
  }
  header {
    align-items: center;
    justify-content: center;
  }
  header .open-menu-button {
    display: block;
  }
  .transparent-header {
    position: static;
    opacity: 100%;
  }
  .link-logo img {
    width: 60px;
  }
  .link-logo span {
    font-size: 1.25rem;
  }
  nav {
    display: none;
  }
  .main-image {
    height: 60vh;
    background-size: cover;
    min-height: auto;
  }
  .main-card {
    height: 260px;
    gap: 20px;
  }
  .main-card p {
    width: 95%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .main-card .social-media-container .social-media-link {
    width: 40px;
  }
  .card-container {
    grid-template-columns: 1fr;
  }
  .card {
    height: fit-content;
  }
  .card div {
    height: 250px;
  }
  .card .card-title {
    font-size: 1.25rem;
    padding: 10px;
  }
  .menu-desplegable label {
    font-size: 1rem;
  }
  .menu-desplegable select {
    font-size: 1rem;
  }
  .about-me .about-me-card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about-me .about-me-card h2 {
    text-align: center;
  }
  .about-me .about-me-card p {
    width: 90%;
    padding: 0;
  }
  .about-me .about-me-card ol {
    width: 90%;
    padding: 0;
  }
  .about-me .about-me-card img {
    width: 60%;
  }
  .about-me .about-me-card:nth-child(3) img {
    order: 3;
  }
  ol li {
    font-size: 1rem;
  }
  .form-card {
    padding: 40px;
  }
  .form-card form ul {
    gap: 20px;
  }
  .form-card form ul li label {
    font-size: 1rem;
  }
  .form-card form ul li input {
    font-size: 1rem;
  }
  .form-card form ul li textarea {
    font-size: 1rem;
  }
  .form-card form ul button {
    font-size: 1rem;
  }
}
@media (max-height: 767px) and (orientation: landscape) {
  .main-image {
    min-height: 700px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.25rem;
  }
  h2 {
    font-size: 1rem;
  }
  p {
    font-size: 0.875rem;
  }
  header button {
    margin: 0;
  }
  nav ul li a {
    font-size: 0.875rem;
  }
  .main-image {
    height: 50vh;
    background-size: cover;
  }
  .main-card {
    height: 200px;
    gap: 15px;
  }
  .main-card p {
    width: 90%;
  }
  .main-card .social-media-container .social-media-link {
    width: 35px;
  }
  .card {
    width: 95%;
    padding: 10px;
  }
  .card .card-title {
    font-size: 15px;
  }
  .menu-desplegable label {
    font-size: 0.875rem;
  }
  .menu-desplegable select {
    font-size: 0.875rem;
  }
  .about-me .about-me-card p {
    margin-bottom: 20px;
  }
  .about-me .about-me-card img {
    width: 80%;
  }
  ol li {
    font-size: 0.875rem;
  }
  .form-card {
    padding: 20px;
  }
  .form-card form ul {
    gap: 15px;
  }
  .form-card form ul li label {
    font-size: 0.875rem;
  }
  .form-card form ul li input {
    font-size: 0.875rem;
  }
  .form-card form ul li textarea {
    font-size: 0.875rem;
  }
  .form-card form ul button {
    font-size: 0.875rem;
  }
  footer p {
    font-size: 0.875rem;
  }
}

/*# sourceMappingURL=styles.css.map */
