@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
  border: none;
  outline: none;
}

.none {
  display: none !important;
}

.block {
  display: block !important;
}

:root {
  --bg-color: #191f36;
  --snd-bf-color: #262b40;
  --text-color: #fff;
  --main-color: #59b2fa;
}

html {
  font-size: 62.5%;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1400px;

  margin: 0 auto;
  padding: 0 40px;
}

section {
  min-height: 100vh;
}

.header {
  background-color: var(--bg-color);
  padding: 20px 0;
  font-size: 1.6rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.9);
  z-index: 100;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.header .logo {
  font-weight: bold;
  font-size: 2.5rem;
  font-weight: 700;
  cursor: pointer;
}

.navbar {
  display: flex;
  gap: 4rem;
}

.navbar.show-mobile {
  display: block;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  width: 100%;
  height: max-content;
  background-color: var(--bg-color);
  padding: 0 30px;
}

.navbar.show-mobile a {
  display: block;
  padding: 10px;
}

.active {
  color: var(--main-color) !important;
}

.navbar a {
  font-size: 2.5rem;
  color: var(--text-color);
  font-weight: 700;
}

.navbar a {
  font-size: 1.8rem;
  font-weight: 700;
  transition: all 0.2s;
}

.navbar a:hover {
  color: var(--main-color) !important;
}

#menu {
  display: none;
  font-size: 3rem;
}

#close {
  display: none;
  font-size: 3rem;
}

.home {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-content {
  width: 60%;
}

.home-content h3 {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.home-content h3:nth-of-type(2) {
  margin-bottom: 2rem;
}

.home-content h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.home-content span {
  color: var(--main-color);
  font-size: 3rem;
}

.home-content p {
  font-size: 1.3rem;
  font-weight: 200;
  line-height: 1.3;
  margin-bottom: 20px;
}

.home-img {
  width: 40%;
  text-align: right;
  animation: slide-top 4s linear infinite alternate;
}

.home-img img {
  max-width: 80%;
  /* box-shadow: 0 0 1rem var(--main-color); */
  /* border: 1px solid var(--main-color); */
}

.social-media {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 2rem;
}

.social-media a {
  border: 1px solid var(--main-color);
  color: var(--main-color);
  border-radius: 50%;
  width: 5rem;
  height: 5rem;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  transition: all 0.2s;
}

.social-media a:hover {
  background-color: var(--main-color);
  color: var(--snd-bf-color);
  box-shadow: 0 0 1rem var(--main-color);
}

.home-content .btn {
  background-color: var(--main-color);
  border-radius: 20px;
  padding: 10px 20px;
  font-weight: 700;
  box-shadow: 0 0 1rem var(--main-color);
  cursor: pointer;
  color: var(--text-color);
}

.slide-top {
  animation: slide-top 4s ease-in-out infinite;
}

@keyframes slide-top {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2.4rem);
  }
  100% {
    transform: translateY(0);
  }
}

@media only screen and (max-width: 1200px) {
  html {
    font-size: 55%;
  }
}

@media only screen and (max-width: 768px) {
  #menu {
    display: block;
  }

  .navbar {
    display: none;
  }

  .home {
    flex-direction: column-reverse !important;
  }

  .home-content {
    width: 100%;
  }

  .home-img {
    width: 100%;
    text-align: center;
  }

  .container {
    padding: 0 30px;
  }

  .header-main {
    padding: 0 30px;
  }
}

@media only screen and (max-width: 450px) {
  html {
    font-size: 50%;
  }
}

@media only screen and (min-width: 500px) and (max-width: 768px) {
  .home {
    padding-top: 50px;
  }
}
