@import url('https://fonts.googleapis.com/css2?family=Teko:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&display=swap');

body {
  height: 100vh;
  background-color: #1fa1b8;
  transition: 280ms linear;
}

.container-fluid:first-of-type {
  position: fixed;
}

img:hover {
  cursor: default;
}

#logo {
  margin-left: 30px;
}

#header {
  flex-wrap: nowrap;
  background-color: #1fa1b8d3;
  transition: 280ms linear;
}

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 600px;
  margin-right: 25px;
}

li {
  list-style: none;
  margin-right: 120px;
  font-family: 'Teko', sans-serif;
  font-size: 32px;
  margin: 0 auto;
  transition: 280ms linear;
  color: black;
}

li:hover {
  color: #99afd7;
  text-shadow: 3px 3px #065664;
  cursor: pointer;
}

a:first-of-type {
  text-decoration: none;
  color: inherit;
}

#topbar {
  display: flex;
  justify-content: space-between;
  padding: 0;
}

#banner {
  flex-wrap: wrap;
  padding-top: 95px;
}

.container-fluid:nth-of-type(2) {
  height: 400px;
}

#turn-blue {
  background-image: linear-gradient(
    171.8deg,
    rgba(5, 111, 146, 1) 13.5%,
    rgba(6, 57, 84, 1) 78.6%
  );
  display: block;
  height: 292px;
  padding-top: 55px;
  transition: 280ms linear;
  text-align: center;
}

#name {
  padding-top: 10px;
  color: white;
  font-family: 'Fjalla One', sans-serif;
  font-size: 73px;
  transition: 280ms linear;
}

#banner p {
  color: white;
  font-family: 'Noto Sans', sans-serif;
  transition: 280ms linear;
}

#full-stack {
  font-size: 20px;
}

#banner p:first-of-type {
  margin-bottom: 0;
  margin-top: 12px;
  font-size: 43px;
}

h4 {
  margin-top: 10px;
}

h3 {
  margin-top: 89px;
  margin-bottom: 29px;
}

#fet {
  text-align: center;
  color: white;
  font-family: 'Fjalla One', sans-serif;
  font-size: 50px;
  transition: 280ms linear;
}

#bet {
  text-align: center;
  color: white;
  font-family: 'Fjalla One', sans-serif;
  font-size: 50px;
  transition: 280ms linear;
}

main {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding-top: 20px;
  margin-bottom: 4px;
  background-color: #1fa1b8;
  transition: 280ms linear;
}

input[type='radio']:hover {
  cursor: pointer;
}

#main-heading {
  font-family: 'Fjalla One', sans-serif;
  color: whitesmoke;
  padding-top: 3px;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

#theme-changer {
  display: flex;
  justify-content: space-around;
  max-width: 300px;
  margin: auto;
  margin-bottom: 14px;
}

ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 100%;
  flex-wrap: wrap;
  padding: 0px;
}

.icon {
  padding-left: 10px;
  padding-right: 10px;
}

#jslogo:hover {
  cursor: default;
}

#menu-icon {
  display: none;
  color: black;
}

#about-section {
  background-image: linear-gradient(
    171.8deg,
    rgba(5, 111, 146, 1) 13.5%,
    rgba(6, 57, 84, 1) 78.6%
  );
  padding-bottom: 46px;
}

#about-heading {
  text-align: center;
  padding-top: 19px;
}

#about,
#resume-header {
  font-family: 'Fjalla One', sans-serif;
  font-size: 50px;
  color: whitesmoke;
  padding: 20px 0px 45px 0px;
}

#about-flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1695px;
  margin: auto;
}

#about-article {
  color: white;
  font-size: 20px;
  font-family: 'Noto Sans', sans-serif;
  line-height: 2;
  word-spacing: 1px;
  max-width: 800px;
  padding-right: 19px;
}

#about-image {
  max-width: 100%;
  max-height: 387px;
}

figcaption {
  color: rgb(218, 218, 218);
}

.col-md-6 {
  text-align: center;
}

#contact-heading {
  text-align: center;
  padding-top: 19px;
  background-image: linear-gradient(
    171.8deg,
    rgba(5, 111, 146, 1) 13.5%,
    rgba(6, 57, 84, 1) 78.6%
  );
}

#contact {
  font-family: 'Fjalla One', sans-serif;
  font-size: 50px;
  color: white;
  padding: 20px 0px 31px 0px;
}

#contact-row {
  padding-bottom: 5px;
}

#tools {
  padding-top: 41px;
  padding-bottom: 16px;
}

#resume-header {
  padding-top: 40px;
}

.modals {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: 200ms ease-in-out;
  border: 1px solid black;
  border-radius: 5px;
  background-color: black;
  width: 500px;
  max-width: 80%;
  z-index: 10;
}

.close-button {
  color: white;
}

.modals.active {
  transform: translate(-50%, -50%) scale(1);
}

.modals-header {
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modals-header .title {
  color: white;
  font-size: 1.25rem;
  font-weight: bold;
}

.modals-header .close-button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-size: 1.25 rem;
  font-weight: bold;
}

.modals-body {
  text-align: center;
}

#overlay {
  position: fixed;
  opacity: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: 200ms ease-in-out;
  pointer-events: none;
}

#overlay.active {
  opacity: 1;
  pointer-events: all;
}

form {
  border: 3px groove darkblue;
  background-color: #1fa1b8;
  margin: 0 auto;
  max-width: 700px;
  text-align: left;
  padding: 20px;
  margin-bottom: 35px;
  transition: 280ms linear;
}

form label {
  color: white;
  font-family: 'Noto Sans', sans-serif;
  padding-left: 2px;
  font-size: 18px;
  padding-bottom: 2px;
}

form input {
  margin-bottom: 12px;
  outline: none;
  width: 220px;
}

#formMessage {
  width: 100%;
  height: 145px;
  outline: none;
  resize: none;
  border-radius: 3px;
}

#btn {
  text-align: right;
}

#send-email {
  padding: 3px 7px 3px 7px;
  border: none;
  border-radius: 3px;
  color: white;
  background-color: rgb(29, 117, 108);
  margin-right: 10px;
}

#social-media {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: auto;
  max-width: 500px;
  padding-bottom: 7px;
}

#social-media i:hover {
  opacity: 0.85;
}

#github {
  font-size: 41px;
  color: white;
  cursor: pointer;
}

#linked-in {
  font-size: 41px;
  color: white;
  cursor: pointer;
}

#resume {
  font-size: 36px;
  color: white;
  cursor: pointer;
}

@media screen and (min-width: 1243px) {
  #banner {
    height: 200px;
  }
}

@media screen and (max-width: 1356px) {
  figcaption {
    text-align: center;
  }
  #about {
    padding-bottom: 18px;
  }
  #about-article {
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  nav {
    display: flex;
    justify-content: flex-end;
  }

  nav li {
    display: none;
  }

  #menu-icon {
    display: block;
  }

  #logo {
    margin-left: 8px;
  }

  li {
    color: white;
  }
  li:hover {
    text-shadow: none;
  }

  h3 {
    margin-top: 62px;
  }
}

@media screen and (max-width: 450px) {
  #about-article {
    text-align: left;
  }
}

@media screen and (max-width: 425px) {
  #turn-blue {
    height: 217px;
    padding-top: 26px;
  }

  #banner p:first-of-type {
    font-size: 31px;
    margin-top: 14px;
  }

  #main-heading {
    padding-top: 27px;
  }
  #full-stack {
    text-align: center;
  }

  .container-fluid:nth-of-type(2) {
    height: 300px;
  }

  #about-p {
    font-size: 16px;
  }
}
