:root {
  --background-color: #02474c;
  --highlight-color: #1c7f94;
}

h5 {
  line-height: 1.5;
}

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

*::-webkit-scrollbar {
  width: 0;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
}

html {
  font-family: "Roboto", sans-serif;
  font-size: 62.5%;
  line-height: 1.5;
}

body {
  background-image: linear-gradient(160deg, #ffffff 0%, #f5f8f9 100%);
}

main {
  width: 100%;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin: 2rem 0;
}

.loader-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 999;
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid var(--highlight-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 0.5s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
header {
  width: 100vw;
  height: 10vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
}

.brand {
  height: 95%;
  font-size: 3rem;
  padding: 0 2rem;
}

.brand .logo {
  height: 100%;
}

.brand .logo:hover {
  opacity: 0.8;
}

.menu {
  display: flex;
  height: 100%;
  position: fixed;
  top: 0;
  left: -50%;
  background: #f8f6f3;
  z-index: 5;
  transition: left 0.3s ease-in-out;
}

.menu ul {
  height: 100%;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 300;
  background-color: var(--background-color);
  padding: 2rem;
}

.menu ul a {
  color: #f8f6f3;
  text-decoration: none;
  padding: 2rem;
  transition: all 0.3s ease;
}

.menu ul a:hover {
  color: var(--highlight-color);
  text-decoration-line: underline;
}

#menu-toggle {
  display: block;
  background: transparent;
  border: none;
  color: var(--highlight-color);
  font-size: 2.5rem;
  padding: 1rem;
}

#menu-toggle:hover {
  cursor: pointer;
}

@media screen and (min-width: 615px) {
  header {
    height: 15vh;
  }
  .brand {
    padding: 0 2rem;
  }
}
@media screen and (min-width: 800px) {
  #menu-toggle {
    display: none;
  }
  .menu {
    display: flex;
    height: 100%;
    position: static;
    background: transparent;
  }
  .menu ul {
    flex-direction: row;
    background-color: transparent;
  }
  .menu ul a {
    color: #333;
  }
}
main h2 {
  font-size: 6rem;
  color: var(--highlight-color);
  margin: 4rem 2rem;
  text-align: center;
}

.wrapper {
  margin-bottom: 6rem;
}

.contact-info .card {
  width: 60%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--background-color);
  font-size: 2rem;
  font-weight: 100;
  text-align: center;
  padding: 2rem 0;
  margin: 2rem auto;
}

.contact-info .card i {
  padding-bottom: 1rem;
}

.contact-form {
  display: flex;
  justify-content: center;
}

.container {
  max-width: 600px;
  width: 100%;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.col {
  flex: 1;
  padding: 10px;
}

label {
  display: block;
  margin-bottom: 8px;
}

input, textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

button {
  background-color: var(--highlight-color);
  color: #fff;
  padding: 1rem 4rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: var(--background-color);
}

@media (max-width: 600px) {
  .col {
    flex: 100%;
  }
}
@media screen and (min-width: 800px) {
  .wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  .contact-info {
    width: 50%;
  }
  .contact-form {
    width: 50%;
    font-size: 2rem;
    font-weight: 100;
  }
}
.contact-info .card .social a {
  color: var(--background-color);
}

footer {
  position: relative;
  bottom: 0;
  width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  background-color: var(--background-color);
  font-size: 1.2rem;
  padding: 1rem;
}

footer .footer-brand {
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer .footer-brand img {
  width: 100%;
  max-width: 100px;
}

.social a {
  color: white;
  padding: 0.5rem;
}

.social a:hover {
  color: var(--highlight-color);
  opacity: 0.5;
}

footer .middle {
  width: 60%;
}

footer .project {
  width: 20%;
}

@media screen and (min-width: 800px) {
  footer {
    font-size: 2rem;
  }
}
