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

:root {
  --header-h: 70px;
  --transition: .3s ease;
  font-family: sans-serif;
}

.mobile {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 2s ease, transform 2s ease;
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.container-h {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
  padding: 6rem 0;
}

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

/* Header */
.site-header {
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-h);
  background: white;
  box-shadow: 0 1px 5px black;
  z-index: 999
}

.logo {
  padding: 0 1rem;
  display: flex;
}

.logo a {
  color: black;
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none
}

nav {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

button {
  border: none;
  cursor: pointer;
  transition: opacity var(--transition);
}

button:hover {
  opacity: .85
}

.submit {
  font-size: 2rem;
  height: 100px;
  padding: .8rem .8rem;
  background: black;
  color: white;
  border: 2px solid;
}

.menu {
  display: flex;
  list-style: none;
}

.menu a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.menu li {
  margin-left: 20px;
}

.menu a:hover {
  color: lightgray
}

.menu-icon {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: url("images/icon-menu.svg") center / contain no-repeat;
  cursor: pointer;
}

.menu-icon span {
  width: 30px;
  height: 3px;
  background-color: #333;
  margin: 4px 0;
}

/* Hero banner */

.message {
  text-align: left;
}

.section {
  padding: 4rem 4rem;
  text-align: center;
}

.hero-banner-home {
  width: 100%;
  height: 100vh;
  margin: auto;
  background: #000;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-banner {
  width: 100%;
  height: 550px;
  margin: auto;
  background: #000;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-logo {
  height: 160px;
  width: auto;
}

.hero-logo-pc {
  height: auto;
  width: 1000px;
}

h1 {
  font-size: 3.5rem;
  font-weight: normal;
}

h2 {
  font-size: 2.5rem;
  font-weight: normal;
}

p {
  font-size: 1.5rem
}

/* Slideshow */
.slideshow {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.slides {
  list-style: none;
  display: flex;
  transition: transform .5s ease;
}

.slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.dots {
  position: absolute;
  left: 50%;
  bottom: 5%;
  display: flex;
  gap: .8rem;
  transform: translateX(-50%);
}

.dot {
  all: unset;
  box-sizing: border-box;
  width: .9rem;
  height: .9rem;
  border-radius: 50%;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
}

.dot.active {
  background: white;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .25);
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Sections & contact */

.contact-form {
  font-size: 2rem;
  text-align: left;
  display: grid;
  gap: 2rem;
  padding: 0 1rem;
}

.contact-form input,
.contact-form textarea {
  resize: none;
  font-size: 1.5rem;
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px
}

.hidden {
  display: none
}

.boxes {
  text-align: center;
  display: flex;
  justify-content: center;
  padding: 0 0rem;
}

.box1 {
  width: 50%;
}

.box2 {
  width: 50%;
}

.contact-home {
  text-align: center;
  display: flex;
  justify-content: center;
  font-size: 2rem;
}

.btn {
  background: black;
  color: white;
  font-size: 2.5rem;
  width: 400px;
  height: 100px;
  border: 2px solid;
}

.btn:hover,
.btn:active,
.submit:hover,
.submit:active {
  background: white;
  color: black;
  border-color: black;
}

.contact-btn {
  color: white;
  font-size: 2rem;
  background: rgb(6, 92, 80);
  width: 700px;
  height: 100px;
}

/* Footer */
.site-footer {
  text-align: center;
  background: lightgray;
  color: black;
  padding: 1.5rem 0;
  font-size: 0.85rem
}

/* Responsive */
@media(max-width:991px) {
  .mobile {
    display: block;
  }

  .menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding-top: 120px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    background: white;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .4s ease, opacity .4s ease;
  }

  .menu-icon {
    display: flex;
    z-index: 1000;
  }

  .menu-icon.active {
    background-image: url("images/icon-close.svg");
  }

  .menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-banner-home {
    height: 550px;
  }

  .hero-logo {
    height: 120px;
    width: auto;
  }

  .hero-logo-pc {
    display: none;
  }

  .container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0;
  }

  .section {
    padding: 2rem 1rem;
  }

  button {
    font-size: 1rem;
  }

  .btn {
    font-size: 1.3rem;
    width: 150px;
    height: 70px;
    border: 2px solid;
  }

  .boxes {
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
  }

  h1 {
    font-size: 2rem;
    font-weight: normal;
  }

  h2 {
    font-size: 1.5rem;
    font-weight: normal;
  }

  p {
    font-size: 1rem
  }

  .contact-btn {
    font-size: 1rem;
    width: 350px;
    height: 50px;
  }

  .contact-home {
    display: block;
    font-size: 1.5rem;
  }

  .box2 {
    padding: 1rem 0;
    width: 100%;
  }

  .contact-form {
    font-size: 1rem;
    text-align: left;
    display: grid;
    gap: 1rem;
    padding: 0 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.8rem;
    width: 100%;
    padding: .8rem;
    border: 1px solid #ccc;
    border-radius: 4px
  }

  .submit {
    font-size: 1rem;
    height: 50px;
  }
}