* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "helvetica", sans-serif;
  
}

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden; 
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #2f3e46;
  z-index: 100;
}

.flex {
  display: flex;
  align-items: center;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar {
  display: flex;
  justify-content: flex-end; 
  background-color: #2f3e46;
  padding: 5px 10px; 
}

.nav-links {
  display: flex;
  gap: 5px; 
  list-style: none;
  flex-wrap: nowrap; 
}

.navbar a {
  padding: 5px 10px; 
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 14px; 
}

.navbar a:hover {
  color: #cad2c5;
}

@media (max-width: 768px) {
  .navbar {
    justify-content: center; 
    padding: 5px; 
  }

  .nav-links {
    justify-content: center; 
    gap: 3px; 
  }

  .nav-links a {
    padding: 5px 8px; 
    font-size: 12px; 
  }

  .nav-links {
    flex-wrap: wrap; 
  }
}

@media (min-width: 769px) { 
  .navbar {
    justify-content: flex-end; 
  }
}

.penguins, .intro, .ice-mass, .help {
  background-color: #ffffff; 
  color: #000; 
  padding: 20px; 
}

@media (max-width: 768px) {
  .penguins, .intro, .ice-mass, .help {
    background-color: #ffffff; 
    color: #000; 
    padding: 20px; 
  }
}

.homepage {
  position: relative;
  height: 100vh;
  width: 100%;
  background: url("https://getwallpapers.com/wallpaper/full/4/4/5/696369-free-download-antarctica-wallpaper-1920x1200.jpg");
  background-position: center;
  background-size: cover;
  overflow: hidden; 
}

@media (max-width: 768px) {
  
  body {
    overflow-x: hidden; 
  }

  .homepage {
    background-size: cover; 
    background-position: center center; 
  }
}

@media (min-width: 769px) {
  
  body {
    overflow-x: visible; 
  }
}

.homepage::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.homepage .content {
  position: relative;
  flex-direction: column;
  height: 85%; 
  justify-content: center;
  display: flex; 
  align-items: center; 
  text-align: center; 
}

.homepage .text {
  color: white;  
  text-align: center;
  padding: 0 20px; 
}

.homepage .text h1 {
  font-size: 50px; 
  font-weight: 700;
  text-shadow: 1px 1.5px black;
  padding-top: 70px;
  margin-bottom: 10px;
}

.homepage .text p {
  font-style: italic;
  text-shadow: 1px 1px black;
  font-size: 30px;
}

@media (max-width: 768px) {
  
  .homepage .text h1 {
    font-size: 30px; 
    padding-top: 20px; 
  }

  .homepage .text p {
    font-size: 20px; 
    padding: 0 10px; 
  }

  .homepage .content {
    height: 90%; 
    justify-content: center; 
  }
}

@media (min-width: 769px) {
  
  .homepage .content {
    height: 85%;
  }
}

section {
  padding-top: 50px;
  padding-bottom: 50px;
}

section h2 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 50px;
}

.intro h2 {
  text-align: center;
  color: #344e41;
}

.intro .section-title {
  justify-content: flex-start;
  padding: 20px 20px;
}

img {
  height: auto;
  width: 400px;
}

.intro p {
  text-align: center;
  color: #582f0e;
  font-weight: 520;
  font-size: 20px;
}

@media (max-width: 768px) {
  .intro h2 {
    font-size: calc(18px + 2vw); 
    text-align: center; 
    color: #344e41; 
    white-space: normal; 
  }

  .intro .section-title {
    justify-content: flex-start;
    padding: 20px 10px;
  }

  .intro p {
    text-align: center;
    color: #582f0e; 
    font-weight: 520;
    font-size: calc(12px + 1.5vw); 
    margin: 0 auto; 
    max-width: 90%; 
    line-height: 1.5; 
  }

  .intro img {
    width: 100%; 
    height: auto; 
    display: block;
    margin: 20px auto; 
  }

  .container {
    flex-direction: column; 
  }
}

.penguins {
  background: #c5c8a8;
  padding: 20px;
}

.penguins h2 {
  text-align: center;
  text-shadow: 1px 1.2px black;
  margin-top: 20px;
  color: white;
}

.penguins .section-title {
  justify-content: flex-start;
  padding: 20px 20px;
}

.penguins p {
  text-align: center;
  color: #582f0e;
  font-weight: 520;
  font-size: 20px;
}

.penguins .container {
  flex-direction: row-reverse;
}

.dv {
  margin: 30px auto; 
  width: 80%; 
  height: 500px; 
  display: block; 
}

@media (max-width: 768px) {
  .dv {
    width: 100%; 
    height: auto; 
    display: block;
  }
}

.SRC a {
  text-decoration: none;
  font-weight: bold; 
  margin: 20px;
  color: #31572c;
  text-align: center;
  font-size: 20px;
}

.SRC a:hover{
  color: #432818;
}

.SRC {
  display: flex;          
  justify-content: center; 
  margin: 40px auto;      
}

@media (max-width: 768px) {
  .penguins h2 {
    font-size: calc(16px + 2vw); 
    text-align: center; 
    color: white;
    white-space: normal; 
    text-shadow: 1px 1.2px black;
    margin-top: 20px;
  }

  .penguins .section-title {
    justify-content: flex-start;
    padding: 20px 10px;
  }

  .penguins p {
    text-align: center;
    color: #582f0e; 
    font-weight: 520;
    font-size: calc(12px + 1.5vw); 
    margin: 0 auto; 
    max-width: 90%; 
    line-height: 1.4; 
  }

  .penguins img {
    width: 45%; 
    height: auto; 
    display: block;
    margin: 10px auto; 
    order: 1; 
  }

  .penguins .container {
    display: flex;
    flex-direction: column; 
    align-items: center; 
  }

  .dv {
    width: 100%; 
    height: auto; 
    display: block; 
    margin: 20px auto; 
  }
}

.ice-mass h2 {
  text-align: center;
  color: #344e41;
}

.ice-mass .section-title {
  justify-content: flex-start;
  padding: 20px 20px;
}

.ice-mass p {
  text-align: center;
  color: #582f0e;
  font-weight: 520;
  font-size: 20px;
}

@media (max-width: 768px) {
  .ice-mass h2 {
    font-size: calc(16px + 2vw); 
    text-align: center; 
    color: #344e41; 
    white-space: normal; 
    margin-top: 20px;
  }

  .ice-mass .section-title {
    justify-content: flex-start;
    padding: 20px 10px;
  }

  .ice-mass p {
    text-align: center;
    color: #582f0e; 
    font-weight: 520;
    font-size: calc(10px + 1.2vw); 
    margin: 0 auto; 
    max-width: 90%; 
    line-height: 1.4; 
  }

  .ice-mass img {
    width: 45%; 
    height: auto; 
    display: block;
    margin: 10px auto; 
    order: 1; 
  }

  .ice-mass .container {
    display: flex;
    flex-direction: column; 
    align-items: center; 
  }

  .dv {
    width: 100%; 
    height: auto; 
    display: block; 
    margin: 20px auto; 
  }
}

.ozone-levels {
  background: #c5c8a8;
  padding: 20px;
}

.ozone-levels h2 {
  text-align: center;
  text-shadow: 1px 1.2px black;
  margin-top: 20px;
  color: white;
}

.ozone-levels .section-title {
  justify-content: flex-start;
  padding: 20px 20px;
}

.ozone-levels p {
  text-align: center;
  color: #582f0e;
  font-weight: 520;
  font-size: 20px;
}

.ozone-levels .container {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .ozone-levels h2 {
    font-size: calc(16px + 2vw); 
    text-align: center; 
    color: white;
    white-space: normal; 
    text-shadow: 1px 1.2px black;
    margin-top: 20px;
  }

  .ozone-levels .section-title {
    justify-content: flex-start;
    padding: 20px 10px;
  }

  .ozone-levels p {
    text-align: center;
    color: #582f0e; 
    font-weight: 520;
    font-size: calc(10px + 1.2vw); 
    margin: 0 auto; 
    max-width: 90%; 
    line-height: 1.4; 
  }

  .ozone-levels img {
    width: 45%; 
    height: auto; 
    display: block;
    margin: 10px auto; 
    order: 1; 
  }

  .ozone-levels .container {
    display: flex;
    flex-direction: column; 
    align-items: center; 
  }

  .dv {
    width: 100%; 
    height: auto; 
    display: block; 
    margin: 20px auto; 
  }
}

.footer {
  background-color: #c5c8a8; 
  text-align: center;
  width: 100%; 
  padding: 20px 0; 
}

.footer p {
  font-size: 15px;
  margin: 0;
  padding: 10px 0; 
  background-color: #c5c8a8; 
}

@media (max-width: 768px) {
  .footer {
    background: #c5c8a8;
    padding: 20px; 
    text-align: center;
  }

  .footer p {
    font-size: 15px;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .footer {
    background-color: #c5c8a8; 
    padding: 20px; 
    text-align: center;
    width: 100%; 
  }

  .footer p {
    font-size: 15px;
    margin: 0;
    padding: 10px 0; 
  }
}

.help h2 {
  text-align: center;
  color: #344e41;
}

.help .section-title {
  justify-content: flex-start;
  padding: 20px 20px;
}

.help p {
  text-align: center;
  color: #582f0e;
  font-weight: 520;
  font-size: 20px;
}

.help a {
  text-decoration: none;
  font-weight: bold; 
  margin: 20px;
  color: #31572c;
  text-align: center;
  font-size: 20px;
}

.help a:hover{
  color: #432818;
}

section .card img {
  height: 240px;
  width: 100%;
}

.card h3{
  color: #344e41;
  font-size: 30px;
  padding: 20px 0;
}

.card p{
  padding-bottom: 20px;
}

section .cards {
  display: flex;
  margin-top: 50px;
  justify-content: space-between;
  flex-wrap: nowrap; 
}

section .card {
  text-align: center;
  list-style: none;
  width: calc(100% / 3 - 30px);
  background-color: #fff;
  padding: 40px 18px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  margin-bottom: 40px;
  flex-shrink: 1; 
}

@media (max-width: 768px) {

  .help h2 {
    font-size: calc(16px + 2vw); 
    text-align: center; 
    color: #344e41;
    white-space: normal; 
    margin-top: 20px;
  }

  .help .section-title {
    justify-content: flex-start;
    padding: 20px 10px;
  }

  .help p {
    text-align: center;
    color: #582f0e; 
    font-weight: 520;
    font-size: calc(10px + 1.2vw); 
    margin: 0 auto; 
    max-width: 90%; 
    line-height: 1.4; 
  }

  .cards {
    display: flex; 
    flex-wrap: nowrap; 
    justify-content: space-between; 
  }

  .card {
    flex: 1 0 30%; 
    max-width: 30%; 
    margin: 5px; 
    padding: 10px; 
    box-sizing: border-box; 
    display: flex;
    flex-direction: column; 
    height: auto; 
    flex-shrink: 1; 
    align-items: center; 
  }

  .card img {
    width: 100%; 
    height: auto; 
    margin-bottom: 10px; 
  }

  .card h3 {
    font-size: calc(8px + 1vw); 
    color: #344e41;
    padding: 10px 0; 
  }

  .card p {
    font-size: calc(6px + 0.8vw); 
    line-height: 1.2; 
    margin: 0; 
    max-height: none; 
    overflow: visible; 
  }

  .help a {
    font-size: calc(8px + 1vw); 
  }
}

.dv {
  margin: 30px auto; 
  width: 80%; 
  height: 500px; 
  display: block; 
  max-width: 100%; 
  aspect-ratio: 16/9; 
}

@media (max-width: 768px) {
  .dv {
    width: 100%; 
    height: auto; 
    display: block;
  }
}

#lookerObject {
  display: none; 
}

#lookerIframe:empty ~ #lookerObject {
  display: block; 
}
