@import url('https://fonts.googleapis.com/css2?family=Lora&family=Poppins&family=Source+Sans+Pro&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald&family=Roboto+Slab&display=swap');

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

html {
    height: 100%;
    width: 100%;
}

body {
    min-height: 100%;
    width: 100%;
    overflow-x: hidden;
    background-color: #efefc0;
    color: #000a16;
    font-family: 'Roboto Slab', serif;
    font-size: 2.4vh;
    line-height: 3.6vh;
}

body>img {
    position: fixed;
    z-index: -999;
    width: 100%;
    opacity: 0.2;
    transform: translateY(-10%);
}

h1,
h2,
h3 {
    font-family: 'Oswald', sans-serif;
}

h1 {
    font-size: 4.8vh;
    line-height: 7.2vh;
    margin: 1vh 0;
}

h2 {
    font-size: 3.6vh;
    line-height: 5.4vh;
    margin: 0.8vh 0;
}

h3 {
    font-size: 3vh;
    line-height: 4.5vh;
    margin: 0.5vh 0;
}

article {
    margin: 1.5vh 0;
    padding: 1vh 10vw;
}

section {
    margin: 1.2vh;
}

section > p {
    text-indent: 5%;
    background-color: rgb(215, 170, 138);
    border-radius: 2vh;
    opacity: 0.8;
}

section > p:not(.frontPage) {
    position: relative;
    top: 20px;
    opacity: 0;
    display: block;
}

p {
    margin: 1vh 0;
    padding: 1vh 3vw;
}

a,
a:visited {
    color: #323232;
    text-decoration: underline;
}

#toggle-btn,
.menu a {
  display: grid;
  place-items: center;
  border-radius: 50%;
  z-index: 999;
}

#toggle-btn:hover {
  opacity: 1;
  cursor: pointer;
}

#toggle-btn {
  position: fixed;
  background-color: #0f1730;
  height: 100px;
  width: 100px;
  top: 15px;
  left: 15px;
  color: #ffffff;
  font-size: 40px;
  border: none;
  transition: 0.3s;
  opacity: 0.7;
  z-index: 999;
}

.menu a {
  position: fixed;
  background-color: lightslategrey;
  height: 70px;
  width: 70px;
  top: 30px;
  left: 30px;
  font-size: 22px;
  color: white;
  text-decoration: none;
  transition: 0.5s;
  opacity: 0;
}

.active {
  transform: rotate(45deg);
}

.menu a.show {
  opacity: 0.6;
}

.menu a.show:hover {
  opacity: 1;
}

figure>img {
    border-radius: 2vh;
}

img.me {
    width: 30vw;
}

.ch {
    display: none;
}

#translate-btn {
    position: fixed;
    background-color: #0f1730;
    height: 100px;
    width: 100px;
    top: 15px;
    right: 15px;
    color: #ffffff;
    font-size: 40px;
    border: none;
    transition: 0.3s;
    opacity: 0.7;
    z-index: 999;
    border-radius: 50%;
}

#backToTop-btn {
    display: none;
    position: fixed;
    background-color: #0f1730;
    height: 100px;
    width: 100px;
    bottom: 15px;
    right: 15px;
    color: #ffffff;
    font-size: 40px;
    border: none;
    transition: 0.3s;
    opacity: 0.7;
    z-index: 999;
    border-radius: 50%;
}

#backToTop-btn:hover {
    opacity: 1;
    cursor: pointer;
}

#translate-btn:hover {
    opacity: 1;
    cursor: pointer;
}

.info-block {
    background-color: lightblue;
    color: #0f1730;
    position: absolute;
    display: block;
    margin: auto;
    padding: 15px 0;
    border-radius: 2vh;
    width: 320px;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    text-decoration: none;
    z-index: 999;
}

#insta-link {
    left: 0;
    right: 0;
    top: 40vh;
}

#face-link {
    left: 0;
    right: 0;
    top: 60vh;
}

@media only screen and (max-width: 1200px) {
    body>img {
        width: auto;
        height: 120%;
    }
}

@media only screen and (max-width: 800px) {
    #toggle-btn {
      height: 50px;
      width: 50px;
      top: 15px;
      left: 15px;
      font-size: 20px;
    }
    
    .menu a {
      height: 35px;
      width: 35px;
      top: 30px;
      left: 30px;
      font-size: 11px;
    }

    img.me {
        width: 30vw;
    }

    #translate-btn {
        height: 50px;
        width: 50px;
        font-size: 20px;
    }

    #backToTop-btn {
        height: 50px;
        width: 50px;
        font-size: 20px;
    }

    article {
        margin: 1.5vh 0;
        padding: 1vh 6vw;
    }
}