@import url('https://fonts.googleapis.com/css2?family=Arima+Madurai&family=Montserrat&family=Parisienne&family=Megrim&family=Raleway&display=swap');
:root{
  --height-menu: 100px;
  --nav-and-foot-bg-color: #E8EAEE;
  --hover-nav-bg-color: #F3F4F6;
  --body-bg-color: #C1E1DC;
  --body-mov-bg-color: #FBCDAF;
  --text-color: #231B1B;
  --hover-a-color: #8A6A6A;
  --reserve-color: #9888A5;
}
*, ::before, ::after{
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style-type: none;
  box-sizing: border-box;
}
body{
  overflow: hidden;
  color: var(--text-color);
}
.realbody{ 
  position: relative;
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  overflow-x: hidden;
  /* padding-right: 10px; */
  scroll-behavior: smooth;
}
.realbody::-webkit-scrollbar{
  background-color: rgba(208, 242, 249, 0.75);
  box-shadow: 0px 0px 15px rgba(0,0,0,0.8);
  border-top:1px solid rgba(255,255,255,0.5);
  border-right:1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(2px);
  width: 15px;
}
.realbody::-webkit-scrollbar-thumb{
  background-color: rgba(208, 236, 249, 0.75);
  box-shadow: 0px 0px 15px rgba(0,0,0,0.8);
  border-top:1px solid rgba(255,255,255,0.5);
  border-right:1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(2px);
  width: 15px;
}
body a{
  color: var(--text-color);
}
h2{ 
  display: block;
  width: 100%;
  position: relative;
  text-align: center; 
  font-family: Parisienne;
  font-size: 3em;
  margin: 75px;  
  color: var(--text-color);
  text-shadow: 2px 2px 1px rgba(255, 255, 255, 0.55);
}
p, form input, textarea{
  font-family: "Monterrat", sans-serif;
}

/* ************************BACKGROUND************************** */

@keyframes move {
  100% {
      transform: translate3d(0, 0, 1px) rotate(360deg);
  }
}
.background {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background: var(--body-bg-color);
  overflow-x: hidden;
  z-index: -10;
}
.background span {
  width: 40vmin;
  height: 40vmin;
  border-radius: 40vmin;
  backface-visibility: hidden;
  position: absolute;
  animation: move;
  animation-duration: 20;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.background span:nth-child(0) {
  color: var(--body-mov-bg-color);
  top: 95%;
  left: 67%;
  animation-duration: 164s;
  animation-delay: -131s;
  transform-origin: 19vw -17vh;
  box-shadow: 80vmin 0 10.386445712625084vmin currentColor;
}
.background span:nth-child(1) {
  color: var(--body-mov-bg-color);
  top: 85%;
  left: 58%;
  animation-duration: 136s;
  animation-delay: -182s;
  transform-origin: 15vw -15vh;
  box-shadow: -80vmin 0 10.20032761457208vmin currentColor;
}
.background span:nth-child(2) {
  color: var(--body-mov-bg-color);
  top: 23%;
  left: 98%;
  animation-duration: 276s;
  animation-delay: -111s;
  transform-origin: -22vw -12vh;
  box-shadow: 80vmin 0 10.852230142202759vmin currentColor;
}
.background span:nth-child(3) {
  color: var(--body-mov-bg-color);
  top: 25%;
  left: 51%;
  animation-duration: 229s;
  animation-delay: -170s;
  transform-origin: 7vw 6vh;
  box-shadow: -80vmin 0 10.804378860566185vmin currentColor;
}
.background span:nth-child(4) {
  color: var(--body-mov-bg-color);
  top: 92%;
  left: 4%;
  animation-duration: 141s;
  animation-delay: -102s;
  transform-origin: 6vw -5vh;
  box-shadow: 80vmin 0 10.76113429394117vmin currentColor;
}
.background span:nth-child(5) {
  color: var(--body-mov-bg-color);
  top: 18%;
  left: 9%;
  animation-duration: 68s;
  animation-delay: -208s;
  transform-origin: -19vw -15vh;
  box-shadow: -80vmin 0 10.985917542699134vmin currentColor;
}
.background span:nth-child(6) {
  color: var(--body-mov-bg-color);
  top: 12%;
  left: 65%;
  animation-duration: 15s;
  animation-delay: -163s;
  transform-origin: 25vw -16vh;
  box-shadow: -80vmin 0 10.431699600796495vmin currentColor;
}
.background span:nth-child(7) {
  color: var(--body-mov-bg-color);
  top: 37%;
  left: 75%;
  animation-duration: 231s;
  animation-delay: -293s;
  transform-origin: 23vw -1vh;
  box-shadow: -80vmin 0 10.240622607627282vmin currentColor;
}
.background span:nth-child(8) {
  color: var(--body-mov-bg-color);
  top: 74%;
  left: 36%;
  animation-duration: 54s;
  animation-delay: -123s;
  transform-origin: 14vw 8vh;
  box-shadow: 80vmin 0 10.024170685437804vmin currentColor;
}

/* ************************ HEADER ************************** */

header{  
  position: relative;
  height: 100px;
  background: var(--nav-and-foot-bg-color);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.6);
  transition: 0.6s;
}
header .logo{
  position: relative;
  display: flex;
  width: 300px;
  min-width: 300px;
  height: 140px;
  transform: scale(0.7) translateX(-10%);
}
header h1{
  display: block;
  position: absolute;
  top: 45px;
  right: 10px;
  font-family: Parisienne;
  font-size: 3.2em;
  letter-spacing: 5px;
}
header h3{
  display: block;
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-family: "Arima Madurai";
  font-size: 1.15em;
  letter-spacing: 3.5px;
}
header img{
  display: block;
  position: absolute;
  height: 100px;
  left: 10px;
  top: 5px;
}
nav{
  width: 100%;
  font-family: Montserrat, sans-serif;
  position: relative;
  top: 0;
  margin: 0 0 0 0%;
  z-index: 2;
}
nav > .list-items{
  position: relative;
  display: flex;
  justify-content: space-between;
  text-align: center;
  height: var(--height-menu);
}
nav > .list-items > li{
  position: relative;
  display: block;
  height: 100%;
  flex: 1;
  border-radius: 10px;
  transition: 0.5s;
  white-space: nowrap;
}
.textile{
  border-radius: 10px 10px 0 0;
}
nav > .list-items > li > a{
  position: absolute;
  font-size: 18px;  
  font-weight: bolder;
  top : 50%;
  left: 50%;
  transform: translate(-50%, -50%);  
  transition: 0.5s;
}
.textile > a::after{
  content:">";
  font-size: 15px;
  margin-left: 7px;
  display: inline-block;  
  transition: 0.3s;
}
.sublist{
  margin-top: var(--height-menu);
  width: 100%;
  text-align: left;
  background-color: var(--nav-and-foot-bg-color);
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  max-height: 0;
}
.sublist > li > a{
  height: 50px;
  font-size: 18px;
  padding-left: 25px;
  width: 100%;
  align-items: center;
  display: flex;
  transition: 0.5s;
}
nav > .list-items > li:hover{
  background-color: var(--hover-nav-bg-color);
  box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.6);
}
nav > .list-items > li:hover > a{   
  color: var(--hover-a-color); 
  font-size: 20px;
}
.sublist > li:hover{
  background-color: var(--hover-nav-bg-color);
  box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.6);  
}
.sublist > li:hover > a{
  color: var(--hover-a-color);
  font-size: 20px;
}
.textile:hover > a::after{
  transform: rotate(90deg);
}
@keyframes apparitionSublist {
  0%{
    box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.0);
  }
  30%{    
    box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.3);
  }
  100%{
    max-height: 15em;
    box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.6);
  }  
}
.textile:hover > .sublist{
  animation: apparitionSublist 1s forwards;
}
@keyframes disparitionSublist {
  0%{
    box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.0);
    max-height: 10em;
  }
  70%{    
    box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.3);
  }
  100%{
    
    box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.6);
  }  
}
.navbar-toggler{
  display: none;
  position: absolute;
  height: min-content;
  right: 17px;
  top: 22px;
  z-index: 2;
  cursor: pointer;
}
.navbar-toggler .bar{
  width: 32px;
  height: 4px;
  margin-bottom: 6px;
  background: var(--text-color);
  border-radius: 33%;
  transition: 0.4s;
}
#toggle {
  display: none;
}

#toggle:checked ~ .navbar-toggler{
  right: 49px;
  top: 32px;
}
#toggle:checked ~ .navbar-toggler .bar:nth-child(1){
  position: absolute;
  transform: rotate(45deg);
}
#toggle:checked ~ .navbar-toggler .bar:nth-child(2){
  display: none;
}
#toggle:checked ~ .navbar-toggler .bar:nth-child(3){
  position: absolute;
  transform: rotate(-45deg);
}

/* ************************ MAIN ************************** */

main{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}


/* ************************ FOOTER ************************** */

footer{
  position: relative;
  width: 100%;
  background-color: var(--nav-and-foot-bg-color);
  box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.6);  
  bottom: 0;
  margin-top: 100px;
}
footer .content{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
  
  padding: 25px 0 30px 0;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
}
footer h3{
  font-size: 18px;
  margin-bottom: 15px;
}
footer li{
  margin: 10px;
}
footer li a{
  position: relative;
}
footer li:hover a{
  color: var(--hover-a-color);
}
footer li a::before{
  content: "";
  position: absolute;
  background: var(--hover-a-color);
  width: 100%;
  height: 1px;
  bottom: -2px;
  transform-origin: 100% 0;
  transform: scaleX(0);
  transition: transform 0.4s;
}
footer li a:hover::before{
  transform-origin: 0 0;
  transform: scaleX(1);
}

/* ************************** WEBCOD *****************************/

.webcod{
  text-align: center;
  font-size: 1.1em;
  padding-bottom: 25px;
}
.webcod #mouse{
  font-weight: bold;
  font-family: Megrim;
  text-shadow: 0 0 0.07em #00f5ff;
  transition: 0.4s;
}
.webcod span #w{
  color: #cc0b0d;
}
.webcod #mouse:hover{
  text-shadow: 0 0 0.07em #cc0b0d;
}


/* ************************ RESPONSIVE ****************************** */


/* @media (max-width: 1750px) {
} */

@media (max-width: 1000px) {
  /* :root{
    --height-menu: 70px;
  } */
  header{  
    justify-content: space-between;
    box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.6);
    height: 70px;
    /* z-index: 2; */
  }
  header .logo{
    transform: scale(0.4) translateX(-35%);
    position: absolute;
    top: -30px;
    left: -30px;
  }
  #toggle:checked ~ header{
    height: 190px;
  }
  nav{    
    z-index: 1;
  }
  nav > .list-items{
    flex-direction: column;
    height: 165px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: 0.6s;
    opacity: 0;
    transform: translateY(-100%);
    z-index: 2;
  }
  #toggle:checked ~ header nav > .list-items{
    opacity: 1;
    transform: translateY(0);
  }
  .textile > a::after{
    content:"";
  }
  .sublist{
    display: none;
  }
  .navbar-toggler{
    display: grid;
  }
  nav > .list-items > li:hover{
    background-color: rgba(0, 0, 0, 0);
    box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.0);  
  }
}

@media (max-width: 800px) {

  footer .content{
    flex-wrap: wrap;    
  justify-content: space-between;
    font-size: 12px;
  }

  .footer-items{
    margin: 10px;
    display: block;
  }
  footer h3{
    font-size: 15px;
    margin-bottom: 10px;
  }
  .webcod{
    text-align: center;
    font-size: 1em;
    padding-bottom: 25px;
  }
}

@media (max-width: 628px) {
  main .social{
    left: -30%;
  }
  main h2{
    margin-top: 55px;
    font-size: 2.5em;
  }
  main section .description{
    font-size: 2em;
  }
}

@media (max-width: 400px) {
  nav > .list-items{
    display: block;
    height: 165px;
  }
  nav > .list-items li{
    height: 40px;
  }
  #toggle:checked ~ header{
    height: 70px;
  }
  nav{    
    z-index: 1;
  }
  nav > .list-items{
    top: 120px;
    width: auto;
    background-color: var(--nav-and-foot-bg-color);
    border-radius: 10px;
    box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.6);  
    transition: 0.6s;
    opacity: 0;
    transform: translateX(-100%);
    /* z-index: 2; */
  }
  #toggle:checked ~ header nav > .list-items{
    opacity: 1;
    transform: translateX(0);
  }
}