@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,500;1,400&display=swap');

@font-face {
  font-family: 'Cinzel';
  src: url('Cinzel.ttf');
}

/* RESET */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  /* background: linear-gradient(to top left, rgb(5, 117, 230), rgb(2, 27, 121)); */
  /* background-color: #021B79; */
  background-color: #003789;


}

ul,
li {
  padding: 0;
  margin: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

/* RESET */

header {
  width: 100%;
  height: 70px;
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;

}

ul li.nav-item a {
  font-size: 16px;
}


.navbar {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 1rem 1.5rem; */
  max-width: 1200px;
  margin: 0 auto;
  background-color: #003789;
  font-family: Cinzel, sans-serif;

}

.hamburger {
  display: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  /* background-color: #101010; */
  background-color: white;

}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-item {
  margin-left: 18px;
  /* margin-right: 10px; */
}

.nav-item a {
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 100;
}


.nav-link {
  font-size: 1.6rem;
  color: white;
}

.nav-link:hover {
  color: gold;
}

.nav-link.activated {
  color: goldenrod;
}

/* .nav-logo {
  width: 250px;
} */

.nav-logo img {
  /* width: 250px; */
  height: 60px;
}

.description {
  font-style: italic;
  font-size: 70%;
}

/* sustainaibility */

.sustainability {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 130px;
  margin-bottom: 100px;
}

.sustainability.company {
  margin-bottom: 80px;
}

.s-poster {
  overflow: hidden;
}

.s-poster img {
  max-width: 550px;
}

.s-writing {
  max-width: 500px;
}

.s-header h1 {
  color: #fff;
  font-size: 42px;
  font-family: 'Playfair Display', serif;
  font-weight: 100;
}

.s-text {
  padding-top: 50px;
  font-size: 20px;
  font-family: 'Playfair Display', serif;
  color: white;
  line-height: 1.7em;
}

.s-text p::first-letter {
  background-color: white;
  font-size: 100px;
  line-height: 83px;
  /* font-family: 'PostoniTitling', Times, serif, Georgia; */
  color: rgb(0, 34, 29);
  margin-left: 0;
  margin-right: 20px;
  padding: 20px;
  padding-bottom: 25px;
  float: left;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/* end sustainability */


.inter-page-links {
  height: 400px;
  background-image: url("images/wooden-board.jpg");
  background-size: cover;
  background-position-y: 60%;
  margin-top: 300px;
}


.page-link1,
.page-link2,
.page-link3 {
  border-radius: 50%;
  background: rgb(255, 255, 255);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
  display: inline-block;
  padding: 20px;
  text-align: center;
  
  background-color: #003789;
  /* background: radial-gradient(circle at 74.2% 50.9%, rgb(14, 72, 222) 5.2%, rgb(3, 22, 65) 75.3%); */
  color: white;
  
}

/* .page-link1 {
background-image: url("images/concrete.png");
background-repeat: no-repeat;
background-position: center;
background-size: 50%;
} */

.page-link1 p {
  padding-top: 115px;
  font-size: 18px;
}

.page-link2 p {
  padding-top: 80px;
  font-size: 18px;
}

.page-link3 p {
  padding-top: 30px;
  font-size: 16px;
}

a.page-link1,
a.page-link2,
a.page-link3 {
  text-decoration: none;
  transition: transform 0.3s;
  font-family: 'Cinzel', serif;
  position: relative;
  z-index: 1;
}

.page-wrapper img {
  position: relative;
  z-index: -1;
}

a.page-link3 {
  font-size: 16px;
}

a.page-link1:hover,
a.page-link2:hover,
a.page-link3:hover {
  /* transition: width 2s, height 2s, background-color 2s, transform 2s; */
  transform: scale(1.2);
  color: white;

}

.page-link1 {
  margin-top: -180px;
  width: 300px;
  height: 300px;
  border: 4px solid rgb(206, 156, 21);
}


.page-link2 {
  margin-top: 50px;
  width: 250px;
  height: 250px;
  border: 4px solid rgb(206, 156, 21);
}

.page-link3 {
  margin-top: -80px;
  width: 150px;
  height: 150px;
  border: 4px solid rgb(206, 156, 21);
}



@media only screen and (min-width: 910px) {
  .page-wrapper {
    display: flex;
    justify-content: center;
    height: 400px;
  }
}


@media only screen and (max-width: 1100px) {
  .sustainability {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* margin-top: 100px; */
    padding: 0 20px;
  }

  .s-writing {
    padding-top: 30px;
  }

  .inter-page-links {
    height: auto;
  }

}

@media only screen and (min-width: 950px) {
  .switch {
    margin-top: 0;
  }
}

@media only screen and (max-width: 950px) {
  .nav-logo {
    margin-top: 5px;
  }
  
  .nav-logo img {
    height: 30px;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    /* border-radius: 10px; */
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
  }

  .nav-link {
    color: rgb(0, 34, 29);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu {
    padding: 20px 0;
  }

  .nav-item {
    /* margin: 20px 0; */
    padding-bottom: 20px;
  }

  .nav-item:nth-child(6) {
    padding-bottom: 0;
  }

  .hamburger {
    display: block;
    cursor: pointer;
  }

  .page-wrapper {
    display: flex;
    align-content: center;
    align-items: center;
    flex-direction: column;
  }


  .sustainability {
    margin-top: 50px;
  }

  .sustainability img {
    max-width: 100%;
  }

  .page-link3 {
    margin-top: 50px;
    margin-bottom: 50px;
  }


  .top-title h1 {
    font-size: 36px;
  }

  .nav__wrapper {
    margin-top: 100px;
  }

  .switch {
    margin-top: 20px;
    margin-bottom: 20px;

  }
}

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

  .navbar,
  .sustainability,
  .sustainability.company {
    padding: 0 20px;
  }

  .grid-wrapper {
    padding: 20px;
  }


}

@media only screen and (min-width: 1200px) {}


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

  .nav__body {
    font-size: 14px;
    width: 80%;
  }
}



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

  .switch {
    position: fixed;
    display: block;
    bottom: 30px;
    left: 50%;
    margin-left: -50px;
  }

}

@media only screen and (min-width: 375px) {
  .switch {
    position: relative;
    display: inline-block;
    /* box-shadow: 0px 0px 20px rgb(0 0 0 / 55%); */
    border-radius: 18px;
    margin-left: 10px;
    margin-right: 10px;
  }
}


@media only screen and (min-width: 351px) {

  .nav__body {
    font-size: 17px;
  }
}




.switch>span {
  position: absolute;
  top: 9px;
  pointer-events: none;
  font-family: 'Helvetica', Arial, sans-serif;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  width: 50%;
  text-align: center;
}

input.check-toggle-round-flat:checked~.off {
  color: black;
}

input.check-toggle-round-flat:checked~.on {
  color: #fff;
}

.switch>span.on {
  left: 0;
  padding-left: 2px;
  color: black;
}

.switch>span.off {
  right: 0;
  padding-right: 4px;
  color: #fff;
}

.check-toggle {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}

.check-toggle+label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input.check-toggle-round-flat+label {
  padding: 2px;
  width: 97px;
  height: 30px;
  /* background-color: white; */
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  -ms-border-radius: 60px;
  -o-border-radius: 60px;
  border-radius: 60px;
}

input.check-toggle-round-flat+label:before,
input.check-toggle-round-flat+label:after {
  display: block;
  position: absolute;
  content: "";
}

input.check-toggle-round-flat+label:before {
  top: 2px;
  left: 2px;
  bottom: 2px;
  right: 2px;
  /* background-color: black; */
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  -ms-border-radius: 60px;
  -o-border-radius: 60px;
  border-radius: 60px;
}

input.check-toggle-round-flat+label:after {
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: 45px;
  background-color: white;
  -webkit-border-radius: 52px;
  -moz-border-radius: 52px;
  -ms-border-radius: 52px;
  -o-border-radius: 52px;
  border-radius: 52px;
  -webkit-transition: margin 0.2s;
  -moz-transition: margin 0.2s;
  -o-transition: margin 0.2s;
  transition: margin 0.2s;

}

input.check-toggle-round-flat+label {
  background-image: url("images/ro.png");
  background-size: cover;
  background-position: center;
}

/* input.check-toggle-round-flat + label {
  background-image: url("images/en.png");
  background-size: cover;
  background-position: center;
  background-position-y: 43%;

} */

input.check-toggle-round-flat:checked+label {
  background-image: url("images/en.png");
  background-size: cover;
  background-position: center;
  background-position-y: 43%;
}


/* input.check-toggle-round-flat.lang-en + label {
  background-image: url("images/en.png");
  background-size: cover;
  background-position: center;
  background-position-y: 43%;
} */


input.check-toggle-round-flat:checked+label:after {
  margin-left: 44px;
}