body {
  background-color: white;
  color: rgb(224, 214, 248);
  align-content: center;
  font-family: Sanchez;
}

main {
  width: 80vw;
  height: 80vh;
  display: block;
  margin-top: 40px;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

h1 {
  font-family: "Yeseva One", cursive;
  color: rgb(243, 187, 212);
}

#logo {
  height: 400px;
}

.icons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin: 40px 19vw 30px 19vw;
  padding: 8px;
  border-radius: 45px;
  background-color: rgb(224, 214, 248);
}

.icon {
  width: 50px;
  padding: 2.5px;
}

.icon:hover,
.icon:focus {
  border: 2px solid pink;
}

#p-email {
  color: rgb(224, 214, 248);
}

#email {
  text-decoration: none;
  color: rgb(243, 187, 212);
  padding: 20px;
}

.overlay {
  height: 0;
  width: 50%;
  position: fixed;
  left: 25%;
  right: 25%;
  z-index: 100;
  margin-top: 6%;
  top: 0;

  background-color: white;
  background-color: rgba(255, 255, 255, 0.897);
  border: 5px solid rgb(243, 187, 212);
  border-radius: 20px;
  overflow-y: hidden;
  transition: 0.5s;
}

.menu-elements {
  position: relative;
  top: 15%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.menu-item {
  padding: 20px;
  text-decoration: none;
  font-size: 24px;
  color: rgb(179, 135, 221);
  display: block;
  transition: 0.3s;
}

.menu-item:hover,
.menu-item:focus {
  color: #dddddd;
}

.closebtn {
  position: absolute;
  top: 10px;
  right: 45px;
  font-size: 65px;
  text-decoration: none;
  color: rgb(179, 135, 221);
}

@media screen and (max-height: 450px) {
  .overlay .menu-item {
    font-size: 20px;
  }
  .overlay .closebtn {
    font-size: 40px;
    top: 10px;
    right: 35px;
  }
}

@media screen and (max-width: 800px) {
  .overlay {
    margin-top: 10%;
    width: 80%;
    left: 10%;
    right: 10%;
  }
  .overlay .menu-item {
    font-size: 20px;
  }
  .overlay .closebtn {
    font-size: 40px;
    top: 10px;
    right: 35px;
  }
  main {
    width: 100%;
  }

  #logo {
    width: 190px;
    height: 190px;
    padding: 20px 0 50px 0;
  }

  h1 {
    font-size: 23px;
    padding: 60px 0;
  }
}
