*{
    background-color:lavender;
    margin:2.5%;
    margin-top: 3%;

        font-family: "Chela One", serif;
        font-weight: 400;
        font-style: normal;
      

}
#mainheading{
    background-color: transparent;
    margin-left: 0;
    position: fixed;
    justify-self: center;
    top:0px;
    text-align: center;
    text-shadow:2px 10px white;
    font-size: 90px;
    font-weight:800;
    animation: change 5s 0s linear;
    animation-timeline: scroll();


}
@keyframes change{
    1%{
        top:30%;
        left:0%;
        transform: rotatez(270deg);
        font-size: 60px;
        font-weight:800;
    }
    100%{
        top:30%;
        left:0%;
        transform: rotatez(270deg);
        font-size: 60px;
        font-weight:800;
    }
    


}
#container{
    margin-top: 0px;
    width: 83vw;
    /* height:100vh; */
    /* box-shadow: 5px 5px 15px black; */
    border-radius: 2em;
    background-color:purple;
    padding: 1%;
    
}

.heading{
    /* padding-top: 30px; */
    margin:10%;
    box-shadow: 0px 0px 20px white;
    background-color: white;
    border:2px solid white;
    border-radius: 1.5em;
    &:hover{
        box-shadow: 0px 0px 30px black;

        border-color: black;
    }

}
.heading h1{
    padding: 2%;
    border:3px solid lavender;
    box-shadow: 0px 0px 20px lavender;
    border-radius: 1.5em;
    text-align: center;
    margin-left: 20%;
    margin-right: 20%;
    background-color: lavender;
    

}

.form{
    display: flex;
    flex-wrap: wrap;
    border: 3px double black;
    background-color: #fff;
    padding: 20px;
    border-radius: 1.5em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 50vw;
    /* max-width: 400px; */
    margin: 20px auto;
    justify-content: center;
}
.form label {
    background-color: white;
    font-size: 25px;
    display: block;
    margin: 10px 0 5px;
    color: black;
}
.form input, .form textarea, .form button {

    background-color: white;
    width: 90%;
    padding: 10px;
    font-size: 20px;
    margin-bottom: 15px;
    border: 1px solid black;
    border-radius: 5px;
}
.form button {
    background-color: purple;
    color: #fff;
    border: none;
    cursor: pointer;
}
.form button:hover {
    background-color: rgb(86, 0, 86);
}
/* #home-container{
    left:95%;
    top:0px;
} */
#homebtn{
    position: fixed;
    left:90.8%;
    top:0px;
    font-size: 50px;
    color:peru;
    padding: 10px;
    border-radius: 50%;
    background-color: #fff;
    border-color: transparent;

    background-color: transparent;

}
i{
    font-size: 50px;
    color:peru;
    padding: 10px;
    border-radius: 50%;
    border-color: transparent;
    box-shadow: 1px 1px 20px white;
    background-color: transparent;

}


#rotateObj{
    box-shadow: 2px 2px 5px black;
    display: flex;
    justify-content: center; /* Horizontally center */
    align-items: center;
    width:35px;
    height:35px;
    position: fixed;
    top:80%;
    left:91.8%;
    animation: rotateToEnd 3s linear;
    animation-timeline: scroll();
    border:10px solid black;
    border-radius: 50%;
    background-color: black;

}
#topbtn{
    background-color: transparent;
    border-color: transparent;
    color:peru;
    animation: enlarge 3s linear;
    animation-timeline: scroll();
}
/* @keyframes rotateToEnd{
    25%{
        border-top:5px solid white;
    }
    50%{
        border-right:5px solid white;
    }
    75%{
        border-bottom: 5px solid white;
    }
    100%{
        border-top:5px solid white;
        border-right:5px solid white;
        border-bottom:5px solid white;
        border-left:5px solid white;
    }
} */

@keyframes rotateToEnd{
    25%{
        border-top:10px solid white;
    }
    50%{
        border-top:10px solid white;
        border-right:10px solid white;
    }
    75%{
        border-top:10px solid white;
        border-right:10px solid white;
        border-bottom: 10px solid white;
    }

    100%{
        border-top:10px solid white;
        border-right:10px solid white;
        border-bottom:10px solid white;
        border-left:10px solid white;
        width:40px;
        height:40px;
        background-color: #fff;
    }
}
@keyframes enlarge{
    to{
        font-size: 25px;
    }
}

.picholder{
display:flex;
flex-wrap: wrap;

    align-content: center;
    border-radius: 1.5em;
    background-color: black;
    width:40vw;
    height:50vh;
    box-shadow: 5px 5px 8px black;
}
.pic{
    position: relative;
    left:22%;
    width:17.5em;
    height:17em;
}

@media (max-width:1250px ){

    #homebtn{
        left:88.8%;
    }

    #socialmedia{
        flex-wrap: wrap;
    }
  
    #rotateObj{
        top:85%;
        left:89.8%;
    }
    .picholder{
            width:50vw;
            height:15vh;
        }
        .pic{
            width:10.5em;
            height:10em;
        }
}



@media (max-width:768px ){

    #homebtn{
        left:88.8%;
    }
  
    #rotateObj{
        top:85%;
        left:89.8%;
    }
    .picholder{
            width:50vw;
            height:20vh;
        }
        .pic{
            width:12.5em;
            height:12em;
        }
}
@media (max-width:480px ){

    #socialmedia{
        flex-wrap: wrap;
    }

    #homebtn{
        left:76.8%;
    }
  
    #rotateObj{
        top:85%;
        left:80.8%;
    }


    .picholder{
        width:50vw;
        height:20vh;
    }
    .pic{
        width:7.5em;
        height:7em;
    }
    #mainheading{
        font-size: 50px;
        font-weight:500;
        animation: change2 5s 0s linear;
        animation-timeline: scroll();
}
}
@keyframes change2{
    1%{
        top:40%;
        left:0%;
        transform: rotatez(270deg);
        font-size: 25px;
        font-weight:500;
    }
    100%{
        top:40%;
        left:0%;
        transform: rotatez(270deg);
        font-size: 25px;
        font-weight:500;
    }
    
}

@media (max-width:550px){
    #homebtn{
        left:71.8%;
    }

    .picholder{
        width:60vw;
        height:30vh;
    }
    .pic{
        flex-shrink: 2;
        width:5.5em;
        height:5em;
    }
    #mainheading{
        font-size: 50px;
        font-weight:500;
        animation: change2 5s 0s linear;
        animation-timeline: scroll();
}
}

#socialmedia{
    margin: auto;
    justify-content: center;
    align-items: center;
    border-radius: 7.5em;
width: 65vw;
height: 18vh;
background-color: black;
display:flex;
flex-wrap: wrap;

i{
    
    font-size: 30px;
    color:peru;
    padding: 10px;
    border-radius: 50%;
    border-color: transparent;
    box-shadow: 1px 1px 20px white;
    background-color: transparent;
    transition: all 0.5s ease-in;
    
    &:hover{
        transform:scale(1.5) ;
    }
}
a{
    flex-shrink: 2;
    background-color: transparent;
}

}
