/* mobile style */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Comfortaa", cursive;
}
a{
  cursor: pointer;
}
.container {
  height: 100vh;
  position: relative;
  z-index: 1;
  top: 0;
  display: grid;
  grid-template-columns:100%;
  grid-template-rows: 85% 15%;
  grid-template-areas: 
  " main" 
  "asidebar"
;
}
.menu-btn {
  cursor: pointer;
  margin-bottom: -1em;
  position: fixed;
  z-index: 999;
  top: 8%;
  right: 4%;
}
.menu-btn .one,
.menu-btn .two,
.menu-btn .three {
  display: block;
  margin-bottom: 5px;
  background-color: white;
  border-radius: 5px;
  height: 5px;
  transition: all ease-in-out 0.5s;
}
.menu-btn .one {
  width: 50px;
}
.menu-btn .two {
  width: 30px;
  transform: translateX(20px);
}
.menu-btn .three {
  width: 20px;
  transform: translateX(30px);
  opacity: 1;
}
.menu-btn .one.open {
  transform: rotate(-45deg) translateY(-15px);
  transform-origin: right;
}
.menu-btn .two.open {
  width: 50px;
  transform: rotate(40deg) translatey(15px);
  transform-origin: right;
}
.menu-btn .three.open {
  width: 20px;
  transform: translateX(0px);
  opacity: 0;
}
.logo {
  position: absolute;
  z-index: 999;
  top: 2em;
  left: 3vw;
}
.logo img {
  width: 125px;
}
aside {
  grid-area: asidebar;
  background-color: black;
  padding: 0;
  position: fixed;
  width:100%;
  bottom: 0;
  z-index: 888;
  height: 15vh;
}
aside nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}

aside nav .nav-link {
 display: none;
}
aside nav .social-link {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 7%; 
}
aside nav .social-link a{margin-right: 3em;}
aside nav .social-link img {
  width: 40px;
}
main {
  grid-area: main;
  color: white;
}
/* menu section*/
  main .menu {
    background-color: rgba(0, 0, 0, 0.96);
    height: 85vh;
    width: 100%;
    position: fixed;
    z-index: 777;
    text-align: center;
    top: 0vh;
    right: -125vw;
    transition: all ease-in-out 0.6s;
  }
  main .menu.openMenu {
    right: 0vw;
  }
  main .menu ul {
    position: absolute;
    top: 25%;
    left: 22%;
  }
  main .menu ul li {
    list-style: none;
    margin-bottom: 45%;
  }
  main .menu ul li a {
    text-decoration: none;
    color: #e1e1e1;
    font-size: 2em;
    font-weight: 900;
  }
  main .menu ul li:nth-child(1) {
    transform: translateX(80px);
    opacity: 0;
    transition: all ease-in-out 0.2s;
  }
  main .menu ul li:nth-child(2) {
    transform: translateX(150px);
    opacity: 0;
  }
  main .menu ul li:nth-child(3) {
    transform: translateX(180px);
    opacity: 0;
  }
  main .menu ul li:nth-child(4) {
    transform: translateX(240px);
    opacity: 0;
  }
  main .menu ul li:nth-child(1).openMenu {
    transform: translateX(0px);
    opacity: 1;
  }
  main .menu ul li:nth-child(2).openMenu {
    transform: translateX(0px);
    opacity: 1;
  }
  main .menu ul li:nth-child(3).openMenu {
    transform: translateX(0px);
    opacity: 1;
  }
  main .menu ul li:nth-child(4).openMenu {
    transform: translateX(0px);
    opacity: 1;
  }
/* home section */
  main .home {
    background-image: url(../imgs/IMG_-2.png);
    background-position: center;
    background-color: rgba(0, 0, 0, 0.93);
    background-size: cover;
    background-blend-mode: screen;
    background-repeat: no-repeat;
    height: 85vh;
    position: relative;
    z-index: 1; 
    opacity: 0; 
    transition: all ease-in-out 1s;
  }
  main .home.openSection ,  main .about.openSection ,main .contact_me.openSection , main .gallery.openSection
   {
    z-index: 666;
    opacity: 1;
    display: block;
  }
  main .home .header-para {
    position: absolute;
      top: 57%;
      left: 5%;
  }
  main .home .header-para p {
    font-size: 1.4em;
    color: #e1e1e1;
  }
  main .home .header-para h1 {
    font-size: 2.5em;
    font-weight: 300;
    margin: -10px 0;
  }
  main .home .header-para button {
    width: 150px;
    background: none;
    border-radius: 150px;
    border: 3px solid white;
    margin-right: 16px;
    padding: 15px;
  }
  main .home .header-para button.gold {
    border: 3px solid #dccf69;
  }
  main .home .header-para button a {
    text-decoration: none;
    color: #e1e1e1;
    font-size: 2em;
  }
  a.active {
    border-bottom: 3px solid #dccf69;
    color: #dccf69;
  }
/* About Me section */
  main .about {
    background-image: url(../imgs/IMG_20190803_002008-01m2.jpg);
    background-position: left 52% bottom;
    background-color: rgba(29, 29, 29, 0.93);
    background-size: 125vh;
    background-blend-mode: screen;
    background-repeat: no-repeat;
    height: 100vh;
    position: relative;
    z-index: 2;
    top: -100vh;
    opacity: 0;
    transition: all ease-in-out 1s;
    display: none;
  }
  main .about .header-para {
    position: absolute;
    top: 45vh;
    left: 6vw;
    width: 90%;
  }
  main .about .header-para p {
    font-size: 1em;
    color: #e1e1e1;
    line-height: 1.5;
  }
  main .about .header-para h1 {
    font-size: 2em;
    margin-top: -10px;
    margin-bottom: -10px;
  }
  main .about .header-para button {
    width: 150px;
    background: none;
    border-radius: 150px;
    border: 3px solid white;
    margin-right: 16px;
    padding: 15px;;
  }
  main .about .header-para button.gold {
    border: 3px solid #dccf69;
  }
  main .about .header-para button a {
    text-decoration: none;
    color: #e1e1e1;
    font-size: 2em;
  }
/* contact me section */
  main .contact_me {
    background-color: #1b1a1a; 
    transition: all ease-in-out 1s;
    height: 127vh;
    position: relative;
    top: -85vh;
    z-index: 3;
    opacity: 0;
    display: flex;
    flex-direction: column;
    padding: 7em 2em;
    display: none;
  }
  main .contact_me hr.center {
   display: none;
  }
  main .contact_me .content {
    width: unset;
    position: unset;
    margin: -3px 0
  }
  main .contact_me .content h1 {
    font-size: 1.5em;
    margin: auto;
    margin-top: 25px;
  }
  main .contact_me .content h2 {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 3px;
  }
  main .contact_me .content hr {
    width: 100px;
    background-color: #dccf69;
    height: 6px;
    border: none;
    border-radius: 3px;
    transform: translateX(-144px);
  }
  main .contact_me .content p:first-of-type {
    font-size: 1.2em;
    line-height: 1.5;
    color: #bdbdbd;
    width: 84%;
  }
  main .contact_me .content p {
    font-size: 1.2em;
    margin-left: 27px;
  }
  main .contact_me .contact_form {
    float: none;
    width: unset;
    position: unset;
    margin-top: 55px;
  }
  main .contact_me .contact_form div {
    margin: 30px 20px;
  }
  main .contact_me .contact_form div label {
    display: none;
  }
  main .contact_me .contact_form div input {
    width: 95%;
    background: none;
    border: 3px solid #e2e0dd;
    border-radius: 25px;
    height: 50px;
    color: #bdbdbd;
    font-size: 1.5em;
    padding: 5px;
  }
  main .contact_me .contact_form div input::placeholder {
    font-size: 25px;
    color: #bdbdbd;
    text-align: center;
    opacity: 0.5;
  }
  main .contact_me .contact_form input[type="submit"] {
    background: none;
    color: white;
    font-size: 2em;
    padding: 8px;
    border: 3px solid #dccf69;
    border-radius: 25px;
    width: 145px;
    float: right;
    margin-right: 150px;
    margin-top: 0px;
    cursor: pointer;
  }
  main .contact_me .contact_form div textarea {
    width: 95%;
    background: none;
    border: 3px solid #e2e0dd;
    border-radius: 25px;
    height: 200px;
    color: #bdbdbd;
    font-size: 1.5em;
    padding: 4px;
  }
  main .contact_me .contact_form div textarea::placeholder {
    font-size: 25px;
    color: #bdbdbd;
    text-align: center;
    opacity: 0.5;
  }

/* desktop style */
@media only screen and (min-width:768px){
  
  .container {
    height: 100vh;
    position: relative;
    z-index: 1;
    top: 0;
    display: grid;
    grid-template-columns: 90% 10%;
    grid-template-rows: 100%;
    grid-template-areas: "main asidebar";
  }
  
  .logo img {
    width: unset;
  }
  aside {
    grid-area: asidebar;
    background-color: black;
    padding: 3em 0;
    position: fixed;
    height: 100vh;
    right: 0;
    z-index: 888;
    width: 10%;
  }
  aside nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  aside nav .nav-link{
    display: block;
    position: absolute;
    top: 17%;
    right: 20%;
  }
  aside nav .nav-link ul li {
    list-style: none;
    margin-top: 13vh;
    transform: rotate(-90deg);
  }
  aside nav .nav-link a {
    text-decoration: none;
    font-size: 1.8em;
    color: #e1e1e1;
  }
  aside nav .social-link {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 52%;
    right: 5%;
  }
  aside nav .social-link img {
    width: 40px;
    padding: 15px 0px;
  }
  
  main {
    grid-area: main;
    color: white;
  }
  /* menu section*/
  main .menu {
    background-color: rgba(0, 0, 0, 0.96);
    height: 100vh;
    width: 91%;
    position: fixed;
    z-index: 777;
    text-align: center;
    top: 0vh;
    right: -125vw;
    transition: all ease-in-out 0.6s;
  }
  main .menu.openMenu {
    right: 9vw;
  }
  main .menu ul {
    position: absolute;
    top: 25%;
    left: 45%;
  }
  /* home section */
  main .home {
    background-image: url("../imgs/IMG_-2.png");
    background-position: right;
    background-color: rgba(0, 0, 0, 0.93);
    background-size: contain;
    background-blend-mode: screen;
    background-repeat: no-repeat;
    height: 100vh;
    position: relative;
    z-index: 1; 
    opacity: 0;
    transition: all ease-in-out 1s;
  }
  main .home.openSection {
    z-index: 666;
    opacity: 1;
  }
  main .home .header-para {
    position: absolute;
      top: 30%;
      left: 10%;
  }
  main .home .header-para p {
    font-size: 2.4em;
    color: #e1e1e1;
  }
  main .home .header-para h1 {
    font-size: 5.5em;
    font-weight: 300;
    margin: -10px 0;
  }
  main .home .header-para button {
    width: 200px;
    background: none;
    border-radius: 150px;
    border: 3px solid white;
    margin: 20px;
    padding: 15px;
  }
  main .home .header-para button.gold {
    border: 3px solid #dccf69;
  }
  main .home .header-para button a {
    text-decoration: none;
    color: #e1e1e1;
    font-size: 3em;
  }
  a.active {
    border-bottom: 3px solid #dccf69;
    color: #dccf69;
  }
  /* About Me section */
  main .about {
    background-image: url("../imgs/IMG_20190803_002008-01m2.jpg");
    background-position: left -18% top 0%;
    background-color: rgba(29, 29, 29, 0.93);
    background-size: 130vh;
    background-blend-mode: screen;
    background-repeat: no-repeat;
    height: 100vh;
    position: relative;
    z-index: 2;
    top: -100vh;
    opacity: 0;
    transition: all ease-in-out 1s;
  }
  main .about.openSection {
    z-index: 666;
    opacity: 1;
  }
  main .about .header-para {
    position: absolute;
    top: 14vh;
    left: 42vw;
    width: 50%;
  }
  main .about .header-para p.min {
    font-size: 1.5em;
  }
  main .about .header-para p {
    font-size: 1.5em;
    color: #e1e1e1;
    line-height: 1.5;
  }
  main .about .header-para h1 {
    font-size: 4em;
    margin-top: -15px;
  }
  main .about .header-para button {
    width: 200px;
    background: none;
    border-radius: 150px;
    border: 3px solid white;
    margin: 20px;
    padding: 15px;
  }
  main .about .header-para button.gold {
    border: 3px solid #dccf69;
  }
  main .about .header-para button a {
    text-decoration: none;
    color: #e1e1e1;
    font-size: 3em;
  }
  /* contact section */
  main .contact_me {
    background-color: #1b1a1a;
    position: relative;
    height: 100vh;
    top: -100vh;
    z-index: 3;
    opacity: 0;
    transition: all ease-in-out 1s;
    padding: unset;
  }
  main .contact_me.openSection {
    z-index: 666;
    opacity: 1;
  }
  main .contact_me hr.center {
    display: inline-block;
    width: 30%;
    margin: 0;
    background-color: #dccf69;
    height: 6px;
    border: none;
    border-radius: 3px;
    transform: rotate(90deg);
    position: absolute;
    top: 56vh;
    left: 27vw;
  }
  main .contact_me .content {
    width: 40%;
    position: absolute;
    top: 28vh;
    left: 5vw;
  }
  main .contact_me .content h1 {
    font-size: 3em;
    margin: auto;
  }
  main .contact_me .content h2 {
    font-size: 2em;
    margin-top: 63px;
  }
  main .contact_me .content hr {
    width: 150px;
    background-color: #dccf69;
    height: 6px;
    border: none;
    border-radius: 3px;
    transform: translateX(-200px);
  }
  main .contact_me .content p:first-of-type {
    font-size: 1.5em;
    line-height: 1.5;
    color: #bdbdbd;
    width: 84%;
  }
  main .contact_me .content p {
    font-size: 1.5em;
    margin-left: 27px;
  }
  main .contact_me .contact_form {
    float: right;
    width: 50%;
    position: absolute;
    top: 15vh;
    left: 43vw;
  }
  main .contact_me .contact_form div {
    margin: 25px 0;
  }
  main .contact_me .contact_form div label {
    display: inline-block;
    font-size: 2em;
    margin-right: 10%;
    width: 20%;
  }
  main .contact_me .contact_form div label.mess {
    font-size: 2em;
    margin-right: 3%;
    width: 25%;
    position: relative;
    top: -232px;
  }
  main .contact_me .contact_form div input {
    width: 65%;
    background: none;
    border: 3px solid #e2e0dd;
    border-radius: 25px;
    height: 50px;
    color: #bdbdbd;
    font-size: 1.5em;
    padding: 5px;
  }
  main .contact_me .contact_form div input::placeholder {
    opacity: 0;
  }
  main .contact_me .contact_form input[type="submit"] {
    background: none;
    color: white;
    font-size: 2em;
    padding: 10px;
    border: 3px solid #dccf69;
    border-radius: 25px;
    width: 150px;
    float: right;
    margin-right: 50px;
    margin-top: 0px;
    cursor: pointer;
  }
  main .contact_me .contact_form div textarea {
    width: 68%;
    background: none;
    border: 3px solid #e2e0dd;
    border-radius: 25px;
    height: 251px;
    color: #bdbdbd;
    font-size: 1.5em;
    padding: 4px;
  }
  main .contact_me .contact_form div textarea::placeholder {
    opacity: 0;
  }
}
