@font-face {
  /** font-family: gayHamlet;
  src: url("gayhamlet.ttf") **/
  font-family: botch;
  src: url("botch.otf");
}

@font-face {
  font-family: grotesk;
  src: url("grotesk.ttf");
}


body {
  background-color:#0B2930;
}

a {
  text-decoration: none;
  color: #E1D3BE;
}

h2 {
  font-family: botch;
  font-size: 32px;
  color: #E1D3BE;
}

.off-screen-menu {
  background-color: #0B2930;
  height: 100vh;
  width: 100%;
  max-width: 450px;
  position: fixed;
  top: 0;
  right: -450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 2rem;
  font-family: botch;
  transition: .3s ease;
  text-decoration: none;
}

.off-screen-menu.active {
  right: 0;
}

nav {
  padding: 1rem;
  display: flex;
  background-color: #0B2930;
}

nav h1 {
  text-align: center;
  align-items: center;
  font-size: 28px;
}

h1 {
  display: flex;
  color: #E1D3BE;
  font-size: 32px;
  font-family: botch;
  align-items: center;
  margin-top: 5px;
}

li {
  color: #E1D3BE;
  font-family: botch;
  text-decoration: none;
}

.blocks {
  display: flex;
  flex-direction: column;
  width: 450px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px; 
  font-family: grotesk;
}

.blocks img {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  }

  .blocksLogo {
  display: flex;
  flex-direction: column;
  width: 100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px; 
  font-family: grotesk;
}

  .blocksPort {
  display: flex;
  flex-direction: column;
  width: 450px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px; 
  font-family: grotesk;
  line-height: 1.6;
  font-weight: bold;
}


.ham-menu {
  height: 50px;
  width: 50px;
  margin-left: auto;
  margin-right: 10px;
  position: relative;
}

.ham-menu span {
  height: 5px;
  width: 40px;
  background-color: #E1D3BE;
  border-radius: 25px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  transition: .3s ease;
}


.ham-menu span:nth-child(1) {
  top: 25%;
}
.ham-menu span:nth-child(3) {
  top: 75%;
}


.ham-menu.active span:nth-child(1){
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.ham-menu.active span:nth-child(2){
  opacity: 0;
}
.ham-menu.active span:nth-child(3){
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45 deg);
}

@media (max-width: 900px) {

.blocks {
  display: flex;
  flex-direction: column;
  width: 350px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px; 
  font-family: grotesk;
}

.blocksPort {
  width: 300px;
}

.blocks img {
  display: flex;
  align-items: center;
  width: 350px;
  margin-bottom: 15px;
  }
}


@media (max-width: 640px) {

.blocks {
  display: flex;
  flex-direction: column;
  width: 300px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px; 
  font-family: grotesk;
}

.blocks img {
  display: flex;
  align-items: center;
  width: 300px;
  margin-bottom: 15px;
  }

.blocksPort {
  width: 280px;
}


}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 50vh 0 50vh transparent;
  margin: 25px 0 46px 0;
}

footer img {
  align-items: center;
  max-height: 15px;
  max-width: 15px;
  margin: 0 10px 0 10px;
}

