@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap");

@font-face {
  font-family: "Mattone";
  src: url("/font/Mattone-150.woff2") format("woff2"),
    url("/font/Mattone-150.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

:root {
  --orange: #d76a03;
  --green: #292c1a;
  --blu: #41658a;
  --beige: #dfd3bc;
  --brown: #5f3639;
  --grey: #cbc7ba;
  --menu: 90px;
}

::-webkit-scrollbar {
  display: none;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Mattone";
}

html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: scroll;
}

header {
  height: var(--menu);
  width: 100vw;
  background-color: transparent;
  top: 0;
  left: 0;
  position: absolute;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  -webkit-font-smoothing: antialiased;
  z-index: 500;
}

.scroll {
  background-color: white;
}

header nav {
  position: relative;
  margin: auto;
  flex: 5;
}

header nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  list-style-type: none;
}

header nav ul li a {
  margin: 10px;
  text-decoration: none;
  color: white;
  font-size: 20px;
}

header a {
  flex: 1;
  text-decoration: none;
}

#logo {
  display: flex;
  justify-content: end;
}

header a img {
  padding-top: 15px;
  height: 120px;
  pointer-events: none;
}

header a button {
  margin: 0;
  width: 150px;
}

@media (orientation: portrait) {
  header nav {
    display: none;
  }
}


#intro {
  height: 100vh;
  background: linear-gradient(120deg, var(--brown), var(--orange) 80%),
    linear-gradient(270deg, var(--orange), var(--beige) 100%),
    url(/assets/bg.jpeg) no-repeat center;
  background-blend-mode: color;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

#intro img {
  position: fixed;
  top: 100vh;
  height: 85vh;
  transform: translate(0, -95%);
}

#intro h1 {
  transform: translate(0, -50%);
  font-size: 12vmin;
  text-align: center;
  color: white;
  z-index: 2;
}

@media (orientation: portrait) {
  #intro h1 {
    position: absolute;
    top: 30vh;
  }

  #intro img {
    height: 50vh;
  }

  header a {
    display: flex;
    justify-content: center;
  }
  
  #logo {
    justify-content: center;
  }
}


section {
  height: 120vh;
}

section h2 {
  margin-top: 50px;
  font-size: 170px;
  position: absolute;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: var(--green);
}

.right h2 {
  right: 5vw;
}

.left h2 {
  left: 5vw;
}

section h3 {
  position: absolute;
  margin-top: 30vh;
  font-size: 7vmin;
}

.right h3 {
  left: 10vw;
}

.left h3 {
  right: 10vw;
}

section p {
  position: absolute;
  width: 22ch;
  font-size: 3vmin;
  margin-top: 40vh;
}

.right p {
  left: 50vw;
}

.left p {
  text-align: right;
  right: 50vw;
}

.circle {
  position: absolute;
  height: 50vw;
  width: 50vw;
  margin-top: 20vh;
  transform: translate(-30%, 0);
  border-radius: 50%;
  background-size: 100%;
  background-image: url(/assets/gradient-15.png);
}

.two {
  background-image: url(/assets/gradient-16.png);
}

.three {
  background-image: url(/assets/gradient-17.png);
}

.left .circle {
  right: 0;
  transform: translate(30%, 0);
}

@media (orientation: portrait) {
  section {
    height: 80vh;
  }

  section h2 {
    left: 10vw;
    font-size: 100px;
  }

  section h3 {
    margin-top: 23vh;
  }

  section p {
    margin-top: 30vh;
    width: 80vw;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: 20px;
  }

  .circle {
    margin-top: 10vh;
    height: 80vh;
    width: 80vh;
    transform: translate(-50%, 0);
  }

  .left .circle {
    transform: translate(50%, 0);
  }
}



#gallery {
  height: 300px;
  display: flex;
  flex-direction: row;
  overflow-x: scroll;
  padding-left: 50px;
  padding-right: 50px;
  margin-top: 50px;
  margin-bottom: 100px;
}

#gallery img {
  position: relative;
  height: 100%;
  width: auto;
  padding: 15px;
}

#gallery button {
  margin: 20px 50px;
  align-self: center;
  width: 60%;
  border: 1px solid var(--orange);
}


@media (orientation: portrait) {
  #gallery {
    height: 100%;
    flex-direction: column;
    overflow-x: none;
  }

  #gallery img {
    height: auto;
    width: 80vw;
  }
}








#join-us {
  height: 70vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(/assets/bg2.jpg) no-repeat center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#join-us h4 {
  width: 22ch;
  font-size: 4vmin;
  color: white;
  text-align: center;
}

 button {
  height: 50px;
  width: 20vw;
  padding: 10px;
  border-radius: 20px;
  background-color: white;
  color: var(--orange);
  margin-top: 30px;
  border: none;
  font-size: 15px;
  white-space: nowrap;
}

button:hover {
  cursor: pointer;
}

#our-service button{
  position: absolute;
  margin-top: 80vh;
  left: 50%;
  background-color: var(--orange);
  color: white;
}

@media (orientation: portrait) {
  #our-service button {
    margin-top: 60vh;
    transform: translate(-50%, 0);
    width: 40vw;
  }

  #join-us {
    margin-top: 100px;
  }

  #join-us button {
    width: 30vw;
  }
}

footer {
  position: absolute;
  width: 100vw;
  height: 80px;
  background-color: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

footer a {
  text-decoration: none;
  color: var(--orange);
  cursor: pointer;
  z-index: 999;
}

footer a:hover {
  cursor: pointer;
}

/* 
#menuHam {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

#menuHam #menuToggle {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  z-index: 2;
  -webkit-touch-callout: none;
  position: absolute;
  opacity: .5;
}

#menuHam div {
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 12px;
}

#menuHam span {
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--green);
  border-radius: 1px;
  transition: all 0.2s cubic-bezier(0.1, 0.82, 0.76, 0.965);
}

#menuHam span:first-of-type {
  top: 0;
}

#menuHam span:last-of-type {
  bottom: 0;
}

#menuHam.active span:first-of-type,
#menuHam #menuToggle:checked + div span:first-of-type {
  transform: rotate(45deg);
  top: 5px;
}

#menuHam.active span:last-of-type,
#menuHam #menuToggle:checked + div span:last-of-type {
  transform: rotate(-45deg);
  bottom: 5px;
}

#menuHam.active:hover span:first-of-type,
#menuHam.active:hover span:last-of-type,
#menuHam:hover #menuToggle:checked + div span:first-of-type,
#menuHam:hover #menuToggle:checked + div span:last-of-type {
  width: 22px;
} */
