* {
  padding: 0;
  margin: 0;
  list-style: none;
}

body {
  background-color: rgb(17, 17, 17);
}

/* headers */
nav.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background-color: rgb(11, 11, 11);
  height: 110px;
  font-family: "Montserrat";
}

.logo {
  width: 50px;
  height: 50px;
  line-height: 100px;
  margin-left: 30px;
  margin-top: 30px;
  border-radius: 50%;
  border-color: rgb(74, 0, 120);
  border-style: groove;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  float: left;
}

.logo:hover,
.logo:active {
  transform: scale(1.5) rotate(360deg);
  border-color: rgb(80, 0, 156);
}

nav ul {
  float: right;
  margin-right: 20px;
}

nav ul li {
  display: inline-block;
  line-height: 100px;
  margin: 0 20px;
}

nav ul li a {
  color: white;
  font-size: 20px;
  text-decoration: none;
  padding: 7px 13px;
  border-radius: 5px;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
}

nav ul li a:hover,
a.active {
  background-color: rgb(215, 215, 215);
  color: black;
  font-size: 25px;
}

nav p {
  color: white;
  display: inline-block;
  top: 45px;
  margin-left: 20px;
  position: relative;
  font-size: 20px;
  font-weight: bold;
  font-family: "Montserrat";
}

.checkbtn {
  font-size: 30px;
  color: white;
  float: right;
  line-height: 80px;
  cursor: pointer;
  display: none;
  margin-right: 20px;
  margin-top: 16px;
}

#check {
  display: none;
}

/* end of headers */

/* aboutme main page */
.mainpage {
  text-align: center;
  display: block;
  margin: 200px 100px;
  font-family: "montserrat", sans-serif;
  color: white;
  font-size: 20px;
}

input {
  display: none;
}

.aboutbtn {
  width: 100px;
}

/* end of aboutme main page */

/* aboutme */
.titleabout {
  text-shadow: 5px 5px black;
  margin: 10px;
  animation: fromabove 1s forwards;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
}

.lineabout {
  position: relative;
  display: block;
  animation: slide-right 1s forwards;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
}

/* end of about me */

/* hobbies */
.titlehobbies {
  text-shadow: 5px 5px black;
  margin: 10px;
  animation: fromabove 1.5s forwards;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
}

.linehobbies {
  position: relative;
  display: block;
  animation: slide-left 1s forwards;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
}
/* end of hobbies */

/* personality */
.titlepersonality {
  text-shadow: 5px 5px black;
  margin: 10px;
  animation: fromabove 2s forwards;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
}

.linepersonality {
  position: relative;
  display: block;
  animation: slide-right 1s forwards;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
}

.linepersonality a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-style: italic;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
}

.linepersonality a:hover {
  font-size: 22px;
  text-shadow: 5px 5px black;
}
/* end of personality */

/* life description */
.titlelife {
  text-shadow: 5px 5px black;
  margin: 10px;
  animation: fromabove 2.5s forwards;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
}

.linelife {
  position: relative;
  display: block;
  animation: slide-left 1s forwards;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
}

/* end of life description */

/* animations */
@keyframes slide-left {
  0% {
    transform: translateX(-80px);
    opacity: 0;
  }
  80% {
    transform: translateX(30px);
    opacity: 0.8;
  }
  90% {
    transform: translateX(-10px);
    opacity: 0.9;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-right {
  0% {
    transform: translateX(80px);
    opacity: 0;
  }

  80% {
    transform: translateX(-30px);
    opacity: 0.8;
  }

  90% {
    transform: translateX(10px);
    opacity: 0.9;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fromabove {
  0% {
    transform: translateY(-80px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}
/* end of animation */

/* responsives */
@media (max-width: 952px) {
  nav ul li a {
    font-size: 16px;
  }
}

@media (max-width: 858px) {
  .mainpage {
    margin: 200px 30px;
  }

  #check:checked ~ .checkbtn {
    font-size: 45px;
  }

  .checkbtn:hover {
    font-size: 45px;
  }

  .checkbtn {
    display: block;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
  }

  ul {
    position: fixed;
    z-index: 10;
    width: 100%;
    height: 100%;
    background: rgba(23, 23, 23, 0.938);
    top: 110px;
    left: 100%;
    text-align: center;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
  }

  nav ul li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }

  nav ul li a {
    font-size: 20px;
  }

  #check:checked ~ ul {
    left: 0;
  }
}

/* end of navbar responsive */
