/* GENERAL */

html, body {
  overflow-x: hidden;
}

body {
  margin: 0; padding: 0;
  background-color: #353434;
  color: whitesmoke;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  width: auto;
}

html {
  scroll-behavior: smooth;
}

h2 {
  margin: 5px 0px;
}

@font-face {
  font-family: marcellus;
  src: url(../assets/fonts/Marcellus-Regular.ttf);
}

@font-face {
  font-family: helvetica-bold;
  src: url(../assets/fonts/HelveticaNeueBold.ttf);
}

@font-face {
  font-family: helvetica-light;
  src: url(../assets/fonts/HelveticaNeueUltraLight.ttf);
}


/* HEADER */

header {
  background-color: #353434;
  display: flex;
  flex-direction: row;
  justify-content: space-between;



  font-family: "Funnel Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;

  height: 110px;
  padding: 0px 10%;
  position: sticky;
  top: 0;
  z-index: 999;
}

nav {
  display: flex;
  justify-content: flex-end;
}

header nav {
  padding: 35px 20px 0px 20px;
}


nav p {
  margin: 0px 10px;
  font-weight: 100;
  font-size: 20px;
}

.hover:hover {
  cursor: pointer;
}

#header_div_logo {
  display: flex ;
  align-self: center;
}

#header_div_logo p {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 42px;
  padding-left: 20px;
  }

#header_logo {
  padding: 20px 0px 0px 0px;
  width: 77px;
  height: 60px
}



/* TOP SECTION */

#topsection {
  height: auto;

}


#topsection_cover {
  height: 500px;
  overflow: hidden;
}

#topsection_cover h2 {
  font-size: 1.3em;
  font-weight: 300;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#topsection_cover_img {
width: 100%;

}

#topsection_first-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 300px;
  margin: 5px calc(50% - 150px);
}

.subtitle {
  font-size: 22px;
  margin: 80px 0px;
  text-align: center;
  color: whitesmoke;
}

.big {
  font-size: 56px;
  color: grey;
}

.extraspacedown {
  margin-bottom: 30px;
}

.quotes h2 {
  font-size: 28px;
  font-weight: 200;
  margin: 60px 15% 30px 15%;
  text-align: center;
}


.colored {
  /* color: #FBC2B5; */
  color: #FBAE9D;
}

.left {
  display: flex;
  justify-content: flex-end;
}

.smalltop {
 margin-top: 20px !important;

}


.small-right-padding {
  padding-right: 10px;
}

.normal-right-padding {
  padding-right: 20px;

}

.full-right-padding {
  padding-right: 25px;

}

.small-top-margin {
  margin-top: -8px;
}



#topsection_second-block {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 300px;
  margin: 5px calc(50% - 170px) 50px calc(50% - 130px) ;
}

.small-width {
  text-align: right;
  width: 70px;
  padding-right: 10px;
}



/* MAIN SECTION */

#mainsection {
  margin: 0px 60px; 
}

#mainsection p {
  text-align: justify;
    font-size: 18px;
}

.mainsection_container {
  display: flex;
  flex-direction: column;
}

.banner {
  display: flex;
  margin: 40px 0px; 
  justify-content: space-around;
}

.banner_inverted {
  flex-direction: row-reverse;
}



.banner p {
  margin: 40px 50px 0px 0px;
  max-width: 50%;
  align-self: flex-end;
  text-align: justify;
}

h4 {
  margin: 5px 15px; 
}

h3 {
  font-size: 26px;
  margin: 100px 50px 0px 0px;
  align-self: flex-end;
  color: grey;
}

.inverted {
  align-self: flex-start !important;
}

.banner_text {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  width: 50%;

}

.blablabla {
    display: flex;
      justify-content: center;
      flex-direction: column;
  align-items: center;

}

.box {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  overflow: hidden;
  opacity: 0.6;
  width: 50%;
  margin-bottom: 20px;
}

.box:hover {
  display: flex;
  overflow: hidden;
  opacity: 1;
}

.box img {
  height: 400px;
  object-fit: cover;
  overflow: hidden;
}

.box h2 {
  position: absolute;
  align-self: center;
  font-size: 32px;
}

.box p {
  position: absolute;
  align-self: center;
  margin: 80px 0px 50px 0px;
  font-size: 1.4em;
}

#bench {
  padding-top: 80px;
  margin-bottom: 60px;
  height: 400px;
  display: flex;
  justify-content: center;

}

.box1 {
  padding-right: 60px !important;
}

.box1 img {
  display: block !important;
  margin-left: auto !important;
}

#bench img {
  opacity: 0.6;
  width: 75%;
  overflow: hidden;
  object-fit: cover;
}

#bench img:hover {
  opacity: 0.9;
}


.bottomimgs {
  height: 80px;
  width: auto;
  margin: 5px 40px;
}

.centered {
  display: flex;
  justify-content: center;
  padding: 100px;
  background-color: #555555;
}

.teko {
  margin-top: 60px !important;
}

.teko h2 {
  font-family: 'Teko';
  font-size: 48px !important;
  margin-top: 5px !important;
  margin-bottom: 5px !important;  
}


/* FOOTER */

footer {
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  color: rgb(85, 83, 83);  

  font-family: "Funnel Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

footer nav {
  margin: 20px 0px;
}


#footer_logo {
  width: 77px;
  height: 60px
}

#footer_socials {
  margin: 10px 0px 0px 0px;
}

.icon {
  font-size: 2.2em;
  margin: 20px 10px;
}

.flex_center {
  margin: 10px 0px 0px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.extra-top-margin {
  margin-top: 50px;
}

.flex_center p {
  margin: 2px;
}

.smallicon {
  font-size: 1.8em;
}

a { 
  color: inherit;
  text-decoration: none;
} 





/* MOBILE FORMAT */

@media only screen and (max-width: 699px) {


  header {
    flex-direction: column;
    justify-content: flex-start;
    height: 160px;
    position: inherit;
  }

  header nav {
    padding: 0px 20px 0px 20px;
    justify-content: center;
    color: grey;
  }

  #header_div_logo p {
    margin-bottom: 20px;
  }
  
  #line {
    height: 2px;
    width: 70%;
    margin:0 15%;
    background-color: #a8a6a6;
  }

  .subtitle {
    font-size: 16px;
    margin-top: 60px;
  }

  .big {
    font-size: 38px;
  }

  #topsection {
    margin: 0px 10%;
  
  }
  
    #mainsection {
    margin: 0px 5%;
  
  }

  .subtitle h2 {
    margin: 10px 0px;
  }

  .extraspacedown {
    margin-bottom: 30px !important;
  }

  #topsection_cover {
    height: auto;
  
  }


  #bench img {
    width: 100%;
  }


  .banner {
    flex-direction: column;
  }

  .banner h3 {
    margin: 40px 50px 40px 0px;
  }

  .banner p {
    margin: 0px 20px 30px 20px;
    max-width: 100%;
  }

  .banner_text {
    width: 100%;
  }

  .banner_inverted {
    flex-direction: column;
  }

  .inverted {
    align-self: flex-end !important;
  }

  .box {
    width: 100%;
  }

  .box img {
    width: 90%;
    margin: 0 5%;
  }

  .quotes h2 {
    font-size: 22px;
  }

  .centered {
    flex-direction: column;
    align-items: center;
  }

  .bottomimgs {
    height: 100px;
    width: 100px;
    margin: 30px 40px;
  }

  .centered {
    padding: 60px 100px;
  }

  .teko h2 {
    font-size: 32px !important;
  }

}