@import url('https://fonts.googleapis.com/css2?family=Gaegu:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  will-change: auto;
  /* font-family: 'Gaegu', cursive; */
  }


/* -------------------------------- Main Font ------------------------------- */
@font-face {
  font-family: "Manager";
  src: url('../fonts/Manager-Regular.eot');
  src: url('../fonts/Manager-Regular.eot?#iefix') format('embedded-opentype'),
      url('../fonts/Manager-Regular.woff2') format('woff2'),
      url('../fonts/Manager-Regular.woff') format('woff'),
      url('../fonts/Manager-Regular.ttf') format('truetype'),
      url('../fonts/Manager-Regular.otf') format('opentype'),
      url('../fonts/Manager-Regular.svg#Manager-Regular') format('svg');

 }

/* --------------------------------- Scroll --------------------------------- */
html{
    scroll-behavior:smooth;
}

/* ----------------------------- Hide Scrollbar ----------------------------- */
::-webkit-scrollbar{
    display: none;
}

body{
    min-height: 100vh;
    opacity: 0;
    animation: transition 3s;
    animation-fill-mode: forwards;
    transition: opacity ease-out;
    background-color: rgb(23, 23, 23);
}

@keyframes transition {
	100% {

    opacity: 1
	}
}


/* --------------------------------- Parent Div--------------------------------- */
.sub-body1{
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #e4d5ff;
  background-image: linear-gradient(90deg, #e4d5ff 0%, #aa98ff 100%);
  background-image: url(../img/spline-01.png);  
  background-position: bottom;
  background-size: 100%;
  background-repeat: no-repeat;
  z-index: 1;
}

/* ---------------------------------- Menu ---------------------------------- */
.logo{
  width: 150px;
  height: 90px;
  position: fixed;
  top: 20px;
  left: 20px;
  cursor: pointer;
  z-index: 10;
}

.logo a{
  z-index: 6;
  width: 100px;
  height: 70px;
  display: block;
  transition: transform 1s ease-in-out;
  background-image: url("../img/Logo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
}

.logo a:hover{
  transform: scale(1.1);
  transition: transform 800ms ease-in-out;
}

nav{
    width: 70px;
    height: 70px;
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    cursor: pointer;
}


nav::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 50%;
    transition: transform 400ms ease-in;
    z-index: 20;
    background-image: url("../img/Menu.svg");
}

nav:hover::after{
    transform: scale(1.2);
}

.btn-burger {
  height: 70px;
  width: 70px;
  position: relative;
  left: 0;
  outline: none;
  border: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  cursor: pointer;

}

.btn-burger .bar{
  position: absolute;
  width: 50%;
  height: 4px;
  background: black;
  transition: transform 0.5s ease;
  border-radius: 5px;
  
}

.btn-burger .bar-1{
  transform: translate3d(0,-6px,0);
}

.btn-burger .bar-2{
  transform: translate3d(0,6px,0);
}

.btn-burger:hover .bar-1{
  transform:translate3d(0,-6px,0) rotate(-180deg);
}

.btn-burger:hover .bar-2{
  transform:translate3d(0,6px,0) rotate(-180deg);
}

.active:hover .bar-1{
  transform:translate3d(0,0,0) rotate(225deg);
}

.active:hover .bar-2{
  transform:translate3d(0,0,0) rotate(-400deg);
}

.active .bar{
  transition: transform 600ms ease-in-out;
}

.active .bar-1{
  transform:translate3d(0,0,0) rotate(225deg);
}

.active .bar-2{
  transform:translate3d(0,0,0) rotate(-400deg);
}



#circle-container{
    width: 100%;
    height: 100vh;
    position: relative;
}


.circle{
    width: 50px;
    height: 50px;
    max-width: 100%;
    max-height: 100vh;
    top: 30px;
    right: 30px;
    position: fixed;
    background: white;
    border-radius: 50%;
    transition: transform 400ms ease-in-out;
    z-index: 20;
}

.menu-open .circle{
    transform: scale(150);
    transition: transform 1.5s ease;
}


.menu-open nav::after{
  transition: transform 400ms ease-out;
  
}


.menu{
    position: fixed;
    top:0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 50;
    transition: visibility, opacity 0.25s linear;
    display: flex;
    justify-content: center;
    align-items: center;
}

.index{
  background: #e4d5ff;
}

.contact{
  background: #fdceb3;
}

.kesako{
  background: #5ec499;
}

.dessert{
  background: #6fc5f0;
}

.carte{
  background: #d09ef7;
}

.menu ul{
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 4%;
}

.menu ul li {
  font-family: 'Shadows Into Light', cursive;
  font-style: normal;
  text-align: center;
  width: auto;
  padding: 2%;
}

.menu ul li a{
  width: 100;
  font-size: 60px;
  color: black;
  font-family: "Manager";
  font-style: normal;
}

.menu ul li a:hover:not(.active){
  color: rgb(255, 255, 255);
}

.menu ul .active{
  background-image: url("../img/circle.gif");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  z-index: 15;

}

.menu ul li .active2{
  color: white;
}

.menu ul li video{
  width: 100%;
  height: 100%;
}


/* ----------------------------- Links Animation ---------------------------- */
.menu-open .animated {
  animation-duration: 0.7s;
  animation-fill-mode: both;
}

.menu-open .animated:first-child{
  animation-delay: 1s;
}

.menu-open .animated:nth-child(2){
  animation-delay: 1.3s;
}

.menu-open .animated:nth-child(3) {
  animation-delay: 1.6s;
}

.menu-open .animated:nth-child(4){
  animation-delay: 1.9s;
}

.menu-open .animated:last-child{
  animation-delay: 2.2s;
}


.menu-open .animatedFadeInUp {
  opacity: 0;
}

.menu-open .fadeInUp {
  opacity: 0;
  animation-name: fadeInUp;
}

@keyframes fadeInUp {
  from {
      transform: translate3d(0,40px,0);
      opacity:0;
  }

  to {
      transform: translate3d(0,0,0);
      opacity: 1
  }
}

@-webkit-keyframes fadeInUp {
  from {
      transform: translate3d(0,40px,0)
  }

  to {
      transform: translate3d(0,0,0);
      opacity: 1
  }
}

/* ---------------------------------- Main ---------------------------------- */
main{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

main .container{
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns:repeat(auto-fit,minmax(50%, 1fr));
  padding: 0 15%;
  z-index: 100;
}

/* -------------------------------- Left Side ------------------------------- */
main .left{
  display: flex;
  flex-direction: column;
  column-span: 1fr;
  justify-content: center;
  font-family: "Manager";
  font-style: normal;
}

main .left p:first-of-type{
  font-size: 50px;
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  color: white;
}

main .left p:last-of-type{
  font-size: 20px;
  padding: 5% 0 ;
  color: white;
}

main .left span{
  color: black;
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
}


.test{
  width: 100%;
  height: 100vh;
  z-index: 60;
  background-color: lightpink;
}

.index-txt-1{
  animation-duration: 2s;
  animation-fill-mode: forwards;
  opacity: 0;
  animation-name: fadeInUp ;
  animation-delay: 1s;
}

.index-txt-2{
  animation-duration: 2s;
  animation-fill-mode: forwards;
  opacity: 0;
  animation-name: fadeInUp ;
  animation-delay: 1.5s;
}

main .left a{
  animation-fill-mode: forwards;
  opacity: 0;
  animation-duration: 2s;
  animation-name: fadeInUp2 ;
  animation-delay: 2.5s;
}

main .left #c-left-btn{
  width: 150px;
  height: 60px;
  border-radius: 50px;
  outline: none;
  color: white;
  border:none;
  font-size: 20px;
  cursor: pointer;
  background-color: black;
  transition: background-color 0.5s ease-in-out;
  font-family: "Manager";
  font-style: normal;
}



main .left #c-left-btn:hover{
  background-color: rgb(121, 100, 237);

}

@keyframes fadeInUp2 {
  from {
      transform: translate3d(0,35px,0);
      opacity:0;
  }

  to {
      transform: translate3d(0,0,0);
      opacity: 1
  }
}

/* ------------------------------- Right Side ------------------------------- */
main .right{
  position: relative;
  column-span: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

main .right img{
  position: absolute;
}

main .right img:first-of-type{
  z-index: 5;
  animation: float 6s ease-in-out infinite;
}

main .right img:nth-of-type(2){
  z-index: 4;
  top: 43%;
  right: 38%;
  animation: float 4s ease-in-out infinite;
  animation-delay: 600ms;
  height: 25%;
}

main .right img:last-of-type{
  z-index: 4;
  top: 36%;
  left: 47%;
  transform: scale(1);
  animation: float 6s ease-in-out infinite;
  animation-delay: 1200ms;
  height: 30%;
}

/* ------------------------- Img Animation Floating ------------------------- */
@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(40px);
	}
	100% {
		transform: translatey(0px);
	}
}

footer {
  width: 100%;
  height: 30px;
  background-color: black;
  position: absolute;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  z-index: 10;
} 

footer h3{
  color: white;
  font-size: 1em;
  font-weight: 300;
  font-family: "Manager";
}

footer:hover{
  opacity: 75%;
}


/* ----------------------------- Media Querries ----------------------------- */
@media only screen and (max-width: 834px){

  main .container{
    grid-template-columns:repeat(auto-fit,minmax(100%, 1fr));
    grid-template-rows: 1fr 1fr;
  }

  main .right{
    grid-row-start: 1;
  }

  main .left{
    align-items: center;
  }

  main .left p:first-of-type{
    font-size: 3em;
    text-align: center;
  }

  main .left p:first-of-type br{
    display: none;
  }

  main .left p:last-of-type{
    font-size: 2em;
    text-align: center;
  }

  main .left .index-txt-2 br{
    display: none;
  }

  main .left #c-left-btn{
    animation-delay: 0s;
    opacity: 1;
    width: 130px;
    height: 40px;
    font-size: 1em;

  }


  main .right img:first-of-type{
    z-index: 5;
    animation: float 6s ease-in-out infinite;
  }
  
  main .right img:nth-of-type(2){
    z-index: 4;
    top: 43%;
    right: 35%;
    height: 45%;
  }
  
  main .right img:last-of-type{
    top: 25%;
    left: 50%;
    height: 60%;
  }

}

@media only screen and (max-width: 576px){
  .menu ul li a{
    font-size: 40px;
  }

  main .left{
    justify-content: start;
  }

  main .left p:first-of-type{
    font-size: 1.8em;
    text-align: center;
  }

  main .left p:first-of-type br{
    display: none;
  }

  main .left p:last-of-type{
    font-size: 1.3em;
    text-align: center;
  }

  main .left .index-txt-2 br{
    display: none;
  }

  main .left #c-left-btn{
    animation-delay: 0s;
    opacity: 1;
  }


  main .right img:first-of-type{
    z-index: 5;
    animation: float 6s ease-in-out infinite;
  }

  main .right img:first-of-type{
    height: 80%;
  }
  
  main .right img:nth-of-type(2){
    z-index: 4;
    top: 43%;
    right: 35%;
    height: 35%;
  }
  
  main .right img:last-of-type{
    top: 25%;
    left: 50%;
    height: 50%;
  }
}





