/* Typografi */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;400;700&display=swap");

html {
  font-size: 65%;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--darkText);
  display: flex;
  flex-direction: column;
}
/* Overskrifter */ 
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 120%;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.4rem;
}

p {
  font-size: 1.4rem;
  line-height: 200%;
}

i {
  margin: 0.5rem;
  font-size: 2rem;
}

/* Farver */
html {
  --lightGrey: #e3e3e3;
  --darkText: #303030;
  --lightGreen: #b8e0f3;
  --darkGreen: #1081c2;
  --darkerGreen: #315eb1;
  --linkColor: #347ab7;
  --footerBg: #596586;
  --stdPadding: 2rem;
}

/* Layout */
body {
    margin: 0;
    display: flex;
    flex-direction: column;
  }
  
  section,
  footer {
    padding: 6rem;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Auto */
  .auto {
    background: var(--lightGrey);
  }
  
  /* Header start */
  .auto header {
    display: flex;
    /* align-items: center; */
    text-transform: uppercase;
    padding-top: 0;
  }
  /* nav */
nav {
    width: 50%;
    font-size: 1.5rem;
  }
  
  nav ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    align-items: center;
  }
  
  nav a {
    padding: 0.5rem;
    text-decoration: none;
    display: block;
    color: var(--darkText);
  }
  
  /* Rightheader */
  .rightHeader {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 50%;
  }
  
  .rightHeader img {
    width: 80px;
    position: relative;
    left: -40px;
  }
  
  .basket {
    display: flex;
    align-items: center;
  }
  
  /* Header end */
  
  . h1 {
    text-align: center;
    font-weight: 400;
    padding: 7rem 0 4rem 0;
  }
  
  /* .heroInfo start */
  
  .heroInfo {
    display: flex;
    padding: 2rem;
  }
  
  .heroInfo h2 {
    font-weight: 400;
  }
  
  .heroDescription {
    max-width: 90ch;
    padding: var(--stdPadding);
  }
  
  .heroTeam ul {
    padding: 0;
    margin: 0;
    list-style: none;
    column-count: 2;
    column-gap: 1rem;
  }
  
  .heroTeam li {
    padding: 1rem;
    font-size: 1.5rem;
  }
  .heroTeam {
    padding: var(--stdPadding);
  }
  
  .heroSocial i {
    font-size: 2rem;
  }
  /* .heroInfo end */
  
  /* .heroBtns start */
  
  .autoBtns {
    display: flex;
    justify-content: center;
  }
  
  .autoBtns p {
    background: var(--lightGreen);
    margin: 1.5rem;
    font-size: 1.6rem;
    padding: 1.5rem 4rem;
    text-transform: uppercase;
  }
  
  /* .autoBtns end */
  
  /* Section.team start */
  
  .team {
    background: black;
    color: white;
  }
  
  .team h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: 3rem;
  }
  
  .teamMembers {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  
  .teamMember {
    position: relative;
    width: 33%;
  }
  
  .overlay {
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.8s all ease-in-out;
  }
  
  .teamMember:hover .overlay {
    opacity: 0;
  }
  
  .overlay p {
    margin-bottom: 0;
  }
  
  .overlay h4 {
    font-weight: 700;
    font-size: 3rem;
    margin-top: 0;
  }
  
  .teamMember img {
    width: 100%;
  }
  
  /* Section.team end */
  /* Section.prices start */

.prices {
    background: var(--darkGray);
    text-transform: uppercase;
  }
  
  .prices h2 {
    text-align: center;
    color: white;
    font-size: 3rem;
    font-weight: 400;
  }
  
  .priceBoxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  
  .priceBox {
    background: var(--darkerGreen);
    margin: 1%;
    color: white;
    width: 29.3333%;
    padding: 1%;
    font-size: 1.6rem;
  }
  
  .priceBox ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  .priceBox li {
    display: flex;
    border-bottom: 1px solid white;
    line-height: 180%;
    margin-bottom: 0.5rem;
  }
  
  .priceBox span {
    flex-grow: 1;
  }
  
  .priceBoxHeader {
    margin-top: 0;
    font-size: 1.8rem;
    font-weight: 400;
  }
  
  /* Section.prices end */
  
  /* section.googleMap start */
  
  .googleMap {
    padding: 0;
    display: flex;
  }
  
  .googleMap iframe {
    width: 100%;
  }
  
  /* section.googleMap end */
  
  /* section.hours start */
  
  .hours {
    background: var(--darkGreen);
    color: white;
  }
  
  .hours .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .hoursList h4 {
    font-size: 2.2rem;
    font-weight: 400;
  }
  
  .hours ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  .hours li {
    margin-top: 2rem;
    font-size: 1.5rem;
  }
  
  .orderBtn p {
    background: var(--lightGrey);
    color: var(--darkText);
    margin: 1.5rem;
    font-size: 1.6rem;
    padding: 1.5rem 4rem;
    text-transform: uppercase;
    display: inline-block;
  }
  
  .address {
    align-self: flex-start;
  }
  
  /* section.hours end */
  
  /* section.instagram start */
  
  .instagram {
    background: var(--lightGrey);
    text-align: center;
    padding: 6rem;
  }
  
  .instagram i {
    font-size: 6rem;
    margin-bottom: 0;
  }
  
  .instagramAdress {
    color: var(--linkColor);
    margin-top: 0;
    font-size: 3rem;
  }
  
  /* section.instagram end */
  
  /* sectionfooter start */
  
  footer {
    background: var(--footerBg);
  }
  
  footer .container {
    display: flex;
    justify-content: space-between;
  }
  
  footer img {
    width: 80px;
    margin: 10px 25px;
  }
  
  .footerIcons i {
    font-size: 2rem;
    background: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    margin: 0.5rem;
  }
  
  footer ul {
    font-size: 1.8rem;
    color: var(--darkText);
    font-weight: 400;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
    list-style: none;
    line-height: 220%;
  }
  /* sectionfooter end */
  
  /*  */
  
  @media screen and (max-width: 1440px) {
    .hero header {
      flex-direction: column;
      align-items: center;
    }
  
    .hero header > * {
      margin: 2rem;
      width: 100%;
    }
  
    .hero img {
      left: 0;
    }
  
    section,
    footer {
      padding: 6rem;
    }
  }
  
  @media screen and (max-width: 730px) {
    .teamMember {
      width: 49%;
    }
  
    section,
    footer {
      padding: 2rem;
    }
    .hours .container {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .hours > * {
      padding: 2rem 0;
    }
  
    .orderBtn p {
      margin: 0;
    }
  
    .priceBox {
      width: 42%;
      margin: 2%;
      padding: 2%;
    }
  
    .heroInfo {
      flex-direction: column;
    }
  
    .autoBtns {
      flex-direction: column;
    }
  }
  
  @media screen and (max-width: 500px) {
    .priceBox {
      width: 96%;
    }
  
    header ul {
      flex-direction: column;
    }
  
    header li {
      margin: 2rem;
    }
  
    .teamMember {
      width: 99%;
    }
  }
  
  @media screen and (max-width: 450px) {
    footer .container {
      flex-direction: column;
      align-items: center;
    }
  }
  