@import url(/assets/css/benguiat.css);

header {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

header .logo {
  color: aliceblue;
  font-weight: 800;
  text-decoration: none;
  font-size: 2em;
  padding-left: 15%;
}

header .clearfix {
  visibility: hidden;
}

.nav-container {
  padding: 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.nav .icon{
  display: none;
}

.nav-container a {
  color: #f1f1f1;
  text-decoration: none;
}

.nav-container a:nth-child(2) {
  color: #a0e72e !important;
 }

.nav-container a:hover {
  color: #a0e72e !important;
}
.nav-container a:visited {
  color: #f1f1f1;
}
.nav-container a {
  padding: 30px;
  position: relative;
  animation-name: nav-animation;
  animation-duration: 4s;
  animation-delay: -2s;
}

@keyframes nav-animation {
  0% {
    left: 0px;
    top: 0px;
  }
  50% {
    left: 200px;
    top: 0px;
  }
  100% {
    left: 0px;
    top: 0px;
  }
}

body {
  background-color: #333333;
  margin: 0;
  padding: 0;
}

.main-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
}

.main-section-left {
  width: 50%;
  order: 1;
}

.main-section-right {
  font-family: Benguiat;
  text-align: center;
}

.main-section-right {
  width: 50%;
  order: 2;
}

.main-section-left img {
  width: 70%;
  float: right;
  margin-right: 90px;
}

.main-form input,
textarea {
  width: 50%;
  border-left-style: none;
  background-color: #333333;
  color: #a0e72e;
  box-sizing: border-box;
  border: none;
  border-bottom: solid 3px;
  line-height: 2;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.main-form input:focus,
textarea:focus {
  border: 2px solid greenyellow;
  border-radius: 5px;
  outline: none;
  box-shadow: 0px 0px 30px #a0e72e;
}

.main-form h1,
::placeholder {
  font-family: Benguiat;
  color: #a0e72e;
}
.main-form button {
  background-color: #333333;
  border-radius: 0px;
  margin-top: 20px;
  padding: 3px 30px;
  font-size: x-large;
  color: #a0e72e;
  border-radius: 10px;
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: black;
  height: 70px;
}

.social-media {
  text-align: center;
}
.social-media .gmail-logo {
  margin-left: 10px;
  font-size: 35px;
  color: yellow;
}
.social-media .github-logo {
  margin-left: 10px;
  font-size: 35px;
  color: yellow;
}
.social-media .linkedin-logo {
  margin-left: 10px;
  font-size: 35px;
  color: yellow;
}
.social-media .instagram-logo {
  margin-left: 10px;
  font-size: 35px;
  color: yellow;
}

@media  screen and (min-width:270px) and (max-width:319) {
  .main-section {
    display: block;
    width: 100%;
  }
  .main-section-left img {
    width: 70%;
    float: none;
    margin-right: 0px;
    border-radius: 174px;
    border-bottom: solid 10px #a0e72e;
  }

  .main-section-left {
    font-family: Benguiat;
    font-size: 0.9em;
    width: 100%;
    text-align: center;
  }

  .main-section-right {
    width: 100%;
  }

  .main-section button {
    margin-bottom: 10px;
    border-radius: 10px;
  }
}
@media screen and (min-width: 320px) and (max-width: 480px) {
  header{
    font-family: Benguiat;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 2%;
  }

  header a{
    align-self: start;
  }
  .nav {
    justify-self: end;
    float: right;
    padding-top: 10px;
    padding-right: 10px;
  }

  .nav .icon{
    color:#a0e72e;
    display: block;
    position:absolute;
    right:0;
    top:0;
    padding: 10px 20px 0px 0px;
    font-size: 30px;
  }
  .nav .icon:focus{
    color:black;
  }

  .nav .nav-container {
    display:none;
    text-align: right;
    padding: 35px 10px 0px 0px;
  }
  .nav-container a {
    text-decoration: none;
    font-size: 20px;
    display: block;
  }
  .nav-container a:nth-child(2) {
   color: #a0e72e;
  }
  .nav-container a:hover {
    color: #a0e72e !important;
  }
  .nav-container .nav-item{
    padding: 0px;
    position: relative;
    animation-name: nav-animation;
    animation-duration: 4s;
    animation-delay: -2s;
  }

  @keyframes nav-animation {
    0% {
      left: 0px;
      bottom: 50px;
    }
    50% {
      left: 0px;
      bottom: 200px;
    }
    100% {
      left: 0px;
      bottom: 0px;
    }
  }

  .main-section {
    display: block;
    width: 100%;
  }

  .main-section-left img {
    width: 70%;
    float: none;
    margin-right: 0px;
    border-radius: 174px;
    border-bottom: solid 10px #a0e72e;
  }

  .main-section-left {
    font-family: Benguiat;
    font-size: 0.9em;
    width: 100%;
    text-align: center;
  }

  .main-section-right {
    width: 100%;
  }

  .main-section button {
    margin-bottom: 10px;
    border-radius: 10px;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  header{
    font-family: Benguiat;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 2%;
  }

  header a{
    align-self: start;
  }
  .nav {
    justify-self: end;
    float: right;
    padding-top: 10px;
    padding-right: 10px;
  }

  .nav .icon{
    color:#a0e72e;
    display: block;
    position:absolute;
    right:0;
    top:0;
    padding: 10px 20px 0px 0px;
    font-size: 30px;
  }
  .nav .icon:focus{
    color:black;
  }

  .nav .nav-container {
    display:none;
    text-align: right;
    padding: 35px 10px 0px 0px;
  }
  .nav-container a {
    text-decoration: none;
    font-size: 20px;
    display: block;
  }
  .nav-container a:nth-child(2) {
   color: #a0e72e;
  }
  .nav-container a:hover {
    color: #a0e72e !important;
  }
  .nav-container .nav-item{
    padding: 0px;
    position: relative;
    animation-name: nav-animation;
    animation-duration: 4s;
    animation-delay: -2s;
  }

  @keyframes nav-animation {
    0% {
      left: 0px;
      bottom: 50px;
    }
    50% {
      left: 0px;
      bottom: 200px;
    }
    100% {
      left: 0px;
      bottom: 0px;
    }
  }

  .main-section-left img {
    width: 70%;
    margin-right: 20px;
    border-radius: 174px;
    border-bottom: solid 10px #a0e72e;
  }

  .main-section-left {
    font-family: Benguiat;
    font-size: 1em;
    margin-left: 20px;
  }

  .main-section button {
    margin-bottom: 10px;
    border-radius: 10px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .nav-container a:nth-child(2) {
    color: #a0e72e;
   }
    .main-section {
        display: block;
        width: 100%;
      }

      .main-section-left img {
        width: 55%;
        float: none;
        margin-right: 0px;
        border-radius: 174px;
        border-bottom: solid 10px #a0e72e;
      }

      .main-section-left {
        font-family: Benguiat;
        font-size: 1.2em;
        width: 100%;
        text-align: center;
      }

      .main-section-right {
        width: 100%;
      }

      .main-section button {
        margin-bottom: 30px;
        font-size: xx-large;
        border-radius: 10px;
      }
    }
}

@media screen and (min-width: 1025px) and (max-width: 1200px) {
}

@media screen and (min-width: 1201px) {
}
