*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}
body{
  /* max-width: 1200px; */
  margin: 0 auto;
}
/* .preloader-area{
  background-color: teal;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9999;
}
.loader-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.loader {
  width: 70px;
  height: 70px;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-width: 30px;
  border-style: double;
  border-color: transparent #fff;
  transform: transform-origin(50% 50%);
  animation: loader 2s linear infinite;
}
@keyframes loader{
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} */

#body{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100vw;
  height: 100vh;
  /* grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(10, 1fr); */
  position: relative;
  background-color: #e3e9f7;
  overflow: hidden;
}

header{
  /* grid-column: 1/13; */
  padding: 20px 10px;
}
header nav{
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: space-around;
}
header nav h1{
  width: 20%;
  text-align: center;
  padding: 5px 0px;
  font-size: 25px;
  cursor: pointer;
  z-index: 3;
}
header nav #bars{
  width: 40px;
  height: 40px;
  display: none;
}
header nav #bars i{
  color: #000;
  font-size: 25px;
  margin: 5px auto;
}
header nav ul{
  display: flex;
  width: 40%;
  justify-content: space-around;
  transform: all 0.3s ease;
}
header nav ul li{
  padding: 10px;
  position: relative;
}

header nav ul li::after{
  position: absolute;
  content: "";
  background-color: teal;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  transition: all 0.3s ease-in-out;
}
header nav ul li:hover::after{
  width: 100%;
}

header nav ul li a{
  color: #000;
  font-size: 18px;
  transition: all 0.3s ease-in-out;
}
header nav ul li a:hover{
  color: teal;
}

/*************************************
Animate Object Begins
**************************************/
.curveAndColored{
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: teal;
  border-radius: 50%;
  top: 0;
  left: 0;
  transform: translate(-30%, -50%);
}
/*************************************
Animate Object Ends
**************************************/
/* @media screen and (max-width: 930px){

} */
@media screen and (max-width: 756px) {
  #body{
    display: block;
    width: 100vw;
    height: 100vh;
  }
  header nav{
    justify-content: space-between;
  }
  header nav #bars{
    display: block;
    position: relative;
    margin-right: 15px;
  }
  header nav ul{
    position: absolute;
    flex-direction: column;
    z-index: 20;
    top: 3.5rem;
    right: 1.5rem;
    width: 0%;
    height: 0%;
    opacity: 0;
    pointer-events: none;
    border-radius: 30px;
    background-color: rgba(0, 128, 128, 0.7);
    backdrop-filter: blur(15px);
  }
  .dropDown{
    opacity: 1;
    width: 70%;
    height: 50%;
    pointer-events: all;
  }
  header nav ul li{
    display: inline;
    width: max-content;
    margin: 0 auto;
    text-align: center;
  }
  header nav ul li a{
    color: #fff;
  }
}
@media screen and (max-width: 450px){
  .dropDown{
    opacity: 1;
    width: 50%;
    height: 50%;
    pointer-events: all;
  }
}

/*************************************
MAIN
**************************************/

#main{
  width: 80%;
  height: 70%;
  border-radius: 30px;
  margin: 0px auto 50px;
  background-color: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  /* grid-column: 2/12;
  grid-row: 3/10; */
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.6);
}
#main .intro h1{
  font-size: 25px;
  font-weight: 500;
}
#main .intro button{
  margin: 10px 0px;
  padding: 10px 0px;
  font-size: 20px;
  background-color: teal;
  border-radius: 30px;
  outline: none;
  border: none;
  transition: all 0.3s ease-in-out;
}
#main .intro button:hover{
  background-color: transparent;
  border: 2px solid teal;
  scale: 0.9;
}
#main .intro button:active{
  scale: 1.2;
}
#main .intro button a{
  color: #fff;
  padding: 10px 20px;
  /* background-color: plum; */
  transition: all 0.3s ease-in-out;
}
#main .intro button a:hover{
  color: #000;
}
#main .intro .name{
  font-size: 30px;
}
#main .intro .text{
  font-size: 35px;
  font-weight: 800;
}
.typing{
  position: relative;
  color: teal;
  animation:  color 4s infinite;
  padding: 0px 5px;
  /* background-color: burlywood; */
}
.typing::before{
  content: "";
  position: absolute;
  background-color: #fff;
  padding-left: 3px;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-left: 2px solid teal;
  animation: animate 4s steps(12) 0s infinite;
}
@keyframes animate {
  0%{
    left: 0;
  }
  40%, 60%{
    left: calc(100% + 1px);
  }
  100%{
    left: 0;
  }
}
@keyframes color {
  100%{
    filter: hue-rotate(360deg);
  }
}
/*************************************
Image
*************************************/
#main .imgWrap{
  width: 300px;
  height: 300px;
  background-image: url(Face.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 50%;
  transform: rotateZ(-50deg);
  border: 5px solid teal;
}

.imgWrap div{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: all 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.imgWrap div:hover{
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 1;
}
.imgWrap div a{
  font-size: 25px;
  color: #fff;
  transform: rotateZ(50deg);
}


.curve-box{
  width: 40px;
  height: 40px;
  position: absolute;
  background: teal;
}


.box1{
  top: 0;
  left: 0;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 20px;
}
.box2{
  top: 0;
  right: 0;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 20px;
}
.box3{
  bottom: 0;
  left: 0;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 20px;
}
.box4{
  bottom: 0;
  right: 0;
  border-bottom-right-radius: 10px;
  border-top-left-radius: 20px;
}
@media screen and (max-width: 930px){
  #main .imgWrap{
    width: 260px;
    height: 260px;
  }
}

@media screen and (max-width: 860px){
  #main .imgWrap{
    width: 250px;
    height: 250px;
  }
}
@media screen and (max-width: 830px){
  #main .intro .name{
    font-size: 23px;
  }
  #main .intro .text{
    font-size: 27px;
  }
}
@media screen and (max-width: 756px) {
  #body{
    height: 120vh;
  }
  #main{
    width: 90%;
    height: 85%;
    margin: 0px auto;
    flex-direction: column;
    overflow: hidden;
  }
  #main .imgWrap{
    width: 250px;
    height: 250px;
  }
  #main .intro{
    text-align: center;
  }
  #main .intro .text{
    text-align: left;
  }
}

@media screen and (max-width: 460px){
  #main .intro h1{
    font-size: 24px;
    font-weight: 700;
  }
  header nav h1{
    color: #fff;
  }
  #main .intro .name{
    font-size: 23px;
  }
  #main .intro .text{
    font-size: 27px;
    font-weight: 800;
  }
}

@media screen and (max-width: 400px) {
  #main .imgWrap{
    width: 225px;
    height: 225px;
  }
  #main .intro{
    text-align: center;
  }
  #main .intro h1{
    font-size: 20px;
    font-weight: 700;
  }
  #main .intro p:nth-child(2){
    font-size: 20px;
  }
  #main .intro p:last-child{
    font-size: 25px;
    font-weight: 800;
  }
  .imgWrap div a{
    font-size: 20px;
  }
}
@media screen and (max-width: 756px) and (min-height: 750px){
  #body{
    height: 100vh;
  }
  #main{
    height: 85%;
  }
}


/* @media screen and (max-width: 800px) and (max-height: 800px) {
  
} */



