@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&family=Quicksand:wght@300..700&display=swap");
:root {
  --principal-background-color: #e3e6e6;
  --principal-font-color:#f5f8f8;
  --principal-background-div: #2a3043;
  --principal-background-div-alpha: #191e30ff;
  --secondary-background-div: #3f4e88;
  --dark-shadow-color:black;
  --light-shadow-color:#3f4e88;
  --distant-color: #d68328;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Quicksand", sans-serif;
  color: var(--principal-font-color);
}

body {
  background: var(--principal-background-color);
}

h1, h2, h3 {
  font-weight: 700;
}

h1 {
  font-size: 2em;
}

p {
  font-size: 1.2em;
}

hr {
  margin: 20px 0 20px 0;
  height: 1px;
  width: 100%;
  background-color: var(--distant-color);
  border: none;
}

header {
  position: fixed;
  top: 0;
  z-index: 100;
  height: 70px;
  width: 100vw;
  max-width: 100vw;
  box-shadow: 0 0 10px var(--dark-shadow-color);
  background: linear-gradient(145deg, var(--principal-background-div), var(--principal-background-div-alpha));
}
header .logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

section {
  background: linear-gradient(145deg, var(--principal-background-div), var(--principal-background-div-alpha));
  margin-top: 30px;
  padding: 50px 20px;
  text-align: center;
  width: 100%;
  box-shadow: 0 0 13px var(--dark-shadow-color);
}

.section1 {
  display: flex;
  margin-top: 100px;
}
.section1 h1 {
  margin-bottom: 20px;
}
.section1 p {
  margin-bottom: 5px;
}

.section2 {
  background: var(--secondary-background-div);
}
.section2 h2 {
  margin-bottom: 20px;
}

.section3 .courses {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section3 .courses .buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section3 .courses a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 0 12px var(--dark-shadow-color);
  text-decoration: none;
  padding: 20px;
  height: 300px;
}
.section3 .courses a hr {
  margin: 20px 0 20px 0;
}
.section3 .courses a p {
  margin-bottom: 5px;
}

.section5 p {
  margin: 10px 0;
}

@media (max-width: 767px) {
  .section1 {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
  }
  .section1 .perfil_photo {
    margin-bottom: 50px;
  }
  .section1 .perfil_photo img {
    border-radius: 50%;
    border: 1px solid var(--light-shadow-color);
    filter: drop-shadow(0 0 20px var(--light-shadow-color));
  }
}
@media (min-width: 767px) {
  .section1 {
    position: absolute;
    z-index: 5;
    right: 0px;
    width: 85vw;
    display: flex;
    padding: 0;
    justify-content: end;
  }
  .section1 .perfil {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    width: 100%;
  }
  .section1 .perfil h1 {
    margin: 0;
  }
  .section2 {
    position: absolute;
    z-index: 1;
    top: 250px;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 800px;
  }
  .section3 {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 3;
    top: 850px;
    left: 0;
    width: 90%;
  }
  .section3 .courses .buttons {
    flex-direction: row;
    justify-content: space-between;
    height: 450px;
  }
  .section3 .courses .buttons a {
    width: 33%;
    height: 100%;
  }
  .section3 .courses .buttons a .courses_buttons_titles {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 33%;
    text-align: center;
  }
  .section4 {
    position: absolute;
    z-index: 2;
    top: 1550px;
    left: 0;
    width: 100%;
    height: 250px;
    padding: 50px;
  }
  .section5 {
    background: var(--secondary-background-div);
    position: absolute;
    z-index: 1;
    top: 1800px;
    left: 0;
    padding: 50px;
  }
}