* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Lato", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  background-color: white;
  color: royalblue;
  background-image: linear-gradient(#ffffff, #ffffffb6), url("./images/bg.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

header {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

img {
  width: 50px;
  margin: 20px;
}

.intro-img {
  width: 250px;
}

.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

main {
  position: relative;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  padding: 10px;
}

nav {
  position: fixed;
  display: flex;
  z-index: 10;
  flex-direction: column;
  align-items: end;
  top: 10px;
  right: 0px;
}

section {
  font-weight: 300;
  margin: 30px 0;
  padding: 10px;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

h2 {
  /* text-decoration: underline; */
  border-top: 2px royalblue solid;
  border-bottom: 2px royalblue solid;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 10px 10px 10px #2026a32f;
  padding: 10px;
  text-shadow: 0px 0px 10px white;
  text-align: center;
}

section > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.box {
  background-color: #2026a39e;
  border-radius: 10px;
  box-shadow: 10px 10px 10px #2026a32f;
  margin: 20px 0;
  padding: 20px;
  color: white;
  border-top-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.box > p {
  padding-left: 10px;
  padding-bottom: 20px;
}

iframe {
  margin: 20px 0;
  width: 80%;
  height: 300px;
}

.btn-menu {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  /* background-color: rgba(65, 105, 225, 0.719); */
  transition: 0.2s fill;
}

.btn-menu:hover {
  cursor: pointer;
  fill: rgba(255, 0, 0, 0.729);
}

.menu-list {
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.891);
  border-radius: 10px;
  transition: 0.3s;
  list-style: none;
  padding: 10px;
  opacity: 0;
}

.active {
  visibility: visible;
  opacity: 1;
}

.menu-list > li {
  margin: 5px;
  padding: 5px;
}

a,
a:visited,
a:active {
  color: royalblue;
  text-decoration: none;
  transition: 0.2s color;
}

a::selection {
  background-color: transparent;
}

a:hover {
  color: red;
}

footer {
  background-color: rgba(0, 0, 0, 0.637);
  color: white;
  padding: 5px;
  text-align: center;
}

svg {
  height: 45px;
  width: 45px;
  margin: 20px;
  fill: royalblue;
  border-radius: 50%;
  transition: 0.3s fill;
  animation: bounce 2.4s linear infinite;
}

@keyframes bounce {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  25% {
    transform: scale(1.1);
    opacity: 1;
  }
  50% {
    transform: scale(1);
    opacity: 0.9;
  }
  75% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}

svg:hover {
  fill: rgba(255, 0, 0, 0.729);
}

main > section p {
  font-weight: 300;
}

#social a {
  margin: 10px;
}