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

* {
  margin: 0;
  padding: 0;
  font-family: Segoe UI;
  scroll-behavior: smooth;
}

body {
  background-color: #f8f8f4;
  overflow-x: hidden;
  animation: fadeInAnimation ease 2s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

footer > p {
  text-align: center;
  color: white;
  font-style: italic;
  line-height: 4;
  font-size: 12px;
  font-weight: 100;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

.footer_container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 30px;
}
.footer_col1 {
  width: 20%;
  text-align: left;
  color: white;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}
.footer_col2 {
  width: 20%;
  text-align: center;
  color: white;
}

.footer_col3 {
  width: 20%;
  text-align: right;
  color: white;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

.footer_col1 > a {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: white;
  line-height: 2;
  text-decoration: none;
  font-weight: 400;
}
.footer_col1 a:hover {
  color: white;
  font-weight: 600;
}
.footer_col3 > a {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: white;
  line-height: 2;
  text-decoration: none;
  font-weight: 400;
}
.footer_col3 a:hover {
  color: white;
  font-weight: 600;
}
.footer_col2 > a {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: white;
  line-height: 2;
  text-decoration: none;
  font-weight: 400;
}
.footer_col2 a:hover {
  color: white;
  font-weight: 600;
}
/*footer slut*/

.logo_quote {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.logo_col_1 {
  width: 700px;
  margin-top: 40px;
  text-align: center;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-style: italic;
}
.logo_col_2 > img {
  width: 150px;
  margin-top: 80px;
  padding: 40px;
}
/*huvudinnehåll*/

.col2 {
  text-align: center;
}
.col2 > h1 {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 600;
  line-height: 3;
}
a {
  text-decoration: none;
}
.col2 > p {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.5;
}

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

.col2 > a > button:hover {
  background-color: #0a123f;
}
/*huvudinnehåll slut*/

/*Aktuella kurser*/
.main_col_1 > h1 {
  text-align: center;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 22px;
  line-height: 3;
  font-weight: 600;
}

.main_col_2 > h1,
.main_col_3 > h1 {
  text-align: center;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 25px;
  padding: 20px;
  font-weight: 8500;
  color: #06041f;
}

/*aktuella kurser slut*/

/*Underheader, header med bild och slogan */
.underheader {
  width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.uh_textbox > h1 {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: white;
  background-color: #304ffe;
  font-weight: 600;
  font-size: 28px;
  padding: 10px;
  padding-left: 15px;
  padding-right: 15px;
}
.uh_textbox > p {
  color: white;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  font-style: italic;
}
.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;
  transition: transform 0.2s;
}

.brand > a > img:hover {
  transform: scale(1.1);
}

.brand a {
  text-decoration: none;
  color: rgb(51, 46, 46);
}

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

.social {
  width: 100px;
  float: right;
  margin-top: 20px;
  margin-left: 100px;
  opacity: 70%;
}

.social > a > .img1 {
  width: 26px;
  cursor: pointer;
  -webkit-transition: all 0.2s ease-in-out;
}

.social > a > .img1:hover {
  content: url(img_css/fb_hover.png);
  -webkit-transform: scale(1.1);
}

.social > .img2 {
  width: 26px;
  cursor: pointer;
  -webkit-transition: all 0.2s ease-in-out;
}

.social > .img2:hover {
  content: url(img_css/Instagram_hover.png);
  -webkit-transform: scale(1.1);
}

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;
  }

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

  nav ul li a {
    font-size: 12px;
  }
  /*Huvudinnehåll 1, bild och hur kan vi hjälpa till*/
  .main_container {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 0px;
  }

  .col1 {
    width: 20%;
    height: auto;
  }

  .col1 > img {
    width: 100%;
  }

  .col2 {
    width: 350px;
    background-color: transparent;
    height: auto;
    display: flex;
    flex-direction: column;
    margin-top: 60px;
    justify-content: center;
  }

  /*Huvudinnehåll 1, bild och hur kan vi hjälpa till SLUT*/

  /*tablet kurser*/
  .main_col_2,
  .main_col_3 {
    height: 320px;
    width: 500px;
  }

  /*tablet akutella kurser slut*/
}

@media only screen and (max-width: 930px) {
  .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%;
  }
  .social {
    display: none;
  }

  .bigscreen {
    display: none;
  }
  /*underheader slogan bild mobilverision*/
  .underheader {
    background-image: url(img_css/Bocker_2_mobil.png);
    background-position: bottom;
    background-size: cover;
    height: 200px;
  }
  .uh_textbox {
    width: 80%;
    margin: 0 auto;
  }
  .uh_textbox > h1 {
    font-weight: 500;
    font-size: 18px;
    padding: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .uh_textbox > p {
    color: white;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-weight: 300;
    line-height: 1.7;
    font-size: 12px;
    font-style: italic;
  }
  /*underheader mobil slut*/

  /*Huvudinnehåll 1, bild och hur kan vi hjälpa till MOBIL*/
  .main_container {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    margin-top: 0px;
  }

  .col1 {
    width: 30%;
    height: auto;
  }

  .col1 > img {
    width: 100%;
    display: none;
  }

  .col2 > img {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 1000px;
  }

  .col2 > h1 {
    line-height: 1;
    text-align: center;
    font-size: 25px;
    margin-bottom: 20px;
  }

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

  .col2 > a > button {
    margin: 0 auto;
    margin-bottom: 10px;
    margin-top: 50px;
    text-align: center;
  }

  .col2 {
    width: 80%;
    background-color: transparent;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  /*Huvudinnehåll 1, bild och hur kan vi hjälpa till MOBIL SLUT*/

  /*huvudinnehåll 2, aktuella kurser MOBIL*/
  .main_container_2 {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding-top: 50px;
  }

  .main_col_1 {
    width: 100%;
  }

  .main_col_2 {
    margin-bottom: 100px;
    height: 260px;
    width: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(img_css/Kurs.png);
    background-size: cover;
    opacity: 70%;
    -moz-transition: all 0.4s ease-out; /* FF4+ */
    -o-transition: all 0.4s ease-out; /* Opera 10.5+ */
    -webkit-transition: all 0.4s ease-out; /* Saf3.2+, Chrome */
    -ms-transition: all 0.4s ease-out; /* IE10? */
    transition: all 0.4s ease-out;
    cursor: pointer;
  }

  .main_col_3 {
    margin-bottom: 100px;
    height: 260px;
    width: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(img_css/kurs2.png);
    background-size: cover;
    opacity: 70% !important;
    -moz-transition: all 0.4s ease-out; /* FF4+ */
    -o-transition: all 0.4s ease-out; /* Opera 10.5+ */
    -webkit-transition: all 0.4s ease-out; /* Saf3.2+, Chrome */
    -ms-transition: all 0.4s ease-out; /* IE10? */
    transition: all 0.4s ease-out;
    cursor: pointer;
  }

  .main_col_3,
  .main_col_2:hover {
    opacity: 100%;
  }

  .main_col_2 > img,
   .main_col_3 > img
  {
    margin: 0 auto;
    max-width: 500px;
  }


  

  /*aktuella kurser slut MOBIL*/

  /*Footer MOBIL*/

  .logo_quote {
    padding: 0px;
    width: 90%;
    margin: 0 auto;
  }

  .logo_col_1 {
    margin: 0 auto;
    width: 80%;
  }
  footer {
    height: auto;
    width: 100%;
    background-color: #0a123f;
    padding-bottom: 15px;
  }
  .footer_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 40px;
  }
  .footer_col1 {
    width: 100%;
    text-align: center;
    color: white;
    font-family: "Inter", Arial, Helvetica, sans-serif;
  }

  .footer_col1 a {
    font-size: 15px;
  }
  .footer_col2 {
    width: 100%;
    text-align: center;
    color: white;
  }
  .footer_col2 a {
    font-size: 18px;
  }

  .footer_col3 {
    width: 100%;
    text-align: center;
    color: white;
    font-family: "Inter", Arial, Helvetica, sans-serif;
  }
  /*footer slut MOBIL*/
}

@media screen and (min-width: 930px) {
  .nav-list {
    display: inline block !important;
  }
  .smallscreen {
    display: none;
  }

  .underheader {
    background-image: url(img_css/Bocker_2.png);
    background-position: bottom;
    background-size: cover;
    margin-bottom: 80px;
  }
  /*Huvudinnehåll 1, bild och hur kan vi hjälpa till*/
  .main_container {
    width: 1000px;
    height: auto;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 40px;
  }

  .col1 {
    width: 28%;
    height: auto;
  }

  .col1 > img {
    width: 100%;
  }

  .col2 {
    width: 55%;
    background-color: transparent;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .col2 > img {
    display: none;
  }
  /*Huvudinnehåll 1, bild och hur kan vi hjälpa till SLUT*/

  /*huvudinnehåll 2, aktuella kurser*/
  .main_container_2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding-top: 50px;
  }

  .main_col_1 {
    width: 100%;
  }

  .main_col_2 {
    margin-bottom: 40px;
    height: 320px;
    width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(img_css/Kurs.png);
    opacity: 80%;
    -moz-transition: all 0.4s ease-out; /* FF4+ */
    -o-transition: all 0.4s ease-out; /* Opera 10.5+ */
    -webkit-transition: all 0.4s ease-out; /* Saf3.2+, Chrome */
    -ms-transition: all 0.4s ease-out; /* IE10? */
    transition: all 0.4s ease-out;
    cursor: pointer;
  }
  .main_col_2:hover {
    opacity: 100%;
    color: black;
  }

  .main_col_2 > img {
    margin: 0 auto;
    width: 500px;
  }
  
    .main_col_3 {
    margin-bottom: 40px;
    height: 320px;
    width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(img_css/kurs2.png);
    opacity: 80%;
    -moz-transition: all 0.4s ease-out; /* FF4+ */
    -o-transition: all 0.4s ease-out; /* Opera 10.5+ */
    -webkit-transition: all 0.4s ease-out; /* Saf3.2+, Chrome */
    -ms-transition: all 0.4s ease-out; /* IE10? */
    transition: all 0.4s ease-out;
    cursor: pointer;
  }
  .main_col_3:hover {
    opacity: 100%;
    color: black;
  }

  .main_col_3 > img {
    margin: 0 auto;
    width: 500px;
  }
  /*aktuella kurser slut*/

  /*Footer*/
  footer {
    height: 150px;
    width: 100%;
    background-color: #192673;
  }
}
