* {
    margin: 0;
    padding: 0;
}

body {
  width: 100%;
  height: 100%;
  background-color: #15161E;
  font-size: large;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
  overflow-x: hidden;

}
.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 10vh;
    padding: 20px;
    gap: clamp(10px, 3vw, 40px);
    gap: 15vh;
    color: white;
}
.joinnow{
  color: white;
}
img{
  max-width: 100%;
  height: auto;
}
.bilder{
  width: 29%;
  display: flex;
  flex-direction: row;
  margin-top: 3%;
  gap: 30%;
}

#online:hover {
  filter: invert(100%);
  border-radius: 10px;
}
#wok:hover {
  filter: invert(100%);
  border-radius: 10px;
}
#pers:hover {
  filter: invert(100%);
  border-radius: 10px;
}

.top-text{
  color: white;
}

.bakgrunn {
  background-image: url('treningsbilde.png');
  background-size: cover;
  background-position: center;
  position: relative;
  height: 80vh;
  
}
.text{
  position:absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: white;
  padding: 10px;
  font-size: 25px;
}
.bakgrunnalle{
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;

}
.joinnow{
  background-color: #252631;
}
.join{
  color: white;
  font-size: 30px;
}
.join p{
  font-size: 28px;
  color: grey;
  font-weight: bold;
}
.mangebilder {

  --gap_grid: 1rem;
  margin-top: 5rem;
  display: grid;
  max-width: 200rem;
  gap: var(--gap_grid);
}

.top,
.bottom {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--gap_grid);
  & img {
    max-width: 20rem;
  }
  margin-bottom: 2rem;
}
.mann{
  margin-top: 2rem;
  display: flex;
  flex-direction: row;
  background-color: #252631;
  justify-content: center;
  color: white;
}
.gladmann{
  display: flex;
  align-items: end;
  width: 200rem;
  margin-right: 6rem;
  margin-top: 2rem ;
  margin-bottom: 2rem;
}
.tekstmann{
  
  color: white;
  margin-top: 4rem;
}
h2{
  margin-bottom: 4rem;
  font-style: italic;
  margin-left: 2rem;

}
p{
  font-size: 20px;
  font-style: italic;
  margin-left: 1rem;
}
.siste{
  margin-top: 2rem;
  background-color: #252631;
  
}
.overksrift{
  color: white;
  margin-bottom: 15rem;
}
.sistetekst{
  display: flex;
  flex-direction: row;
  gap: 4rem; 
  align-items: start;
  width: 100vw;
  justify-content: space-between;
  align-items: center;

}
.tekstinfo{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: white;
} 
.tekstinfo2{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: white;
  margin-bottom: 7rem;
} 
.teksinfo3{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: white;
  margin-right: 4rem;
  margin-bottom: 7rem;
}

@media only screen and (max-width: 600px) {
  .mann {
    flex-direction: column;
    padding: 20px;
    justify-content: center;
  }

  .mann img {
    width: 80vw;
  }
  
}
@media only screen and (max-width: 920px) {
.sistetekst{
    flex-direction: column;
  }
}
@media only screen and (max-width: 990px) {
.container{
    gap: 3px;
    font-size: 10px;
    justify-content: center;
  }
  .bakgrunn{
    object-fit: cover;
  }
}