body {
  animation: fadeInAnimation ease 3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.nav-bar {
  height: 100px;
  padding-top: 30px;
  background: #ffffff;
  width: 100%;
  max-width: 100%;
}

.brand {
  float: left;
  position: absolute;
  padding-left: 50px;
  line-height: 70px;
  font-size: 1.5em;
}

.brand > a > img {
  width: 150px;
  margin-top: 5px;
}

.nav-container {
  max-width: 1500px;
  margin: 0 auto;
}

.underheader_about {
  background-image: url(img_css/omoss.png);
  width: 100%;
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.underheader_about > h1 {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: white;
  background-color: #192673;
  padding: 10px;
}

h1 {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: #192673;

  margin-bottom: -20px;
}
.about_container {
  width: 900px;
  padding-top: 50px;
  padding-bottom: 0px;
  margin: 0 auto;
  display: flex;
  gap: 70px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about_col {
  width: 100%;
  display: flex;
  flex-direction: row;
}

.img_col {
  width: 800px;
  height: auto;
  padding: 40px;
  overflow-y: auto;
  background-image: url(img_css/PontusA.jpg);
  background-size: cover;
  margin-right: 40px;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 60px;
}

.textbox > h1 {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: #192673;
  text-align: center;
}

.textbox > h2 {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: black;
  font-weight: 600;
  font-size: 20px;
  line-height: 2;
  text-align: left;
}

.textbox > p {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  line-height: 1.5;
  font-weight: 300;
  text-align: left;
}

.about_col1 {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.about_col2 {
  width: 90%;
  display: flex;
  flex-direction: row;
  text-align: center;
}

.textbox_2 > h2 {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: black;
  font-weight: 600;
  font-size: 20px;
  line-height: 2;
}
.textbox > img {
  display: none;
}

.h2_col2_mobile {
  display: none;
}
.textbox_2 > p {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  line-height: 1.5;
  font-weight: 300;
}
.buttons {
  padding-bottom: 30px;
}

a > button {
  width: 200px;
  margin-top: 35px;
  margin-left: 25px;
  margin-right: 25px;
  cursor: pointer;
  background-color: #192673;
  padding: 15px;
  border: 0px;
  color: #f8f8f4;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 500;
}

a > button:hover {
  background-color: #0a123f;
}

nav {
  float: right;
}

nav ul {
  list-style: none;
}

nav ul li {
  float: left;
  position: relative;
}

nav ul li a {
  display: block;
  padding: 0 40px;
  line-height: 70px;
  background: #ffffff;
  text-decoration: none;
  color: #000000;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
}

.activelink {
  color: #304ffe;
}

nav ul li a:hover {
  color: #304ffe;
}

nav ul li a:not(:only-child):after {
  content: "▼";
  padding-left: 5px;
}

nav ul li ul li {
  min-width: 190px;
}

nav ul li ul li a {
  padding: 15px;
  line-height: 20px;
}

.nav-dropdown {
  position: absolute;
  display: none;
  z-index: 1;
  box-shadow: 2px 2px;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  height: 70px;
  width: 70px;
}

#nav-toggle {
  position: absolute;
  left: 18px;
  top: 22px;
  cursor: pointer;
  padding: 10px 35px 15px 0px;
}

#nav-toggle span,
#nav-toggle span::before,
#nav-toggle span::after {
  position: absolute;
  display: block;
  content: "";
  background: #000000;
  height: 5px;
  width: 35px;
  transition: all 300ms ease-in-out;
}

#nav-toggle span::before {
  top: -10px;
}

#nav-toggle span::after {
  bottom: -10px;
}

#nav-toggle.active span {
  background-color: transparent;
}

#nav-toggle.active span::before,
#nav-toggle.active span::after {
  top: 0;
}

#nav-toggle.active span::before {
  transform: rotate(45deg);
}

#nav-toggle.active span::after {
  transform: rotate(-45deg);
}

@media only screen and (max-width: 1200px) {
  .nav-container {
    max-width: 1000px;
    margin: 0 auto;
  }

  .brand > a > img {
    width: 120px;
    padding-left: -10px;
  }

  a > .social {
    margin-left: 0px;
    margin-right: 0px;
  }

  nav ul li a {
    font-size: 12px;
  }
  @media only screen and (max-width: 930px) {
    .about_container {
      width: 100%;
      padding-bottom: 0px;
      margin: 0 auto;
      display: flex;
      gap: 70px;
      padding-top: 80px;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    .brand > a > img {
      width: 150px;
      margin-top: 5px;
    }
    .underheader_about {
      background-image: url(https://images.unsplash.com/photo-1529119368496-2dfda6ec2804?q=80&w=3540&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
      width: 100%;
      background-position: center;
      background-size: cover;
      height: 200px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .about_col {
      width: 80%;
      display: flex;
      flex-direction: column;
      margin-top: -20px;
    }

    .img_col {
      display: none;
    }

    .textbox > h1 {
      font-family: "Inter", Arial, Helvetica, sans-serif;
      color: #192673;
      text-align: center;
      font-size: 25px;
    }

    .textbox > h2 {
      text-align: center;
    }

    .textbox > p {
      text-align: center;
    }

    .about_col1 {
      display: flex;
      flex-direction: row;
      width: 50%;
      justify-content: center;
      align-items: center;
    }

    .about_col2 {
      width: 80%;
      display: flex;
      flex-direction: row;
    }

    .h2_col2_bs {
      display: none;
    }
    .h2_col2_mobile {
      display: block;
    }
    .textbox_2 > h2 {
      line-height: 1.2;
      padding-bottom: 25px;
    }
    .buttons {
      padding-bottom: 30px;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }
    a > button {
      width: 200px;
      cursor: pointer;
      background-color: #192673;
      padding: 15px;
      border: 0px;
      color: #f8f8f4;
      font-family: "Inter", Arial, Helvetica, sans-serif;
      font-size: 15px;
      font-weight: 500;
    }

    a > button:hover {
      background-color: #0a123f;
    }

    .textbox > img {
      display: block;
      width: 150px;
      border-radius: 100px;
      margin: 0 auto;
      padding-top: 50px;
    }

    .nav-mobile {
      display: block;
      margin-top: 7px;
    }
    .brand > a > img {
      width: 100px;
      padding-top: 17px;
      margin-left: -20px;
    }

    .nav-bar {
      height: 80px;
      padding-top: 0px;
      background: #ffffff;
      margin-bottom: 0px;
    }
    nav {
      width: 100%;
      padding: 70px 0 15px;
    }

    nav ul {
      display: none;
    }

    nav ul li {
      float: none;
      text-align: center;
    }

    nav ul li a {
      padding: 15px;
      font-size: 20px;
      line-height: 90px;
    }

    nav ul li ul li a {
      padding-left: 30%;
    }

    .nav-dropdown {
      position: static;
    }
    .nav-dropdown li a {
      text-align: left;
      font-size: 15px;
      text-align: center;
      margin-left: -25%;
    }
    a > .social {
      display: none;
    }

    .bigscreen {
      display: none;
    }
  }
}
