
/*
p {
  width: 100%;
}

#sissejuhatus {
  width: 100%;
}
*/

#kontakt {
  background-color: rgb(255, 255, 96);
  padding: 2rem;
}

img {
  width: 200px;
  height: 200px;
  border-radius: 21.5%;
}

.hero {
  position: relative;
  width: 100%;
   display: flex;
  justify-content: center;
}

.Kangelane {
  
  width: 100%;
 border-radius: 3.5%;
  height: auto;
   display: block;
}

.hero nav {
  position: absolute;
  top: 50%;
  left: 5%; 
  width: 10%;
  background: rgb(0, 0, 0);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 2vw;
}


.title {
  font-weight: bold;
}

.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  clip-path: none;
  background-color: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 1000;
}


body {
  background-color: pink;
}

.video-wrapper {
  position: relative;
  max-width: 1000px; 
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


.info-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.info-row img {
  width: 300px;
  height: auto;
}

.text-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1.2rem;
}

nav a:hover {
  background-color: #f0f0f0;
  color: #0077cc;
}

nav a:focus {
  outline: 2px solid #0077cc;
  background-color: #e0f7ff;
  color: #005fa3;
}

em {
  font-weight: bold;
  color: red;
}

#sissejuhatus .grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
}




@media (max-width: 765px) {
  #sissejuhatus .grid-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .info-row {
    flex-direction: column;
    align-items: center;
  }

  .hero nav {
    width: 80%;
    font-size: 6vw;
    left: 10%;
    top: auto;
    bottom: 10%;
  }

  img,
  .info-row img {
    max-width: 100%;
    height: auto;
  }
}

.grid-container > div {
  background-color: #ffe;
  border: 1px dashed red;
  padding: 1rem;
}