/* Variables */
/* Mixins */
/* Imports */
/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: 'Montserrat', sans-serif;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 4rem;
}

h3 {
  font-size: 2.5rem;
}

h4,
h5 {
  font-size: 2rem;
}

ul {
  list-style: none;
}

label,
li,
button,
input,
a,
p {
  color: #2c2c2c;
  font-size: 2.5rem;
}

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

.main-head {
  width: 95%;
  margin: 0 0 0 auto;
}

nav {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 10vh;
  width: 60%;
}

nav .logo {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex: 1 1 10rem;
}

nav .logo h1 {
  margin: 2rem;
}

nav ul {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex: 1 1 40rem;
}

.intro {
  flex-wrap: wrap;
  margin: auto;
  min-height: 90vh;
  width: 90%;
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.intro h2 {
  background: linear-gradient(to left, #38d39f, #38a4d3);
  background-clip: text;
  display: inline-block;
  font-size: 8rem;
  padding-top: 2rem;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro h3 {
  font-size: 6rem;
  padding: 2rem 0;
}

.intro p {
  color: #2c2c2c;
  padding-top: 2rem;
}

.intro-social {
  margin-top: 4rem;
}

.intro-social a {
  margin-right: 5rem;
}

.intro-text,
.intro-images {
  flex: 1 1 40rem;
}

.active {
  background: #2c2c2c;
  border-radius: 20rem;
  color: #fff;
  padding: 1rem 3rem;
}

.splash {
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}

#me {
  animation: me 1s ease infinite alternate;
  transform-origin: bottom;
}

#plant-left {
  animation: plant 1.5s ease alternate;
}

#plant-right {
  animation: plant 1.5s ease alternate 0.5s;
}

#clock-arrow {
  animation: clock 1.5s infinite linear;
  transform-box: fill-box;
  transform-origin: bottom;
}

@keyframes me {
  from {
    transform: rotateZ(-5deg);
  }
  to {
    transform: rotateZ(5deg);
  }
}

@keyframes plant {
  from {
    transform: translateY(0%);
  }
  to {
    transform: translateY(-30%);
  }
}

@keyframes clock {
  from {
    transform: rotateZ(0);
  }
  to {
    transform: rotateZ(360deg);
  }
}

.projects {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: auto;
  min-height: 90vh;
  padding-bottom: 5rem;
  text-align: center;
  width: 90%;
}

.projects h2 {
  margin: 5rem;
}

.project {
  flex: 1 1 40rem;
}

.form-section {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 3rem;
  min-height: 80vh;
}

.form-section form {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 2rem;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2), 0px 20px 40px rgba(0, 0, 0, 0.2);
  padding: 3rem 10rem;
}

.form-section form input,
.form-section form textarea {
  margin: 2rem;
}

.form-section form input:focus,
.form-section form textarea:focus {
  outline: 2px solid #000;
}

.form-section form textarea {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
}

.form-section form button {
  background: #154353;
  border: none;
  color: #fff;
  padding: 2rem;
  width: 100%;
}

.form-section form button:focus {
  background: #33696b;
}

footer {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  background: #154353;
  color: #fff;
  min-height: 10vh;
  padding: 0 5%;
}

footer h4 {
  flex: 1 1 40rem;
}

footer ul {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex: 1 1 40rem;
}

/* Media Query */
@media screen and (max-width: 1332px) {
  html {
    font-size: 53%;
  }
  .splash {
    display: none;
  }
  svg {
    width: 80%;
  }
  nav {
    width: 100%;
  }
}

@media screen and (max-width: 754px) {
  html {
    font-size: 45%;
  }
  svg {
    height: 60%;
  }
  nav .logo {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 20rem;
    margin-top: 2rem;
  }
  nav ul {
    flex: 1 1 60rem;
    margin: 2rem 0;
  }
  .main-head {
    width: 100%;
  }
  .intro-text {
    margin-top: 5rem;
    text-align: center;
  }
  .intro-social {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .intro-social a {
    margin: 2rem;
  }
  .intro-images {
    text-align: center;
  }
  .project {
    flex: 1 1 50rem;
  }
  .project img {
    height: 100%;
    width: 100%;
  }
  .form {
    padding: 0;
    width: 100%;
  }
}
