@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Ubuntu", sans-serif;
  color: #0e0e0e;
  max-width: 100%;
}

img {
  max-inline-size: 100%;
}

.btn {
  text-decoration: none;
  text-transform: uppercase;
  background-color: #b40000;
  color: #fff;
  padding-block: 0.75em;
  padding-inline: 0.5em;
  font-weight: 700;
  transition: background-color ease-in-out 150ms;
  border-radius: 5px;
}

.btn:hover {
  background-color: #940000;
}

section {
  inline-size: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline: 1em;
  padding-block: 2em;
  gap: 50px;
}

h1,
h2,
h3,
p {
  text-align: center;
  max-inline-size: 45ch;
}

h1,
h2,
h3 {
  line-height: 1.4;
}

h1 {
  font-size: 3.2rem;
}

h2,
h3 {
  font-size: 2.1rem;
}

p {
  line-height: 1.6;
}

footer {
  background-color: #640000;
  color: #e5e5e5;
  padding-block: 0.5em;
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  padding-inline: 30px;
}

.insta-logo {
  font-size: 20px;
  color: #fff;
}

.flex-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.desktop {
  display: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #113676;
  padding: 10px 20px;
}

.logo {
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.menu li {
  margin-right: 20px;
}

.menu a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background-color: #113676; /* Add background color */
  padding: 5px; /* Add padding for spacing */
}

.bar {
  width: 30px;
  height: 3px;
  background-color: #fff; /* Change icon color to white */
  margin: 3px 0;
}

@media only screen and (max-width: 719px) {
  .menu {
    display: none;
    flex-direction: column;
    background-color: #113676;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    padding: 20px;
    gap: 10px;
  }

  .menu.active {
    display: flex;
  }

  .hamburger-menu {
    display: flex;
  }
}

@media only screen and (min-width: 720px) {
  h1,
  h2,
  h3,
  p {
    max-inline-size: 60ch;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  .flex-container {
    flex-direction: row;
    align-items: flex-start;
  }

  .desktop {
    display: block;
  }

  .mobile {
    display: none;
  }

  footer {
    font-size: 1.4rem;
  }

  section {
    margin-bottom: 50px;
  }
}
