:root {
  --primary-color: #0c47bf;
  --secondary-color: #99bafd;
  --accent-color: #2d68dc;
  --text-dark: #000;
  --text-light: #fff;
  --p: 1.125rem;
  --h1: 2.986rem;
  --h2: 2.488rem;
  --h3: 2.074rem;
  --h4: 1.728rem;
  --h5: 1.44rem;
  --h6: 1.2rem;
}

*,
a {
  margin: 0;
  padding: 0;
  text-decoration: none;
  box-sizing: border-box;
  font-family: "Nunito Sans", sans-serif;
}

/* This applies flex-wrap: wrap to all flex containers */
[class*="flex"] {
  flex-wrap: wrap;
}

::-webkit-scrollbar {
  display: none;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  height: 100%;
  font-size: var(--p);
  background: var(--secondary-color);
  color: var(--text-light);
}

header {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 16px;
  border-bottom: 1px solid var(--accent-color);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  min-width: 300px;
}

header .logo a {
  color: var(--text-light);
  font-size: x-large;
  font-weight: bold;
}

ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

ul li a {
  color: var(--text-light);
  font-weight: bold;
}

/* ul li a:hover {
  color: var(--secondary-color);
} */

.hero .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 50px 10px;
}

.hero-text {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-text h1 {
  font-size: var(--h1);
  line-height: 1.2;
  font-weight: bolder;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: var(--p);
  font-weight: light;
  margin-bottom: 30px;
}

.hero-text .btn {
  font-size: var(--p);
  background: transparent;
  color: var(--text-light);
  margin-bottom: 10px;
  padding: 12px 24px;
  width: auto;
  display: inline-block;
  align-self: flex-start;
  box-shadow: 0 0 3px var(--text-dark);
  cursor: pointer;  
  border: 1px solid var(--text-light);
  border-radius: 10px;
  transition: 0.3s ease-in-out;
}

.hero-text .btn:hover {
  scale: 1.2;
  background: var(--accent-color);
  color: var(--text-light);
}

.hero-img {
  flex: 1;
}

.hero-img img {
  width: 100%;
  border-radius: 10px;
  max-width: 400px;
}

.boxes {
  padding: 20px 0;
}

.boxes .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.boxes .box {
  flex: 1;
  min-width: 300px;
  background-color: var(--primary-color);
  padding: 20px;
  border-radius: 10px;
}

.boxes .box h5 {
  font-size: var(--h5);
  margin-bottom: 10px;
}

.boxes .box i {
  margin-right: 10px;
}

footer {
  border-top: 1px solid var(--text-dark);
  width: 100%;
  background-color: var(--primary-color);
  padding: 20px 0;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.copyright {
  text-align: center;
}
@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
  }

  .boxes .container {
    display: block;
  }

  .boxes .box {
    margin-bottom: 20px;
  }
}
