html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@font-face {
  font-family: "bigbird";
  src: url("fonts/TAYBigBird.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

* {
  cursor: none !important;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'bigbird', sans-serif;
  background-color: #fffbea;
  height: 100vh;
  position: relative;
}

#intro-overlay {
  position: fixed;
  inset: 0;
  background: #fffbea;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 1.2s ease;
}

#intro-overlay img {
  max-width: 10vw;
  max-height: 10vh;
  object-fit: contain;
}


.logo {
  position: relative;
  text-align: center;
  margin-top: 10vh;
  width: 300px;
  height: 60px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  width: 320px;
  height: auto;
  transition: opacity 0.3s ease;
}

.logo img:first-child {
  position: absolute;
  opacity: 1;
}

.logo img:last-child {
  position: absolute;
  opacity: 0;
}

.logo:hover img:first-child {
  opacity: 0;
}

.logo:hover img:last-child {
  opacity: 1;
}

.logo2 {
  position: relative;
  display: block;
  margin: 32px auto 0 auto;
  text-align: center;
  top: 15%;
}

.logo2 img {
  height: 30px;
  display: block;
  margin: 0 auto;
}

/* Locations */
.locations-container {
  position: relative;
  width: 100%;
  height: 50vh;
  display: flex;
  justify-content: space-between;
  margin-top: -60vh;
}

.location {
  width: 200px;
  text-align: center;
  font-size: 30px;
}

.location p {
  margin: 5px 0;
}

.london-group {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  margin-right: 50%;
  margin-top: 15vh;
}

.london-image {
  transform: rotate(-15deg);
  width: 250px;
  height: auto;
  margin-bottom: -200px;
  margin-left: 300px;
  z-index: -1;
}

.newyork-group {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  margin-left: 50%;
  margin-top: 0vh;
}

.newyork-image {
  transform: rotate(-15deg);
  width: 280px;
  height: auto;
  margin-bottom: -360px;
  margin-right: 260px;
  z-index: -1;
}

/* Buttons */
.subscribe {
  background: #3c303b;
  color: #fffbea;
  font-family: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  border: none;
  padding: 8px 20px;
  margin-top: 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

.info-button {
  background: #3c303b;
  color: #fffbea;
  font-family: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  transition: opacity 0.2s;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  position: relative;
  z-index: 1000;
  pointer-events: auto;
}

.info-button:hover {
  opacity: 0.8;
}

.bottom-button-container {
    width: 100%;
    text-align: center;
    margin-top: 10%;
    margin-bottom: 80px;
    padding: 80px 0; 
    position: relative;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}


.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#subscribeModal .modal-content {
  background: #fff;
  padding: 32px 40px;
  border-radius: 10px;
  width: 70vw;
  max-width: 400px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  overflow-y: auto;
}

.modal-content {
  background: #fff;
  padding: 32px 40px;
  border-radius: 10px;
  width: 70vw;
  max-width: 1000px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  overflow-y: auto;
}

#infoModal {
  z-index: 199998;
}

.modal-input {
  width: 240px;
  padding: 10px;
  font-size: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 0;
  text-align: center;
  letter-spacing: 0.15em;
  font-family: inherit;
}

.modal-input:focus {
  outline: none;
  box-shadow: none;
}

.modal-subscribe {
  font-size: 0.9rem;
  user-select: none;
  background: none;
  border: none;
  padding: 0;
  margin-top: 32px;
  transition: text-decoration 0.2s;
  font-family: inherit;
  letter-spacing: 0.15em;
}

.modal-subscribe:hover,
.modal-subscribe:focus {
  text-decoration: underline;
}

.modal-text {
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.6;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  width: 100%;
}

.modal-close {
  font-size: 0.9rem;
  user-select: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.modal-close:hover {
  opacity: 0.7;
}


.about-section,
.ourspark-section {
  width: 40%;
  margin: auto;
  text-align: justify;
  position: relative;
}

.about-section {
  top: 10%;
}

.ourspark-section {
  top: 15%;
}

.ethos-section {
  width: 40%;
  margin: auto;
  text-align: center;
  position: relative;
  top: 17%;
}

.privacy-section {
  width: 40%;
  margin: auto;
  text-align: justify;
  position: relative;
  top: 25%;
}

.about,
.ourspark,
.ethos,
.privacy {
  text-align: center;
  margin-bottom: 20px;
}

.about p,
.ourspark p,
.ethos p,
.privacy p {
  font-weight: normal;
  font-size: 18px;
  letter-spacing: 2px;
}

.about-text p,
.ourspark-text p,
.ethos-text p,
.privacy-text p {
  margin: 0;
  line-height: 1;
}

.privacy-text {
  text-align: justify;
}


.contact {
  position: relative;
  text-align: center;
  color: #3c303b;
  margin-top: 18vh;
}

.contact a {
  color: #3c303b;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact a:hover {
  opacity: 0.7;
}


.custom-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fffbea;
  color: #3c303b;
  padding: 24px 32px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
  font-family: inherit;
  font-size: 1.1rem;
  z-index: 99999;
  text-align: center;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  background: #3c303b;
  border-radius: 50%;
  pointer-events: none;
  z-index: 199999;
  transform: translate(-50%, -50%);
}


.color-blue { color: #97bfc5; }
.color-red { color: #c55a48; }
.color-dark { background: #3c303b; }
.color-cream { background: #fffbea; }

/* Mobile Responsive */
@media (max-width: 768px) {
  body {
    font-size: 18px;
  }
  .custom-cursor {
    display: none;
  }

  .logo {
    position: static;
    margin: 100px auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .logo img {
    height: 60px;
    position: static;
    opacity: 1;
    transition: none; 
  }

   .logo:hover img:first-child {
    opacity: 1;
  }

  .logo:hover img:last-child {
    display: none;
  }

  .logo2 {
    position: relative;
    display: block;
    margin: 40px auto;
    text-align: center;
    top: 0;
    order: initial;
  }

  .logo2 img {
    height: 30px;
    display: block;
    margin: 0 auto;
    max-width: 80%;
  }


  .locations-container {
    margin-top: -20vh;
    height: auto;
    flex-direction: column;
    align-items: center;
  }

  .newyork-group {
    position: static;
    margin: 60px auto 0 auto;  
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .london-group {
    position: static;
    margin: 40px auto; 
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .london-image,
  .newyork-image {
    position: static;
    width: 50vw;
    max-width: 350px;
    margin: 0 auto 24px auto;
    z-index: 0;
    transform: none;
  }


  .bottom-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto 60px auto;
    padding: 40px 0;
  }

   
  .subscribe,
  .info-button {
    font-size: 1.2rem;
    padding: 12px 32px;
    min-width: 160px;
    letter-spacing: 0.15em;
  }


  .bottom-button-container .info-button,
  .bottom-button-container .subscribe {
    margin: 0 auto;
    display: inline-block;
  }

  
  .modal-content {
    width: 95vw;
    padding: 32px 24px;
    max-height: 85vh;
    margin: 20px;
  }

  #infoModal .modal-content {
    max-height: 70vh;    
    width: 90vw;         
    padding: 24px 20px;  
    margin: 10px;        
    overflow-y: auto;    
  }

  #infoModal .modal-text {
    font-size: 1rem;     
    line-height: 1.6;    
  }  

  .modal-input {
    width: 60vw;          
    max-width: 250px;     
    padding: 12px;        
    font-size: 0.9rem;    
    min-height: 18px;     
  }

  .modal-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
  }

  .modal-subscribe,
  .modal-close {
    font-size: 1.1rem;
    padding: 10px;
    min-height: 44px;
  }

  
  .contact {
    margin-top: 15vh;
    margin-bottom: 30%;
    font-size: 1.4rem;
    padding: 0 20px;
  }


  .about-section,
  .ourspark-section,
  .ethos-section,
  .privacy-section {
    width: 90%;
    padding: 0 20px;
    top: 0;
    margin: 40px auto;
  }

  .about,
  .ourspark,
  .ethos,
  .privacy {
    position: static;
    margin: 32px auto;
    text-align: center;
    font-size: 1.6rem;
    left: auto;
    top: auto;
    transform: none;
  }

  .about p,
  .ourspark p,
  .ethos p,
  .privacy p {
    font-size: 24px;
    letter-spacing: 1px;
    margin-bottom: 16px;
  }

  .about-text p,
  .ourspark-text p,
  .ethos-text p,
  .privacy-text p {
    font-size: 18px;
    line-height: 1.6;
    margin: 12px 0;
    letter-spacing: 0.5px;
  }

  
  .custom-message {
    padding: 32px 24px;
    font-size: 1.3rem;
    width: 90vw;
    max-width: 400px;
  }

  
  #intro-overlay img {
    max-width: 20vw;
    max-height: 15vh;
  }

   .logo img:last-child {
    display: none;  /* Skjuler UUU logoet på mobil */
  }

  /* Juster hovedlogoet når UUU er skjult */
  .logo img:first-child {
    position: static;
    opacity: 1;
  }

}
