/* Resets */

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

img {
  width: 100%;
  height: auto;
}


/* Globals */

:root {
  --font-size: 18px;
  --color-primary: #00adee;
  --color-text: #656666;
  --color-white: #ffffff;
}

html, body {
  font-family: sans-serif;
  font-size: var(--font-size);
}

.container {
  width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
}

.container--narrow {
  max-width: 61.11rem;
}


/* Header */

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

#logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

#logo img {
  width: 5.55rem;
}

#logo h1 {
  font-size: 3rem;
  color: var(--color-primary);
}

#contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#contact-details p, 
#contact-details p a {
  font-size: 1.125rem;
  color: var(--color-text);
  text-decoration: none;
}


/* Banner */

.banner img {
  width: 100%;
  height: auto;
}


/* Sections */

.section {
  padding: 2rem 0;
}

.section h2 {
  color: var(--color-primary);
  font-size: 2.5rem;
  text-align: center;
  margin: 2rem 0;
}

.section p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
}

.section p:not(:last-of-type) {
  margin-bottom: 1rem;
}


/* Footer */

#footer {
  position: relative;
}

#footer img {
  width: 100%;
  height: 26.35rem;
  object-fit: cover;
}

#footer .footer-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
}

#footer .footer-inner p {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.25;
  color: var(--color-white);
}


/* Responsive */

@media screen and (max-width: 768px) {
  .header-inner {
    padding: 1rem 0;  
  }

  .header-inner #logo {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .header-inner #logo img {
    width: 2.77rem;
  }

  .header-inner #logo h1 {
    text-align: center;
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 575px) {
  .header-inner {
    flex-direction: column;
    gap: 1rem;
  }

  #footer img {
    height: 13.88rem;
  }

  #footer .footer-inner p {
    font-size: 1rem;
  }
}