*,*::before,*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
/* || Variables */
:root {
  --default-padding: 8px;
  --default-radius: 8px;
  --main-font: Indie Flower;
}

/* || General Styles*/
a {text-decoration: none;}
ul {list-style: none;}

/* || Main Container */
.main__container {
  border: 2px solid blue;
}

/* || ========================= ========================= */
/* || Section One */
.section__one {
  border: 1px solid;
  height: 100vh;
  background-image: url("./public/landingPage.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  object-fit: cover;
  object-position: center;
}
/* || Navigation Container */
.navigation {
  background-color: hsla(133 100% 0% / 0.48);
  border: 1px solid pink;
  width: calc(100% - 6%);
  margin: 1rem auto;
  z-index: 100;
  border-radius: var(--default-radius);
}
.fixed__navigation {
  position: fixed;
  width: calc(100% - 6%);
  left: 3%;
  margin: 1rem auto;
  background-color: hsla(133 100% 0% / 0.48);
  border: 1px solid pink;
  z-index: 100;
  border-radius: var(--default-radius);
}
.navigation__header {
  display: flex;
  justify-content: space-between;
  padding: var(--default-padding);
  align-items: center;
}
.logo {
  font-size: 1rem;
  color: lightpink;
  align-content: center;
  font-family: var(--main-font);
}
.navigation__toggle {
  background: transparent;
  font-size: 1.5rem;
  border: none;
  color: pink;
} 
.navigation__toggle:hover {
  opacity: 50%;
  transition: all linear 0.5s;
  cursor: pointer;
}
.links__container {
  height: 0;
  overflow: hidden;
  transition: all linear 0.3s;
}
.links li {padding: var(--default-padding);}

.links a {
  color: pink;
  font-family: var(--main-font);
  font-size: 1rem;
  text-align: left;
}
.nav__link.active {
  color: white;
}
.links i {
  color: lightpink;
  padding-right: 0.5rem;
}
.links a:hover {
  transition: all linear 0.5s;
  opacity: 50%;
  cursor: pointer;
}
/* || Banner Section*/
.banner {height: 100%;}

.banner h1 {
  text-align: center;
  font-size: 3rem;
  padding-top: var(--default-padding);
  color: pink;
  font-weight: 100;
  font-family: var(--main-font);
}

@keyframes fadeIn {
  to {opacity: 1;}
}
@keyframes fadeOut {
    to {opacity: 0;}
}
.banner p ,a {
  text-align: center;
  font-size: 1.2rem;
  color: pink;
  font-family: var(--main-font);
}
.banner a:hover {
  color: purple;
  cursor: pointer;
  font-family: var(--main-font);
}
@media screen and (min-width:1024px){
  .navigation__container {
    display: flex;
    justify-content: space-between;
    align-content: center;
  }
  .links__container {
    height: auto !important;
    align-content: center;
  }
  .links {
    display: flex;
    justify-content: space-between;
  }
  .navigation__toggle {display: none;}
  .banner p, .banner a {
    font-size: 1.5rem;
  }
  .banner h1 {font-size: 4rem;}
}
/* || ========================= ========================= */
/* || Section Two - About Us Section*/
.section__two {
  height: 200vh;
  background-image: url('./public/sectionTwo.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.two__text__container {
  height: 100%;
  padding: 1rem;
  position: relative;
}
.text1{
  position: absolute;
  opacity: 1;
  font-size: 2.5rem;
  text-align: center;
  top: 10%;
  transition: opacity 0.5s ease;
  width: 100%;
  left: 50%;
  transform: translate(-50%, -10%);
  font-family: var(--main-font);
}
.text2 {
  position: absolute;
  font-family: var(--main-font);
  opacity: 0;
  width: 80%;
  font-size: 1rem;
  align-self: center;
  top: 35%;
  transition: opacity 0.5s ease;
  left: 50%;
  transform: translate(-50%,-50%);
}
.text3 {
  position: absolute;
  font-family: var(--main-font);
  opacity: 0;
  width: 80%;
  font-size: 1rem;
  align-self: center;
  top: 55%;
 
  transition: opacity 0.5s ease;
  left: 50%;
  transform: translate(-50%,-50%);
}
.avatarImage {
  opacity: 0;
  transition: transform 0.2s linear, opacity 0.2s linear;
  width: 90vw;
  height: 35%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  background-size: cover;
  top: 80%;
  border-radius: var(--default-radius);
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  -webkit-box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.32); 
  box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.32);
}
@media screen and (min-width:1024px){
  .text1 {font-size: 3rem;}
  .text2 {font-size: 1.7rem;top:35%}
  .text3 {font-size: 1.7rem;top:55%}
}

/* || ========================= ========================= */
/* || Section Three - Passions Section */
.section__three {
  height: 600vh;
  position: relative;
}
.image__container {
  height: 100vh;
  top: 0;
  position: sticky;
  z-index: 1;
}
.svg {
  object-fit: contain;
}
.image__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.6s ease, transform 0.6s ease;
  opacity: 0;
  transform: translateY(0%);
}
.main__header {
  background-image: url('./public/headRcCar.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.main__header h1{
  position: absolute;
  top: 10%;
  width: 100%;
  left: 50%;
  transform: translate(-50%, -10%);
  font-family: var(--main-font);
  font-size: 2.5rem;
  color: pink;
  text-align: center;
  z-index: 3;
}
@media screen and (min-width:1024px){
  .main__header h1 {font-size: 3rem;}
}

/* || ========================= ========================= */
/* || Section Four - Proposal Section */
.section__four {
  height: 100vh;
  display: flex;
  align-items: flex-end;
  background-image: url('./public/proposalImage.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.video__wrapper {
  border-radius: var(--default-radius);
  height: 80%;
  width: calc(100% - 6%);
  margin: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}
.four__text__container {
  border-radius: var(--default-radius);
  flex: 1;
  z-index: 2;
  opacity: 2;
  position: relative;
  transition: all linear 0.8s;
}
.video__container {
  position: absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  opacity: 0;
   transition: all linear 0.8s;
  border-radius: var(--default-radius);
}
.proposal__header {
  text-align: center;
  font-size: 2rem;
  font-family: var(--main-font);
  padding: var(--default-padding);
}
.proposal__sub__header {
  text-align: center;
  font-size: 1rem;
  padding: var(--default-padding);
  line-height: 1.5;
  font-family: var(--main-font);
}
.proposal__video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: var(--default-padding);
}
.element__fade__in {
  opacity: 1;
  z-index: 2;
  transition: all linear 0.8s;
}
.element__fade__out {
  opacity: 0;
  transition: all linear 0.8s;
}
@media screen and (min-width:790px){
   .proposal__sub__header {
    font-size: 1.7rem;
  }
}
@media screen and (min-width:1024px){
  .video__wrapper {
    flex-direction: row;
  }
  .four__text__container,.video__container {
    position: static;
    flex: 1;
    opacity: 1;
  }
  .four__text__container {
    display: block;
  }
  .proposal__video {
    object-position: top;
  }
}

/* || ========================= ========================= */
/* || Section Five - Person Message Section */
.section__five {
  height: 100vh;
  background-color: aliceblue;
  padding: var(--default-padding);
  display: flex;
  align-items: flex-end;
  background-image: url('./public/endingImage.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.ending__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 90%;
  width: 100%;
  border-radius: var(--default-radius);
}
.ending__message__container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ending__message {
  text-align: center;
  font-size: 2rem;
  font-family: var(--main-font);
  color: pink;
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  height: 100%;
}
.legal {
  font-size: 1rem;
}
.legal a {
  font-size: 1rem;
}
.footer {
  font-size: 1.6rem;
  flex: 1;
  display: flex;
  width: 100%;
  text-align: center;
  flex-direction: column;
  justify-content: end;
  font-family: var(--main-font);
  color: pink;
}
