*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  font-family: 'Ubuntu', sans-serif;
  background-color: #alic;
}

.navigation {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 2rem;
  width: 100vw;
  /* max-width: 100%; */
  height: 2rem;
  padding: 2rem;
  /* margin-top: .5rem; */
  position: fixed;
  top: 0;
  z-index: 1;
  background-color: #f8f8ff;
}

.logo {
  width: 95vw;
  margin-left: 0.5rem;
  color: #5bacc3;
}

a:link,
a:visited {
  color: #040404;
  margin-right: 2.5rem;
  text-decoration: none;
}

a:hover {
  color: #5bacc3;
  transition: all 0.2s ease-in-out;
}

.parens {
  color: #5bacc3;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 95vh;
  /* background-image: linear-gradient(
      to right bottom,
      rgb(37, 211, 102, 0.15),
      rgb(29, 161, 242, 0.15)
    ),
    url('../img/javascript.jpg'); */
  background-size: cover;
  background-position: top;
  clip-path: polygon(0 0, 100% 0, 100% 75vh, 0 100%);
}

.header img {
  margin-top: 15vh;
  width: 17vw;
  border: 0.2rem solid rgb(248, 221, 68, 0.5);
  box-shadow: 0.5rem 0.75rem 0.3rem rgb(0, 0, 0, 0.2);
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

.header__social {
  margin-top: 0.5rem;
  margin-left: 2rem;
}

.header__social--icon-container {
  padding: 0.5rem;
}

.header__social i {
  color: #f8f8ff;
  font-size: 3.5rem;
}

i:hover {
  color: #f8dd44;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.header__heading {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 5rem;
  font-size: 3rem;
  color: black;
  background-color: #f8f8ff;
  box-shadow: 0 0.2rem 0.2rem 0.2rem;
  border-radius: 0.5rem;
  width: 30rem;
  padding: 2rem;
}

.fa-rocket {
  margin-right: 3rem;
}

/* .section-one {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-top: 15rem;
} */

/* .section-one h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 2rem;
} */

.projects__text {
  margin-top: 10rem;
  text-align: center;
  font-size: 4rem;
  margin-bottom: 2rem;
}

.projects__subtitle {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 3rem;
  color: #5bacc3;
}

.icon-margin {
  margin-right: 1.5rem;
}

.icon-large {
  font-size: 3rem;
}

.section-one span {
  margin-top: -2rem;
  margin-left: 0.5rem;
  margin-bottom: 3rem;
}

.section-two {
  display: flex;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 10rem;
  margin-top: 5rem;
  width: 100%;
}

.card {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 60vh;
  max-width: 50%;
  padding: 2rem;
  box-shadow: 0px 0.5rem 0.5rem rgb(91, 172, 195, 0.1);
  transition: all 0.3s ease-in-out;
  margin-left: 25%;
  margin-bottom: 10rem;
}

.card:hover {
  box-shadow: 0.3rem 1.5rem 1rem rgb(91, 172, 195, 0.2);
}

.card__content {
  display: flex;
  justify-content: center;
  height: 80vh;
  width: 100%;
}

.fill {
  display: flex;
  overflow: hidden;
  justify-content: center;
}

.fill img {
  object-fit: contain;
  min-width: 100%;
  height: 110%;
}

.title {
  margin-top: 1rem;
  margin-left: 1rem;
  font-size: 2rem;
}

.sub-title {
  padding: 1rem;
}

.card__bottom {
  display: flex;
  flex-direction: row;
  height: 20vh;
}

.card__bottom-left {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  width: 90%;
  justify-content: space-around;
  /* border: 1px solid black; */
}

.card__bottom-right {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10%;
}

i {
  width: 1rem;
}

hr {
  /* border: none; */
  background-color: #5bacc3;
  /* border-style: dotted; */
  height: 1px;
}

footer {
  font-size: 1.7rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.form-wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.form-wrapper h2 {
  margin-bottom: 1rem;
}

.form {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 40%;
  margin-bottom: 15rem;
}

input[type=email] {
  padding: 1rem;
  margin: 1rem 0;
  border: 2px solid #eee;
  box-shadow:0 0 10px 1px rgba(0,0,0,0.06);
  border-radius: 1rem;
}

textarea {
  width:100%;
  height: 15rem;
  resize: vertical;
  padding: 1rem;
  margin: 1rem 0;
  border: 2px solid #eee;
  box-shadow:0 0 10px 1px rgba(0,0,0,0.06);
  border-radius: 1rem;
}

textarea:focus {
  outline-color: #5bacc3
}

input:focus {
  outline-color: #5bacc3;
}

.btnSubmit {
  background-color: #5bacc3;
  color: white;
  border: 2px solid #eee;
  box-shadow:0 0 10px 1px rgba(0,0,0,0.06);
  border-radius: 1rem;
  height: 3rem;
}

.btnSubmit:hover {
  background-color: rgb(91, 172, 195, .9);
}

/* --------- EFFECTS ---------- */

.stars,
.twinkling {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90vh;
  width: 100%;
}

.stars {
  background: #000 url(https://i.ibb.co/LPD5dCq/stars.png) repeat top center;
  z-index: 0;
}

.twinkling {
  background: transparent url(https://i.ibb.co/m5Rrkfr/twinkling.png) repeat top
    center;
  z-index: 1;

  -moz-animation: twink 200s linear infinite;
  -ms-animation: twink 200s linear infinite;
  -o-animation: twink 200s linear infinite;
  -webkit-animation: twink 200s linear infinite;
  animation: twink 200s linear infinite;
}

@keyframes twink {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -10000px 5000px;
  }
}

@-webkit-keyframes twink {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -10000px 5000px;
  }
}

@-moz-keyframes twink {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -10000px 5000px;
  }
}

@-ms-keyframes twink {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -1000px 5000px;
  }
}

/* @media (min-width: 320px) {
  .navigation {
    font-size: 2rem;
    padding: 2rem;
  }
  .logo {
    width: 40vw;
  };
  .hidden {
    visibility: hidden;
  }
  a:link {
    margin-right: .1rem;
  }
  .header__heading {
    font-size: 3rem;
  }
  .section-one {
    margin-top: 10rem;
  }
  .projects__text {
    margin-top: 10rem;
  }
  .section-one h2 {
    font-size: 1.5rem;
  }
  .section-one__span{
    font-size: 1.5rem;
  }
  .card {
    max-width: 100vw;
    margin-bottom: 0rem;
  }
  .fill img {
    max-width: 100%;
  }

  i {
    width: 3rem;
  }
} */
