@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;900&display=swap');

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: "Poppins", Helvetica, "open sans";
  font-size: 14px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
}

h1, h2, h3, h4 {
  font-weight: 400;
}

.full {
  background-color: #379cd2;
  padding: 10px 0;
  width: 100%;
}

/* Header and Navigation */
.header-content {
  color: #fff;
  max-width: 900px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.logo {
  height: 40px;
  width: auto;
  margin-right: 2em;
}

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

nav {
  flex-grow: 1;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

nav ul li a {
  display: block;
  color: #fff;
  text-align: center;
  text-decoration: none;
  margin-right: 2em;
}

nav ul li a:hover {
  color: #c2ddec;
}

/* Right buttons */
.right-buttons {
  display: flex;
  gap: 1em;
  align-items: center;
  margin-left: auto;
}

.right-buttons a {
  display: flex;
  align-items: center;
  background-color: #2a6381;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1em;
  transition: background-color 0.2s;
}

.right-buttons a:hover {
  background-color: #1e455a;
}

.button-icon {
  height: 0.9em;
  margin-right: 0.5em;
}

/* Mobile menu */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
}

/* Footer */
footer {
  margin-top: 2.5em !important;
}

.footer-content {
  color: white;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 1em 0;
}

.footer-content span {
  font-size: 12px;
  font-style: italic;
}

.footer-content a {
  color: white;
}

/* Media Queries */
@media (max-width: 900px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .header-content {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 768px) {
  .header-content {
    position: relative;
  }

  .nav-toggle-label {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
  }

  .nav-toggle-label span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
  }

  .nav-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #379cd2;
    padding: 1em;
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    z-index: 1000;
    text-align: center;
    box-sizing: border-box;
  }

  .nav-toggle:checked ~ .nav-container {
    display: flex;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  nav {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    gap: 1em;
    margin-bottom: 1em;
    align-items: center;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav ul li a {
    margin: 0;
    width: 100%;
  }

  .right-buttons {
    margin-left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0.8em;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .right-buttons > div {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .right-buttons a {
    justify-content: center;
    width: auto;
    min-width: 120px;
    max-width: 200px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  .header-content {
    padding-left: 12px;
    padding-right: 12px;
  }
}

