

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Roboto;
}

/* fonter */

.roboto-semibold {
  font-family: Roboto;
  font-weight: 500;
}

.lora-regular {
  font-family: Lora;
  font-weight: 400;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Här skriver du design för mobil */

/* navbar */

.logo-conatiner {
  width: 20%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  width: 100%;
  max-height: 100%;
  object-fit: scale-down;
}

/* herosection */

.hero-section {
  width: 100%;
  height: 85dvh;
  background-image: url("../bilder/heroImage.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

.title {
  position: absolute;
  top: 20dvh;
  left: 5dvw;
  width: 70%;
}

.describe-text {
  position: absolute;
  top: 32dvh;
  left: 5dvw;
  font-size: 1rem;
  width: 50%;
}

/* sec1 */

.content-section {
  padding: 10dvh 5% 5%;
}

.styled-img {
  border: 5px solid #4659db;
}

.text-body {
  font-family: 'Lora', serif;
}


/* sec2 */

.card-section {
  padding-top: 10dvh;
  background-color: #e0e0e0;
}

.card-section h2 {
  padding-left: 4.7%;
}

.card-container {
  padding-top: 5dvh;
}

.card {
  height: 70dvh;
  margin-bottom: 5dvh;
  transition: all 0.5s;
}

@media (hover: hover) {
  .card-section .card:hover {
    transform: scale(1.1);
    
  }
  
}

.card img {
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  object-fit: cover;
}

/* sec3 */

.data-section {
  margin-bottom: 10dvh;
  background-color: #2793f2;
}

.data-section img {
  width: 100%;
  height: 40dvh;
  object-fit: cover;
}

.data-section .overlay {
  height: 40dvh;
  background-color: #2793f2;
  opacity: 0.8;
}

/* footer */

.footer {
  background-color: #343a40;
  color: #ffffff;
  padding: 40px 0;
}
.footer img {
  max-width: 120px;
}
.footer-links a {
  margin-right: 20px;
  color: #adb5bd;
  text-decoration: none;
}
.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.footer .copyright {
  margin-top: 20px;
  text-align: center;
  color: #adb5bd;
}

/* gdpr sida */

.info-box {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}
.img-right {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.img-left {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse;
}
.text-center-layout {
  text-align: center;
}
.text-center-layout img {
  margin: 0 auto;
}

/* lösenord sida */

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #007bff;
}
input:checked + .slider:before {
  transform: translateX(26px);
}
.label-text {
  margin-left: 15px;
  font-size: 18px;
}
.particle-count-input {
  display: none;
  width: auto;
  margin-left: 10px;
  max-width: 120px;
}

@media only screen and (min-width: 600px) {
  .nav-link {
    font-size: 1.3rem;
  }

  .title {
    width: 59%;
  }

  .describe-text {
    width: 40%;
  }

  /* sec2 */

  /* .card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .last {
    width: 50%;
    grid-column: span 2;
  } */
}

@media only screen and (min-width: 769px) {
  /* Här skriver du design för desktop */

  /* sec2 */

  /* .card-container {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 5%;
  }

  .card {
    grid-column: auto;
    width: 90%;
  } */
}

