@import "contact.css";

/*==============*/
/*GENERAL STYLES */
/*==============*/

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.body {
  background: rgb(245, 245, 245);
}

.home-page h1,
h2,
h3 {
  font-family: Oswald, sans-serif;
  letter-spacing: 0.02rem;
  font-size: 22px;
}

.home-page,
.collapse-content,
p,
.projects,
.card,
.project-info li,
a.sp-button,
.resume-download span,
button,
a {
  font-family: "Source Sans 3", sans-serif;
}

a {
  text-decoration: none;
}

a:hover {
  cursor: pointer;
}

.main {
  text-align: center;
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin-top: -15vh;
}

h2 {
  padding: 5px 0;
  font-size: 35px;
  color: black;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.underline {
  width: 40px;
  height: 6px;
  background-color: #03cc85;
  margin: 0 auto;
}

::selection,
::-moz-selection {
  background: #03cc85;
  color: white;
}

/*==============*/
/*NAVIGATION STYLES */
/*==============*/

.nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 62px;
  animation: 500ms ease-out 0s 1 slideDown;
  transition: background-color 200ms ease;
}

.nav-background {
  background-color: #0a1316;
  transition-duration: 0s;
}

.nav-scrolled {
  background-color: #0a1316;
}

.logo {
  position: absolute;
  top: 13px;
  left: 14px;
  font-size: 35px;
  font-family: "Arizonia";
  color: white;
  z-index: 100;
}

#logo:hover {
  color: white;
}

#logo:focus {
  color: white;
}

.nav-button {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

.burger-bar {
  width: 25px;
  height: 2px;
  background-color: white;
  margin: 6px 5px;
  transition-duration: 300ms;
}

.cross > #bb-two {
  display: none;
}

.cross > #bb-one {
  transform: rotate(45deg) translate(6px, 6px);
  width: 30px;
  transition-duration: 300ms;
}

.cross > #bb-three {
  transform: rotate(-45deg);
  width: 30px;
  transition-duration: 300ms;
}

.collapse-content {
  height: 0;
  background: #0a1316;
  padding: 0 20px 0;
  transition-duration: 400ms;
  opacity: 0;
  overflow: hidden;
  margin-top: 55px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 20px;
  letter-spacing: 0.03em;
  width: 100%;
}

.toggle {
  height: 100vh;
  transition-duration: 300ms;
  opacity: 1;
}

.collapse-content ul {
  padding: 40px 0 0 0;
}

.collapse-content li {
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1px;
}

.collapse-content a {
  color: white;
  margin: 50px 0 10px 0;
}

.nav a:focus {
  color: #03cc85;
}

.nav-divider {
  width: 6vw;
  margin: 10px auto 50px;
  height: 4px;
  background-color: #03cc85;
}

@media (min-width: 768px) {
  /*global styles*/
  h2 {
    font-size: 50px;
  }
  h3 {
    font-size: 26px;
  }
  .underline {
    width: 50px;
    height: 7px;
  }
  /*nav styles*/
  .nav-button {
    display: none;
  }
  nav {
    display: flex;
  }
  .nav {
    height: 80px;
  }
  .logo {
    font-size: 40px;
    padding: 5px 0 0 5px;
  }
  .collapse-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    height: 50px;
    transform: translateX(0px);
    transition-duration: 0ms;
    opacity: 1;
    margin: 0;
    background-color: rgba(255, 255, 255, 0);
    font-family: "Source Sans 3", sans-serif;
  }
  .nav-divider {
    width: 0;
    height: 3px;
    margin: 0;
  }
  .nav-link:hover div.nav-divider {
    width: 40%;
    transition: 200ms linear;
  }
  .ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .collapse-content a {
    font-size: 16px;
  }
  .collapse-content li {
    padding: 0 24px 0 0;
  }
}
@media (min-width: 1200px) {
  /*global styles*/
  h2 {
    font-size: 60px;
    padding-bottom: 0;
  }
  .underline {
    width: 60px;
    height: 8px;
  }
  /*nav styles*/
  .collapse-content ul {
    padding-top: 0px;
    margin-top: 30px;
  }
  .collapse-content {
    margin-top: 5px;
  }
  .logo {
    padding: 10px 0 0 20px;
  }
  .collapse-content a {
    font-size: 18px;
  }
  .nav-divider {
    transition: 200ms linear;
  }
}

@keyframes slideDown {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
