/**
 * file: css/index.css
 * purpose: styling
 **/

/* Define variables in the :root */
 :root {
/* Farvepalet: Plakaten */
   --white: #ffffff;
   --beige: #f0ebdf;
   --moerkbeige:#d8d3c3;
   --orange: #f86f3d;
   --blaa: #0d3680;
   --groen: #345831;
   --lilla: #9e91f5;
   --lyserød:#ff8a8c; 
 }

/* Skrifttyper, størrelse, udseende og placering */
h1 {
  color: var(--white);
  font-family: "Poppins", serif;
  font-weight: 800;
  font-style: normal;
  font-size: 2.5rem;
  text-align: center;
}

h2 {
  color: var(--blaa);
  font-size: 1.5rem;
  font-family: "Poppins", serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
}

h3 {
  color: var(--white);
  font-size: 1rem;
  font-family: "Poppins", serif;
}

h4 {
  color: var(--blaa);
  font-size: 2.5rem;
  font-family: "Poppins", serif;
  font-weight: 800;
  font-style: normal;
  text-align: left;
}

h5 {
  color: var(--blaa);
  font-family: "Poppins", serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
}

p {
  color: var(--white);
  font-family: "Poppins", serif;
  font-weight: 300;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

 /*B baggrund */
body {
  background-color: var(--beige);
}

/* videoen der kører i baggrunden */
.back-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

/* Flex af logo og menupunkter i header */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo img {
  width: 18.75rem;
  margin-left: 8rem;
  margin-top: 5rem;
  margin-bottom: 20rem;
  position: relative;
}

/* Flex og placering af menupunkter */
.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3.75rem; /* mellemrum mellem nav tasterne*/
  margin-bottom: 37rem;
  position: relative;
  padding-right: 7rem;
}

/* Styling af menupunkter */
.main-nav ul li a {
  text-decoration: none;
  color: var(--beige);
  font-size: 1.9rem;
  font-family: "Poppins", serif;
  font-weight: 550;
  font-style: normal;
}

.main-nav ul li a:hover {
  color: #f86f3d;
}

/* Styling af tekst om plakaten (velkommen article) */
.velkommen {
  justify-content: center;
  background-color: var(--beige);
  width: 100%;
  height: 100%;
  padding-left: 14.3rem;
  padding-right: 14.3rem;
  padding-top: 2rem;
  padding-bottom: 6rem;
}

/* Opdeling tekst om plakaten (velkommen article), for at kunne få PLAKATEN til at stå større end resten af teksten */
.plakattekst {
  width: 100%;
  height: 100%;
  margin-bottom: -5rem;
}

/* Placering og styling af VORES BESTSELLERS section */
#bestsellers {
  justify-content: center;
  background-color: var(--orange);
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Flex og placering af billeder i bestseller section */
.plakater {
  background-color: var(--orange);
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding-bottom: 5rem;
  margin-bottom: 5rem;
}

#plakat1 {
  height: auto;
  width: 18rem;
}

#plakat2 {
  height: auto;
  width: 18rem;
}

#plakat3 {
  height: auto;
  width: 18rem;
}

#plakat4 {
  height: auto;
  width: 18rem;
}

#plakat5{
  height: 25.6rem;
  width: 3rem;
}

#plakat6{
  height: 25.6rem;
  width: 3rem;
}

/* Container needed to position the overlay. Adjust the width as needed */

.plakat1{
  position: relative;
  max-width:fit-content;
}

.plakat2{
    position: relative;
    max-width:fit-content;
}

.plakat3{
    position: relative;
    max-width:fit-content;
}

.plakat4{
    position: relative;
    max-width:fit-content;
}

.plakat1:hover{
  transform:scale(1.1);
    transition: .5s ease;
}

.plakat2:hover{
  transform:scale(1.1);
  transition: .5s ease;
}

.plakat3:hover{
  transform:scale(1.1);
  transition: .5s ease;
}

.plakat4:hover{
  transform:scale(1.1);
  transition: .5s ease;
}

.plakat5:hover{
  transform:scale(1.1);
  transition: .5s ease;
}

.plakat6:hover{
  transform:scale(1.1);
  transition: .5s ease;
}

/* The overlay effect - lays on top of the container and over the image */
.overlay {
  position:absolute;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width:100%;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 0.75rem;
  font-family:"Poppins", sans-serif;
  font-style: bold;
  font-weight: 600;
  padding: 1.25rem;
  text-align:left;
}

/* When you mouse over the container, fade in the overlay title */
  .plakat1:hover .overlay {
    opacity: 1.1;
    transform:scale(0.9);
    margin-bottom: 4%;
}
  .plakat2:hover .overlay {
    opacity: 1.1;
    transform:scale(0.9);
    margin-bottom: 4%;
}
  .plakat3:hover .overlay {
    opacity: 1.1;
    transform:scale(0.9);
    margin-bottom: 4%;
}
  .plakat4:hover .overlay {
    opacity: 1.1;
    transform:scale(0.9);
    margin-bottom: 4%;
}

.udvid{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.udvid img{
  height: 3.5rem;
}

.udvid img:hover{
  transform:scale(1.2);
  transition: .5s ease;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: start; /* Justerer elementerne til at starte foroven */
    font-family: "Poppins", sans-serif;
    background-color: #0d3680;
    color: #fff;
    margin-top: 5rem;
    
}

/* Flex styling til hver footer-sektion */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: start; /* Justerer elementerne til at starte foroven */
  font-family: "Poppins", sans-serif;
  background-color: #0d3680;
  color: #fff;
  margin-top: 5rem;
}

/* Flex styling til hver footer-sektion */
.footer-section {
  display: flex;
  flex-direction: column; /* Laver en lodret stak af h2 og p */
  align-items: start; /* Justerer elementerne til venstre */
  margin-left: 1rem;
  margin-right: 5rem;
  padding: 2rem;
  margin-top: 2rem;
}

.footer-section h3 {
  margin: 0;
  font-size:1rem;
}

.footer-section p{
  margin-top: 0.5rem;
  font-size: 0.7rem;
}

.kontakt{
    display: flex;
    flex-direction:row;
    margin-right: 3rem;
}
#Facebook{
    width: 5rem;
    height: auto;
}

/* Media for mobiltelefoner */
@media only screen and (min-width: 440px) and (max-width: 767px) {

/* Skrifttyper, størrelse, udseende og placering, ændres da skalaen er mindre på telefon */
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1rem;
    margin-left: 0rem;
    margin-top: -2rem;
  }

  h4 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.6rem;
    margin-left: -5.5rem;
  }
 
  .logo img {
    width: 8.75rem;
    margin-left: 3rem;
    margin-top: 5rem;
    margin-bottom: 20rem;
    position: relative;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 15rem;
    margin-left: 3rem;
  }

  .main-nav ul li a {
    font-size: 1rem;
    font-weight: 550;
  }

  .footer{
      flex-direction: column;
  }

  .plakater {
    padding-left: 0rem;
    padding-right: 0rem;
    align-items: center;
    display: flex;
    justify-content: center;
  }

  .plakat1{
    margin-right: 1rem;
    margin-left: 1rem;
  }

  .plakat2{
    display: none;
  }
  .plakat3{
    display: none;
  }
  .plakat4{
    display: none;
  }

  .velkommen {
    justify-content: center;
    background-color: var(--beige);
    width: 100%;
    height: 100%;
    padding-left: 4rem;
    padding-right: 4rem;
    margin-top: 9rem;
  }
}

/* Media for tablet */
@media only screen and (min-width: 768px) and (max-width: 1024px) {

  .logo img {
    width: 12.75rem;
    margin-left: 5rem;
    margin-top: 5rem;
    margin-bottom: 20rem;
    position: relative;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 15rem;
    margin-left: 3rem;
  }
  
  .main-nav ul li a {
    text-decoration: none;
    color: var(--beige);
    font-size: 1rem;
    font-family: "Poppins", serif;
    font-weight: 550;
    font-style: normal;
  }

  .velkommen {
    justify-content: center;
    background-color: var(--beige);
    width: 100%;
    height: 100%;
    padding-left: 4.5rem;
    padding-right: 4.5rem;
    margin-top: 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.25rem;
    margin-top: 16rem;
  }

  h4 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    margin-right: 4rem;
  }

  h5 {
    font-size: 1.5rem;
    margin-left: -13rem;
  }

  .plakater {
    padding-left: 0rem;
    padding-right: 0rem;
    align-items: center;
    display: flex;
    justify-content: center;
  }

  .plakat1{
    margin-right: 1rem;
    margin-left: 1rem;
  }

  .plakat3{
    display: none;
  }

  .plakat6 {
    margin-left: 1rem;
  }

  .plakat2{
    display: none;
  }

  .footer{
    background-color: var(--blaa);
    color: var(--white);
    margin-top: 5rem;
  }

  .footer-section h3 {
    font-size: 1rem;
    justify-content: space-evenly;
    margin-right: -20rem;
  }

  .footer-section p{
    font-size: 0.5rem;
    margin-right: -25rem;
  }

}

/* Media for mellem tablet og computer */
@media only screen and (min-width: 1025px) and (max-width: 1282px) {

  .plakat3{
    display: none;
  }
  .logo img {
    margin-left:3rem;
  }
  h2 {
    margin-top: 2rem;
  
  }
  .plakattekst{
    padding-bottom:5rem;
  }
 .main-nav ul {

    gap: 1.5rem;
   padding:2rem;
   
  }
  
  .main-nav ul li a {
  font-size:1.6rem;
    font-weight:700;
  }
  
}

/* Media for mindre telefoner */
@media (max-width: 440px) {

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1rem;
    margin-left: 0rem;
    margin-top: -2rem;
  }

  h4 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.6rem;
    margin-left: -5.5rem;
  }

  h5 {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 2rem;
    margin-left: -14rem;
    margin-top: -2rem;
    padding-left: 7rem;
    padding-right: 7rem;
  }
  
  .logo img {
    width: 8.75rem;
    margin-left: 3rem;
    margin-top: 5rem;
    margin-bottom: 20rem;
    position: relative;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 15rem;
    padding-right: 2rem;
  }

  .main-nav ul li a {
    font-size: 1rem;
    font-weight: 650;
  }

  .footer{
      flex-direction: column;
  }

  .plakater {
    padding-left: 0rem;
    padding-right: 0rem;
    align-items: center;
    display: flex;
    justify-content: center;
  }

  #plakat1 {
    height:auto;
    width: 15rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  .plakat1:hover .overlay {
    opacity: 1.1;
    transform:scale(0.8);
    margin-bottom: 4%;
}

  #plakat5 {
    height: 21rem;
    width: 2rem;
  }

  #plakat6 {
    height: 21rem;
    width: 2rem;
  }

  .plakat2{
    display: none;
  }
  .plakat3{
    display: none;
  }
  .plakat4{
    display: none;
  }


  .velkommen {
    justify-content: center;
    background-color: var(--beige);
    width: 100%;
    height: 100%;
    padding-left: 4rem;
    padding-right: 4rem;
    margin-top: 9rem;
  }

}

/* Style the video: 100% width and height to cover the entire window
#myVideo {
  width: 100%;
  height: 100%;
} */

