@import url('https://fonts.googleapis.com/css2?family=Castoro:ital@0;1&family=Poppins:wght@300;500;600;700;800&display=swap');

*{
  box-sizing: border-box;
  margin:  0;
  padding: 0;
  font-family: 'poppins', sans-serif;
}

:root {
  --overlay-color: #4b8fac;
}
.navbar {
  background-color: var(--overlay-color);
  color: rgb(0, 0, 0);
  height: 70px;
  display: flex;
  justify-content: space-between;
  padding: 4rem 5rem;
}
.navbar ul {
  display: flex;
  margin-left: 20rem;
}

.navbar .logo {
  display: flex;
  margin-left: 5rem;
  text-transform: uppercase;
}

.navbar a {
  color: rgb(0, 0, 0);
  padding: 10px;
  margin: 0 5px;
}
.navbar a:hover {
  border-bottom: 2px rgb(0, 0, 0) solid;
}
.navbar .flex {
  justify-content: space-between;
}
.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
}


section {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  scroll-snap-align: start;
}

.one video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}
.one h1 {
  position: absolute;
  
  font-size: 4rem;
  font-weight: 700;
  line-height: 1em;
  text-transform: uppercase;
  z-index: 10;
  color: white;
}

.one p {
  position: relative;
  margin-top: 15rem;
  margin-left: 5rem;
  font-weight: 400;
  max-width: 700px;
  z-index: 10;
  color: rgb(255, 255, 255);
  background-color:rgba(0, 0, 0, 0.6);
  padding: 2rem 2rem;
  border-radius: 12px;
}

.one a {
  display: flex;
  position: static;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background-color: #fff;
  color:rgb(41, 17, 255);
}

.two img {
  position: absolute;
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.two2 img {
  position: absolute;
  width: 100%;
  height: 100vh;
  object-fit: cover;

}

.two3 img {
  position: absolute;
  width: 100%;
  height: 100vh;
  object-fit: cover;

}
.two h1 {
  position: absolute;
  margin-bottom: 15rem;
  margin-left: 20rem;
  font-size: 4em;
  font-weight: 700;
  line-height: 1em;
  text-transform: uppercase;
  z-index: 10;
  color: white;
}

.two p {
  margin-top: 0rem;
  margin-left: 0rem;
  font-weight: 400;
  max-width: 700px;
  z-index: 10;
  color: rgb(255, 255, 255);
  background-color:rgba(0, 0, 0, 0.6);
  padding: 2rem 2rem;
}
.two3 p {
  margin-bottom: 32rem;
  margin-left: 40.3rem;
  right: 0%;
  text-align: center;
  position: relative;
  font-weight: 400;
  max-width: 700px;
  z-index: 10;
  color: rgb(255, 255, 255);
  background-color:rgba(0, 0, 0, 0.6);
  padding: 2rem 2rem;
}

.two2 p {
  margin-top: 28.8rem;
  margin-right: 40.5rem;
  right: 0%;
  text-align: center;
  position: absolute;
  font-weight: 400;
  max-width: 700px;
  z-index: 10;
  color: rgb(255, 255, 255);
  background-color:rgba(0, 0, 0, 0.6);
  padding: 2rem 2rem;
}

.two a {
  display: flex;
  position: static;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background-color: #fff;
  color:rgb(58, 4, 255);
}

.three img {
  position: absolute;
  width: 100%;
  height: 100vh;
  object-fit: cover;
}
.three h1 {
  position: absolute;
  margin-bottom: 15rem;
  font-size: 3em;
  font-weight: 700;
  line-height: 1em;
  text-transform: uppercase;
  z-index: 10;
  color: white;
}

.three p {
  margin-top: 28.8rem;
  margin-right: 40.5rem;
  font-weight: 400;
  max-width: 700px;
  z-index: 10;
  color: rgb(255, 255, 255);
  background-color:rgba(0, 0, 0, 0.6);
  padding: 2rem 2rem;
}
.three a {
  display: flex;
  position: static;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background-color: #fff;
  color:rgb(58, 4, 255);
}

.four video {
  position: absolute;
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.four img {
  position: absolute;
  width: 100%;
  height: 100vh;
  object-fit: cover;
}
.four h1 {
  display: flex;
  justify-content: center;
  text-align: center;
  position: absolute;
  margin-bottom: 15rem;
  font-size: 3em;
  font-weight: 700;
  line-height: 1em;
  text-transform: uppercase;
  z-index: 10;
  color: white;
}

.four p {
  margin-top: 15rem;
  margin-left: 5rem;
  font-weight: 400;
  max-width: 700px;
  z-index: 10;
  color: rgb(255, 255, 255);
  background-color:rgba(0, 0, 0, 0.6);
  padding: 2rem 2rem;
}
.four a {
  display: flex;
  position: static;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background-color: #fff;
  color:rgb(58, 4, 255);
}

.container {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100vh;
}

/* NAVIGATION */

.navigate {
  display: flex;
  justify-content: space-between;
  margin: 3rem 1rem;
  border: #555 solid;
  border-radius: 8px;
}

.firstbox {
  display: flex;
  flex-direction: row;
  margin: 2rem 1rem;
}

.firstbox .mapouter {
  margin: 2rem 0;
  margin-right: 2rem;
}

.firstbox h1 {
  display: flex;
  color: #fff;
  margin: 8rem 1rem;
  text-transform: uppercase;
}

.secondbox h1 {
  display: flex;
  position: relative;
  justify-content: center;
  text-align: center;
  font-size: 3rem;
  color: rgb(0, 0, 0);
  padding-top: 2rem;
  text-transform: uppercase;

}
.secondbox p {
  display: flex;
  font-size: 2rem;
  font-weight: 800;
  justify-content: center;
  text-align: center;
  text-transform: uppercase;
}

.secondbox a {
  display: flex;
  position: relative;
  text-decoration: none;
  color:#fff;
  background-color: rgb(0, 0, 0);
  margin : 2rem;
  margin-left: 25rem;
  padding: 1rem 1rem;
  text-align: center;
  justify-content: center;

}

.secondbox a:hover {
  color: rgb(146, 110, 110);
  transform: scale(0.98);
}

.secondbox h4 {
  font-size: 1.5rem;
  display: flex;
  margin-bottom: 1rem;
}

.secondbox span {
  display: flex;
  justify-content: center;
  text-align: left;
}

@media (max-width: 798px) {
  .showcase .showcase header {
    padding: 40px;
  }

  .text h2 {
    font-size: 3em;
  }

  .text h3 {
    font-size: 2em;
  }
  .navbar .navbar.flex {
    display: flex;
    object-fit: contain;
    justify-content: center;
  }
}
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}