* {
  box-sizing: border-box;
}

@font-face {
  font-family: "Centaury";
  src: url("../fonts/Centaury-Display.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Rosario";
  src: url("../fonts/rosario_regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "BerkshireSwash";
  src: url("../fonts/BerkshireSwash-Regular.woff2") format("woff2");
  font-display: swap;
}

html {
  font-size: clamp(13px, 0.75rem + 1vw, 16px);
  font-family: 'Rosario', monospace;
  /* word-wrap: break-word;
  hyphens: manual; */
}

body {
  margin: 0;
  min-height: 100vh;
  /* background-color: #8a41f3; /*change this when the star background changes */
  background-color: #030d40;  /* same as trees in stars.jpeg */
  word-break: keep-all;
}

.bg-img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 130vh;
  height: 130svh;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 95%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 95%, rgba(0, 0, 0, 0) 100%);
}

@media (max-aspect-ratio: 7/5) {
  .bg-img {
    height: 120vh;
    height: 120svh;
  }
} 

.belownav {
  max-width: 1100px;
  width: 95%;
  margin: 0 auto;
}

#svgtoppadding {
  width: 100%;
  height: 5vh;
  height: 5svh;
}

#allsvg-container {
  /* position: relative; */
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: transparent;
  fill: none;
  height: 85vh;
  height: 85svh;
}

#mainsvg-container {
  position: relative; 
  width: 100%;
  height: 85svh;
  display: grid;
  grid-template-areas: "stack";
  align-items: end;

}

#mainsvg-container picture,
#mainsvg {
  width: 100%;
  height: inherit;
  grid-area: stack;
}

#mainsvg {
  width: 100%;
  height: inherit;

  -o-object-fit: contain;
  object-fit: contain;
  max-width: 100%;
aspect-ratio: 1283 / 1516; 
  fill: initial;
  margin-top: auto;
}

#windows {
  width: 100%;
  height: inherit;
  -o-object-fit: contain;
  object-fit: contain;
  max-width: 100%;
  display: block;
  aspect-ratio: 1283 / 1516; 
margin-top: auto;
object-position: bottom;
}


#brandsvgcontainer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#brandsvg {
  width: 100%;
  height: 100%;
  height: 25vh;
  height: 25svh;
  width: auto;
  -webkit-aspect-ratio: 726 / 355;
  aspect-ratio: 726 / 355;

}

@media (max-aspect-ratio: 7/5) {
  #svgtoppadding {
    height: 3vh;
    height: 3svh;
  }

  #allsvg-container {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    height: auto;
  }

  #mainsvg-container {
    width: 100%;
    order: 2;
    height: auto;
   
  }

  #mainsvg {
    height: auto;
  }

  #windows{
    height: auto;
  }

  #brandsvgcontainer {
    width: auto;
    margin-top: auto;
    order: 1;
  }

  #brandsvg {
    height: 20vh;
    height: 20lvh;

  }
}

.black-between {
  display: block;
  /* position: relative; */
  background-color: black;
  box-shadow: 0 -5px 0 black;
  height: 10vh;
  height: 10lvh;
}

p {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.3;
}

h1 {
  font-size: clamp(30px, 8rem, 70px);
  font-family: "Centaury", Arial, sans-serif;
  color: white;
  line-height: 0.75;
  transform: scaleY(1.15);
  transform-origin: center;

  text-shadow:
    -0.01em -0.01em 0 #9e9e9e,
    0.01em -0.01em 0 #9e9e9e,
    -0.01em 0.01em 0 #9e9e9e,
    0.01em 0.01em 0 #9e9e9e;
  -webkit-font-smoothing: antialiased;

  padding-bottom: 6vh;
  padding-bottom: 6dvh;
}

h1 {
  font-size: clamp(1.5rem, 15vw, 5rem);
  /* Minimaal 1.5rem, flexibel met 5vw, maximaal 3rem */
}

@media (max-aspect-ratio: 7/5) {
  #svgtoppadding {
    height: 0vh;
    height: 0dvh;
  }

  h1,
  #brandsvg {
    padding-bottom: unset;
  }
}

.belownav a {
  color: #f571d4;
}


h2 {
  font-size: clamp(1px, 1.5rem + 3vw, 70px);
    font-family: "BerkshireSwash", Arial, sans-serif;
}

h3 {
  font-size: clamp(1px, 1rem + 0.5vw, 20px);
    font-family: "BerkshireSwash", Arial, sans-serif;
}

.unstyled {
  list-style-type: none;
}

#rooster strong {
  display: inline-block;
  width: 90px;
}

.roosterflex {
  display: flex;
  gap: 1rem;
  flex-direction: row;
}

.roosterflex>div {
  min-width: -webkit-fit-content;
  min-width: -moz-fit-content;
  min-width: -webkit-fill-available;
  min-width: fit-content;
  flex: 1;
  padding: 30px;
  border-radius: 18px;
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.5rem);
  background-color: #da9e14;
  color: black;
}

@media (max-aspect-ratio: 7/5) {
  .roosterflex {
    flex-direction: column;
  }
}

.home-content-section {
  position: relative;
  padding: 10% 18%;
  border: 0.5rem solid black;
  text-align: center;
  text-justify: inter-word;
  background-color: #293365;
  color: white;
}
@media (max-aspect-ratio: 7/5) {
  .home-content-section{
      padding: 5%;
  }

  #introtext p{
    text-align: justify;
    text-justify: inter-word;
  }
}

.promo-textbox {
  position: absolute;
  top: 10vh;
  right: -11vw;
  width: 40vw;
  max-width: 300px;
  min-width: 150px;
  padding: 1vw 2vw;
  padding: 25px 35px;
  background: #add8e6cc;
  color: #000080;
  border-radius: 60px;
  font-family: 'Rosario', monospace;
  transform: rotate(8deg);
  z-index: 10;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7);
}

.promo-textbox:hover {
    transform: translateY(5%) rotate(8deg) scale(1.1);
  background: #c7eefbcc;
}

@media (max-aspect-ratio: 7/5) {
  .promo-textbox {
    top: 25vh;
    right: 4vw;
    padding: 2vw 3vw;
    transform: rotate(-8deg);
  }
}
@media (max-width: 1420px)
{
  .promo-textbox {
   width: 25vw;
  max-width: 250px;
  min-width: 150px;

    right: -1vw;
  }
}
.promo-text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(11px, 1.8vw, 16px);
  text-align: center;
  line-height: 1.4;
}

.grid-container {
  display: grid;
  grid-template-columns: 3fr 4fr;
}

.grid-item {
  height: 100%;
  width: 100%;
}


#contact-info {
  padding-right: 15%;
  padding-bottom: 10%;
}

@media (max-aspect-ratio: 7/5) {
  .grid-container {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
  }

  #contact-info {
    padding-right: unset;
  }
}

.white-content {
    position: relative;
    padding: 15%;
    padding-top: 0%;
    border: 0.5rem solid black;
    font-family: 'Rosario', monospace;
    background-color: #ffffffe0;
}

.justify {
    text-align: justify;
    text-justify: inter-word;
}

@media (max-aspect-ratio: 7/5) {
  .white-content {
    padding: 5%;
  }

  span {
    width: 100%;
    float: none;
  }
}

.white-content a {
  color: blue;
}

.white-content h1 {
  all: revert;
  font-size: clamp(30px, 8vw, 70px);
  font-family: "BerkshireSwash", Arial, sans-serif;
}

