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

body {
  font-family: 'Goldman', sans-serif;
  background-color: #f2edeb;
  overflow-x: hidden;
  padding-bottom: 240px;
}

.container {
  position: relative;
  width: 100%;
  min-height: 1024px;
  margin: 0 auto;
  background-color: #f2edeb;
}

.header {
  position: absolute;
  background-color: #f05365;
  height: 136px;
  left: 0;
  top: 0;
  width: 100%;
}

.footer {
  position: fixed;
  background-color: #fabc2a;
  height: 162px;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 10;
}

.footer-text-left,
.footer-text-right,
.social-icon {
  z-index: 20;
}

.logo {
  position: absolute;
  font-family: 'Goldman', sans-serif;
  font-style: normal;
  font-weight: 400;
  height: 74px;
  line-height: normal;
  left: 2.5%;
  color: #f2edeb;
  font-size: clamp(32px, 4.4vw, 64px);
  top: 31px;
  max-width: 48%;
  white-space: pre-wrap;
  text-decoration: none;
  cursor: pointer;
}

.nav-item {
  display: none;
}

.hamburger {
  display: block;
}

@media (min-width: 769px) {
  .nav-item {
    position: absolute;
    font-family: 'Goldman', sans-serif;
    font-style: normal;
    font-weight: 400;
    height: 48px;
    line-height: normal;
    color: #f2edeb;
    font-size: clamp(18px, 2.5vw, 36px);
    top: 44px;
    width: auto;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    display: block;
  }

  .nav-item:hover, .logo:hover {
    opacity: 0.8;
  }

  .nav-1 { left: 52.9%; }
  .nav-2 { left: 67.8%; }
  .nav-3 { left: 82.8%; }

  .hamburger,
  .close-button,
  .mobile-menu {
    display: none !important;
  }
}

.hamburger {
  display: block;
  position: absolute;
  right: 10px;
  top: 13px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.close-button {
  display: none;
  position: fixed;
  right: 10px;
  top: 13px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 34px;
  height: 7px;
  background: #f2edeb;
  margin-bottom: 7px;
}

.hamburger-line:last-child {
  margin-bottom: 0;
}

.close-line {
  position: absolute;
  width: 34px;
  height: 7px;
  background: #d9d9d9;
  left: 0;
  top: 13px;
}

.close-line:first-child {
  transform: rotate(45deg);
}

.close-line:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 61px;
  left: 0;
  width: 100%;
  background: #f05365;
  z-index: 999;
  padding: 20px;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  color: #f2edeb;
  font-family: 'Goldman', sans-serif;
  font-size: 24px;
  padding: 15px;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 237, 235, 0.3);
}

.mobile-menu a:hover {
  opacity: 0.8;
}

.footer-text-left {
  position: fixed;
  bottom: 5px;
  left: 1.3%;
  font-family: 'Goldman', sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: #f2edeb;
  font-size: clamp(24px, 4.4vw, 64px);
  max-width: 48%;
  white-space: pre-wrap;
}

.footer-text-left p {
  margin: 0;
}

.footer-text-right {
  position: fixed;
  bottom: 5px;
  right: 1.3%;
  font-family: 'Goldman', sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: #f2edeb;
  font-size: clamp(24px, 4.4vw, 64px);
  text-align: right;
  max-width: 48%;
  white-space: pre-wrap;
}

.social-icon {
  position: fixed;
  bottom: 0px;
}

.social-icon img {
  pointer-events: none;
  width: 100%;
  height: auto;
}

.social-icon-1 {
  left: 34.3%;
  width: min(92px, 10vw);
  height: min(92px, 10vw);
  bottom: 15px;
}

.social-icon-2 {
  left: 44.6%;
  width: min(150px, 5.8vw);
  height: min(150px, 5.8vw);
}

.social-icon-3 {
  left: 54.9%;
  width: min(72px, 5.7vw);
  height: min(72px, 5.7vw);
  bottom: 43px;
}

.social-icon-4 {
  left: 63.4%;
  width: min(120px, 6.3vw);
  height: min(120px, 6.3vw);
  bottom: 18px;
}

.image-container {
  position: absolute;
}

.image-container img {
  position: absolute;
  inset: 0;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* Koduleht */
.content-text {
  position: absolute;
  font-family: 'Goldman', sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  font-size: 26px;
  color: black;
  width: 58.3%;
  white-space: pre-wrap;
}

.content-text-top {
  height: auto;
  left: 22.9%;
  top: 186px;
}

.content-text-bottom {
  height: auto;
  left: 23.3%;
  top: 915px;
}

.main-image {
  height: auto;
  max-height: 294px;
  left: 24.4%;
  top: 290px;
  width: 53.9%;
}

.main-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Nipid leht */
.column-text {
  position: absolute;
  font-family: 'Goldman', sans-serif;
  font-style: normal;
  font-weight: 400;
  height: auto;
  line-height: normal;
  font-size: 40px;
  color: black;
  top: 196px;
  width: 25.6%;
  white-space: pre-wrap;
}

.column-left {
  left: 6.7%;
}

.column-right {
  left: 67.4%;
}

.column-center {
  height: auto;
  left: 33.3%;
  top: 201px;
  width: 29.5%;
}

/* Tagatausta pilt */
.nipidleht {
  background-image: url("https://images.unsplash.com/photo-1492724441997-5dc865305da7?w=1200");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  padding: 100px 20px;
  color: white;
}

/* Tegelemine leht */
.large-text-left {
  position: absolute;
  font-family: 'Goldman', sans-serif;
  font-style: normal;
  font-weight: 400;
  text-align: right;
  height: auto;
  line-height: normal;
  left: 5.6%;
  font-size: clamp(18px, 2.5vw, 36px);
  color: black;
  top: 200px;
  width: 41.1%;
  white-space: pre-wrap;
}

.large-image-right {
  height: auto;
  max-height: 598px;
  left: 51.4%;
  top: 200px;
  width: 42.8%;
}

.large-image-right img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Tekst, mis on pildi peal */
.image-text {
  position: absolute;
  top: 280px;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 128px;
  text-align: center;
  font-family: 'Goldman', sans-serif;
  width: 80%;
}

/* Tuletamine leht */
.alt-text {
  position: absolute;
  font-family: 'Goldman', sans-serif;
  font-style: normal;
  font-weight: 400;
  height: auto;
  line-height: normal;
  font-size: clamp(14px, 1.7vw, 24px);
  color: black;
  width: 54.1%;
  white-space: pre-wrap;
}

.alt-text-1 {
  left: 35.6%;
  top: 182px;
}

.alt-text-2 {
  text-align: right;
  left: 8.6%;
  top: 397px;
  font-size: 30px;
}

.alt-text-3 {
  left: 39.7%;
  top: 688px;
  font-size: 60px;
}

.alt-image {
  position: absolute;
}

.alt-image img {
  position: absolute;
  inset: 0;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.alt-image-1 {
  height: auto;
  max-height: 218px;
  left: 11.9%;
  top: 182px;
  width: 22.7%;
}

.alt-image-1 img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.alt-image-2 {
  height: auto;
  max-height: 224px;
  left: 63.7%;
  top: 400px;
  width: 23.3%;
}

.alt-image-2 img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Video embed kast */
.video-container {
  position: relative;
  width: 80%;
  left: 1.8%;
  max-width: 700px;
  top: 660px;
}

.video-container iframe {
  width: 100%;
  height: 350px;
}

/* Telefoni vaade */
@media (max-width: 768px) {
  .container {
    width: 100%;
    max-width: 375px;
    min-height: 667px;
    padding-bottom: 0;
  }

  .header {
    height: 61px;
    position: absolute;
  }

  .logo {
    position: absolute;
    left: 8px;
    top: 13px;
    font-size: 32px;
    max-width: 338px;
    width: auto;
    height: 35px;
  }

  .nav-item {
    display: none;
  }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 61px;
    left: 0;
    width: 100%;
    background: #f05365;
    z-index: 999;
    padding: 20px;
  }

  .mobile-menu.active {
    display: block;
  }

  .mobile-menu a {
    display: block;
    color: #f2edeb;
    font-family: 'Goldman', sans-serif;
    font-size: 24px;
    padding: 15px;
    text-decoration: none;
    border-bottom: 1px solid rgba(242, 237, 235, 0.3);
  }

  .mobile-menu a:hover {
    opacity: 0.8;
  }

  .footer {
    position: absolute;
    top: 600px;
    height: 175px;
    border: 1px solid black;
  }

  .footer-text-left,
  .footer-text-right {
    display: none;
  }

  .social-icon {
    position: absolute;
    z-index: 20;
  }

  .social-icon-1 {
    left: 33px;
    top: 718px;
    width: 57px;
    height: 57px;
  }

  .social-icon-2 {
    left: 122px;
    top: 716px;
    width: 64px;
    height: 64px;
  }

  .social-icon-3 {
    left: 206px;
    top: 713px;
    width: 43px;
    height: 43px;
  }

  .social-icon-4 {
    left: 265px;
    top: 703px;
    width: 64px;
    height: 64px;
  }

  .content-text {
    position: absolute;
    width: 303px;
    font-size: 10px;
    left: 33px;
  }

  .content-text-top {
    top: 82px;
    height: 109px;
  }

  .content-text-bottom {
    top: 426px;
    height: 130px;
  }

  .main-image {
    display: block;
    position: absolute;
    left: 29px;
    top: 200px;
    width: 317px;
    height: auto;
  }

  .image-container {
    position: absolute;
    left: 29px;
    top: 200px;
    width: 317px;
    height: auto;
  }

  .image-container img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .column-text {
    position: absolute;
    width: 317px;
    font-size: 10px;
    height: auto;
    left: 33px;
  }

  .column-left {
    top: 220px;
    height: 108px;
  }

  .column-right {
    display: none;
  }

  .column-center {
    position: absolute;
    width: 167px;
    height: 108px;
    left: 108px;
  }

  .column-center:nth-of-type(1) {
    top: 87px;
  }

  .column-center:nth-of-type(2) {
    top: 347px;
  }

  .large-text-left {
    position: absolute;
    width: 317px;
    font-size: 10px;
    left: 29px;
    height: auto;
  }

  .large-text-left:nth-of-type(1) {
    top: 82px;
    height: 108px;
  }

  .large-text-left:nth-of-type(2) {
    top: 346px;
    height: 108px;
  }

  .large-image-right {
    position: absolute;
    width: 167px;
    height: 108px;
    left: 104px;
    top: 211px;
  }

  .alt-text {
    position: absolute;
    width: 317px;
    font-size: 10px;
    left: 29px;
    height: auto;
  }

  .alt-text-1 {
    top: 79px;
    height: 58px;
  }

  .alt-text-2 {
    top: 252px;
    height: 58px;
  }

  .alt-text-3 {
    top: 422px;
    height: 58px;
  }

  .alt-image,
  .alt-image-1,
  .alt-image-2,
  .alt-image-3 {
    display: none;
  }
}