html,body
{
  margin: 0;
  height: 100%;
  border: 0;
  padding: 0;
  position: relative;
}

.butn 
{
  -webkit-border-radius: 18;
  -moz-border-radius: 18;
  border-radius: 18px;
  font-family: 'Patrick Hand', cursive;
  font-size: 20px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  position: absolute;
}

.butn:hover 
{
  background: #FFF;
  color: #0000FF;
  text-decoration: none;
}

.add 
{
    color: white;
}

.enlarge
{
  width: 100%;
}

.animation 
{
  font-weight: bold;
  font-size: 5vw;
  position: relative;
  -webkit-animation: mymove 2s infinite;
  animation: mymove 2s;
  animation-fill-mode: forwards;
  animation-iteration-count:2s;
}

#div1 
{
  -webkit-animation-timing-function: linear;
  font-family: 'Indie Flower', cursive;right: 5%;top:10%; overflow: hidden;
}
#div2 
{-webkit-animation-timing-function: ease;
  font-family: 'Indie Flower', cursive;right: 5%;top:10%; overflow: hidden;
}

@-webkit-keyframes mymove 
{
  from {left: 5%;}
  to {left:15%;}
}

.container
{
  left:0px;
  position: relative;
}

.image 
{
  max-width:20vw;
  height:auto;
  opacity: 1;
  display: block;
  transition: .5s ease;
  backface-visibility: hidden;
   top:0px;
   border-radius: 50px;
   margin-top: 10%;
  position: absolute;
  right:80%;
}

.middleb 
{
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top:250px;
   margin-top: 10%;
  position: absolute;
  right:870px;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.container:hover .image 
{
  opacity: 0.5;
}

.container:hover .middleb 
{
  opacity: 1;
}

.text 
{
  background-color: black;
  color: white;
  font-size: 2vw;
  border-radius:30px;
  text-align: center;
}

#navbar {
  overflow: hidden;
  z-index: 999;
  background-color: black;
}

#navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  background-color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 1.5vw;
  font-weight: bold;
}

#navbar a:hover {
  background-color: #ddd;
  color: black;
}

.content {
  padding: 16px;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.sticky + .content {
  padding-top: 60px;
}

h2{
  font-family: 'Acme', sans-serif;
  text-align:center;
}
.top-container
{
   background-image: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0.1)),url("../img/3.jpeg");
   background-position: center;
   height: 250%%;
   width: 100%;
   color: white;
   overflow: hidden;
}

svg 
{
    display: block;
    font: 120px 'Montserrat';
    width: 50%;
    height: 50%;
}

.name
{
    margin-left:41%;
}

.text-copy {
    fill: none;
    stroke: white;
    stroke-dasharray: 6% 29%;
    stroke-width: 5px;
    stroke-dashoffset: 0%;
    animation: stroke-offset 5.5s infinite linear;
}

.text-copy:nth-child(1){
	stroke: #FFF;
	animation-delay: -1;
}

.text-copy:nth-child(2){
	stroke: #FFF;
	animation-delay: -2s;
}

.text-copy:nth-child(3){
	stroke: #FFF;
	animation-delay: -3s;
}

.text-copy:nth-child(4){
	stroke: #FFF;
	animation-delay: -4s;
}

.text-copy:nth-child(5){
	stroke: #FFF;
	animation-delay: -5s;
}

@keyframes stroke-offset{
	100% {stroke-dashoffset: -35%;}
}

.content{
  font-size: 70%;
}


.header{
  font-family: 'Acme', sans-serif;
  font-size: 5vw;
}

.about-me
{
  margin-top: 0%;
  margin-bottom: 0%;
  padding-left: 15%;
  padding-right: 15%;
  padding-top: 5%;
  padding-bottom:5% ;
  position: relative;
   background-image: linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.4)),url("../img/about-me.jpg");
   background-position: center;
   background-size:cover;
  overflow-wrap: break-word;
}

.about-me-sub{
  text-align: left;
  background:rgb(255,255,255,0.4);
  padding: 5%;
}
.about-me-heading
{
   font-size: 50px;
   text-align: left;
   margin-left:0%;
   margin-top: 0%;
  font-family: 'Acme', sans-serif;
  color: #2C3531;
  overflow-wrap: normal;
}
.about-me-content
{
  font-family: 'Arima Madurai', cursive;
  font-size: 20px;
  width: 50%;
}

.about-me-button
{
  font-size: 20px;
  color: white;
  position: absolute;
  left: 70%;
  top: 50%;
  background:#000000;
}

.projects-top-container{
   margin-top: 10%;
  height: 40%;
  overflow-wrap: break-word;
}

.projects
{
  margin-top: 0%;
  margin-bottom: 5%;
  padding-left: 15%;
  padding-right: 15%;
  padding-top: 5%;
  padding-bottom:5% ;
  position: relative;
   background-image: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)),url("../img/work.jpeg");
   background-position: center;
   background-size:cover;
}

.projects-sub
{
   margin-top: 10%;
  text-align: right;
  padding: 5%;
   background:rgb(0,0,0,0.6);
}

.projects-heading
{
  font-family: 'Acme', sans-serif;
  color:#ffcb9a ;
   text-align: right;
   margin-top: 0%;
   font-size: 50px;
  overflow-wrap: break-word;
}
.projects-content
{
  font-family: 'Arima Madurai', cursive;
  font-size: 20px;
  width: 50%;
  margin-left:50% ;
  color:#ffcb9a ;
}

.projects-button
{
  position: absolute;
  color:#2C3531 ;
  background: #ffcb9a;
  right: 70%;
  top: 50%;
  font-size: 20px;
}

.footer2{
  background-color:#FFF;
  font-family: 'Quicksand', serif;
  padding:2%;
  height: auto;
  color: black;
  font-size:50px;
  text-align: center;
  margin-top: -40px;
  bottom: 0;
  border: 10%;
  overflow: hidden;
}

.footer2 p
{
   font-size: 2vw;
   color: black;
}

.footer-img{
  align-content: center;
  width: 3%;
  display: inline;
  margin: 2%;
}

.footer-content{
  position: relative;
  top:20%;

}

.footer-img:hover{
  width:3.5%;
}

.like{
  display: inline;
}

#intro {
  color: var(--color-bright);
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
}

html, body, #contact-info {
  width:100%;
  height:100%;
}

#contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
}

#contact-info .links {
  display: flex;
  min-width: 500px;
  justify-content: space-between;
}

#contact-info a {
  text-decoration: none;
  color: var(--color-bright);
  font-size: 2rem;
}

#contact-info .links a {
  display: block;
  position: relative;
}
#contact-info .links a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid transparent;
  transition: all .3s;
}
#contact-info .links a:hover::after {
  --transformed-box-diagonal-length: 164%;
  width: var(--transformed-box-diagonal-length);
  left: calc( (100% - var(--transformed-box-diagonal-length)) / 2 );
}

#contact-info .links a div {
  position: relative;
  display: block;
  width: 55px; 
  height: 55px;
  transition: transform .3s;
}


#contact-info .links a:hover div {
  transform: rotate(-35deg) skew(20deg);
}

.links a span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.5s;
 
  border: 1px solid var(--color-bright);
  border-radius: 5px;
}

.links a span:nth-child(5) {
  display: flex; 
  justify-content: center;
  align-items: center;
  position: relative;
}

.links a:hover span:nth-child(5) {
  transform: translate(20px, -20px);
  opacity: 1;

}
.links a:hover span:nth-child(4) {
  transform: translate(15px, -15px);
  opacity: .8;
}
.links a:hover span:nth-child(3) {
  transform: translate(10px, -10px);
  opacity: .6;
}
.links a:hover span:nth-child(2) {
  transform: translate(5px, -5px);
  opacity: .4;
}
.links a:hover span:nth-child(1) {
  opacity: .2;
}

/*****************************ABOUT ********************************/

.profile
{
  width: 100%;
  height: 100%;
}

.profile-img
{
   max-width:20vw;
  height:auto;
  display: block;
   top:0px;
   border-radius: 50px;
   margin-top: 10%;
  position: absolute;
  right:43%;
}

.header
{
  position: absolute;
  font-size:60px;
  font-family: 'Molle', cursive;
  color: black;
}

.about-content
{
  background-image: url("https://wallpapermemory.com/uploads/654/gallery-background-hd-1920x1200-193330.jpg");
  background-size: cover;
  width: 100%;
  height: 100%;
  font-family: 'Arima Madurai', cursive;
  z-index: -1;
  color: black;
  font-size: 25px;
  position: absolute;
  padding-top: 20%;
}

.text-justify{
  text-align: justify;
  padding-left: 2%;
  padding-right: 2%;
}
/* ********************************wORK AND INTERESTS*********************************** */

.mySlides {display:none;}
.button_display{
   color:white;
   font-size:1.5vw;
   background:black;
   border-radius:0.5vw;
}

.display-container{
   background-image: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0.1)),url("../img/work&interest.jpg");
   background-size:cover;
}
.display-head{
   font-size:5vw;
   font-family: 'Molle', cursive;
   background-color: rgb(102, 0, 51,0.7);
   text-align: center;
   color: white;
   font-weight: bold;

}
.display-content{
   background-color: rgb(102, 0, 51,0.7);
   font-family: 'Arima Madurai', cursive;
   font-size:20px;
    color: rgb(255, 255, 153);
}
/* ************************Feedback ************************************** */

.feedback-head{
  font-size:9vw;
  text-align: center;
  font-family: 'Caveat', cursive;
  color: white;  
  color: white; 
  -webkit-text-stroke-width: 0.3vw; 
  -webkit-text-stroke-color: black; 
}

table {
    width: 30vw;
    text-align: center;
    border: 2px solid;
     border-radius: 2vw;
    border-collapse: collapse;
    margin: 100px auto;
    transition: all 0.3s ease;
}

table tr {
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

table tr:hover {
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
}

table td {
    font-family: 'Lato',sans-serif;
    font-size: 1.1em;
    padding: 1.5%;
    background: rgb(230, 255, 242);
}

table th {
    font-family: 'Lato',sans-serif;
    font-size: 1.1em;
    padding: 1.5%;
    color: white;
    background: #2A88AD;
}

.infot{
    padding-top:100px;
    text-align: center;
    height: 100vh;
    align-content :center;
}

.infott{
  padding: 14px 0px;
  margin-top:0%;
  background-image: linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0.3)),url("../img/feedback.jpeg");
  text-align: center;
}




#formElement select{
   -webkit-appearance: none; 
   -moz-appearance: none;
   appearance: none;
   border: 1px solid black;
   border-radius: 4px;
   padding: 10px 20px;
   margin-top: 20px;
   font-size: 0.9em;
}

#formElement {
  width: 400px;
  max-width: 100%;
  margin: 0 auto;
  background: rgb(230, 255, 242);
  padding: 2.5%;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
  padding-bottom: 3.5%;
  font-size: 1.1em;
   border-radius: 2vw;
}

#formElement input,select{
  width: 100%;
  display: block;
  margin: 20px auto;
  border: 1px solid black;
  border-radius: 2vw;
  font-size: 0.9em;
}

#formElement select
{
   background-image:
    linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position:
    calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px),
    calc(100% - 2.5em) 0.5em;
  background-size:
    5px 5px,
    5px 5px,
    1px 1.5em;
  background-repeat: no-repeat;
}

#formElement input {
  padding: 10px 0;
}

#formElement #personName
{
  margin-top: 20px;
  padding-left: 20px;
  box-sizing: border-box;
}

#formElement #submitButton
{
  margin-top: 20px;
  background: #2A88AD;
  color: white;
  text-align: center;
  cursor: pointer;
}

#CounterVisitor
{
  font-size:3vw;
  font-weight:bold;
}

/*gototop*/
#myBtn
{
  position: fixed; 
  bottom: 4vw; 
  right: 30px; 
  border: none; 
  background-color: red; 
  color: white;
  cursor: pointer;
  padding: 15px; 
  border-radius: 50px; 
  font-size: 2vw; 
}

#myBtn:hover {
  background-color: #555; 
}


