@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');
*{
    margin: 0;
    scroll-behavior: smooth;
}
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body{
    background-color: #5d5e63;
    background-color: #130f40;
    background-image: linear-gradient(115deg, #130f40 0%, #000000 74%);
    font-family: sans-serif
}
.container {
    padding: 20px 20px 20px 80px;
    margin: auto;    
    /* background-color: #000000;
    background-image: linear-gradient(315deg, #000000 0%, #414141 74%); */
    background: linear-gradient(-45deg, #130f40 ,#0d8992,#8100a1);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;

}
@keyframes gradient {
	0%,100% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 0%;
    }
	
}
.sidebar{
    position: fixed;
    top: 50;
    right: 0;
    background-color: orange;
}
.sidebar a{
    text-decoration: none ;
    color: rebeccapurple;
    display: block;
    padding: 10px 20px;
    border: 1px solid black;
    font-family: Roboto;
    transition: 0.4s ease-out;
}
.sidebar a:hover{
    background-color: royalblue;
    color: chartreuse;
}
.row {
    margin-right: -15px;
    margin-left: -15px;
    display: flex;
}
.photo-container{          
    padding: 10px; 
    display: flex;
}
.photo{
    width: 200px;
    border-radius: 50%;   
    display: block;       
    margin: auto;
    box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.main-header,.sub-header{
    margin: 0 ;
    color: white;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 2px;
}
.about{
    margin: auto 50px;
}
.about-me{
    color: white;
    font-family: 'Athiti', sans-serif;
    font-size: 20px;
}
.main-container{
    margin: auto 10%;
    background-color: #e6e4e7;
    padding: 10px 30px;
    margin-top: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.6), 0 6px 20px 0 rgba(0, 0, 0, 0.59);
}
.box{
    position: relative;
    border: 1px solid black;
    padding: 20px;
    margin-top: 20px;
    background-color: white;
}
.heading--section{
    background: #d1d0d1;
    border-left: 6px solid #4e0cb8;
    padding: 6px;
    font-size: 40px;
    font-weight: 600;
    padding-left: 10px;
    letter-spacing: 2px;
    color: red;
    z-index: 100;
}
.education-svg{
    position: absolute;    
    right: -20px;
    top: -40px;
    height:140px;
    transform: rotate(25deg);
}
.technical-svg {
    position: absolute;
    right: 20px;
    top: 5px;
    height:120px;  
}
.project-svg{
    position: absolute;    
    right: 20px;
    top: -20px;
    height:140px;
    transform: rotate(10deg);
}
.interest-svg{
    position: absolute;
    right: 10px;
    top: 10px;
    height:120px;  
    transform: rotate(25deg);
}
.sub-heading--section{
    padding: 10px 0;
    font-family: 'Athiti', sans-serif;
    text-align: center;
    text-transform: uppercase;
    font-size: 25px;
}
.school{
    font-weight: 500;
    font-size: 25px;
    color: royalblue;
}
.school-sub{
    color: rgb(97, 96, 96);
}
.school-info{
    margin-top: 10px;
}
.box-info{
    margin: 20px;
}
.skillbar {
    position: relative;
    display: block;
    margin-bottom: 15px;
    width: 100%;
    background: rgb(212, 212, 212);
    height: 35px;
    transition: 0.4s ease-out;
}
.skillbar:hover{
    transform: scale(1.01);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.skillbar-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    font-weight: bold;
    font-size: 13px;
    color: #ffffff;
    background: #6adcfa;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}
  
.skillbar-title span {
    display: block;
    background: rgba(0, 0, 0, 0.1);
    padding: 0 20px;
    height: 35px;
    line-height: 35px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    letter-spacing: 2px;
    font-size: 15px;    
}
  
.skillbar-bar {
    height: 35px;
    width: 0px;
    background: #6adcfa;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
  
.skill-bar-percent {
    position: absolute;
    right: 10px;
    top: 0;
    font-size: 11px;
    height: 35px;
    line-height: 35px;
    color: #ffffff;
    color: rgba(0, 0, 0, 0.4);
}
.badge-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.badge{
    background-color: #444444;
    max-width: 250px !important;
    padding: 12px 20px 12px 13px;
    border-radius: 2px;
    box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.2);
    border-left: 5px solid #444444;
    color: #FFFFFF;
    margin-bottom: 24px;
    margin-right: 3%;
    transition: 0.4s ease-in;
    letter-spacing: 3px;
}
.badge:hover{
    background-color: #313131;
    border-left: 5px solid cyan;
    color: chartreuse;
    cursor: pointer;
    transform: scale(1.1);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.flip {
    position: relative;
    display: inline-block;    
    margin: 10px auto 40px auto;
    width: 400px;   
    cursor: pointer;
  }
.flip .front,
.flip .back {
    display: block;
    transition-duration: .5s;
    color: white;
    background-size: cover !important;
    background-position: center !important;
    padding: 1em 2em;
    height: 220px;
    background: #313131;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.59);
}
.flip .front p,
.flip .back p {
    font-size: 0.9125rem;
    text-overflow: ellipsis;
    line-height: 160%;
    color: #999;
}
.flip .front {
    transform: rotateY(0deg);
}
.flip .back {
    position: absolute;
    display: block;
    opacity: 0;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    overflow: auto;
    transform: rotateY(-180deg);
}
.flip:hover .front {
    transform: rotateY(180deg);
    
}
.flip:hover .back{
    opacity: 1;
    transform: rotateY(0deg);
    height: 100% !important;
}

.project-box{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 10px;
}
.interests {
    padding: 15px;
    margin-bottom: 0;
    margin-left: 0px;
    text-align: center;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}  

.interests div .svg-icon {
    font-size: 45px;
    margin-bottom: 30px;
    width: 80px;
    height: 80px;
    line-height: 60px;
    color: #8d9e78;
    text-align: center;
    transition-duration: 0.3s;
}
.interest-item{
    max-width: 200px;
    margin: 20px;
}
.interest-item-info{
    color: rebeccapurple;
    font-size: 25px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
}
.footer{
    font-family: Roboto;
    margin-top: 20px;
    padding: 50px 50px 20px 50px;
    background-color: #172336;
    color: white;
    text-align: center;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.contact{
    margin-bottom: 20px;
}
.contact-items{
    display: flex;
    margin: 10px;
}
.contact-icons{
    width: 100%;
    margin: 10px;
}
.fa-phone,  .fa-envelope-open {
    font-size: 25px;
    color: brown;
    transition: 0.6s ease-in; 
    margin-bottom: 5px;
}
.fa-phone:hover,  .fa-envelope-open:hover{
    cursor: pointer;
    color: chartreuse;
    transform: scale(1.1);
}
.rounded-social-buttons {
    text-align: center;
  }
  
.rounded-social-buttons .social-button {
    display: inline-block;
    position: relative;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border: 0.125rem solid transparent;
    padding: 0;
    text-decoration: none;
    text-align: center;
    color: #fefefe;
    font-size: 1.5625rem;
    font-weight: normal;
    line-height: 47px;
    border-radius: 1.6875rem;
    transition: all 0.5s ease;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
    
}
  
.social-button:hover {
    transform: rotate(360deg) !important;
}
  
.fa-twitter, .fa-facebook-f, .fa-linkedin, .fa-youtube, .fa-instagram, .stackoverflow-svg {
    font-size: 25px;
    transform: scale(0.8);
}
  
.facebook {
    background: #3b5998;
}
  
.facebook:hover {
    color: #3b5998;
    background: #fefefe;
    border-color: #3b5998;
}
  
.twitter {
    background: #55acee;
}
  
.twitter:hover {
    color: #55acee;
    background: #fefefe;
    border-color: #55acee;
}
  
.linkedin {
    background: #007bb5;
}
  
.linkedin:hover {
    color: #007bb5;
    background: #fefefe;
    border-color: #007bb5;
}
.instagram {
    background: #125688;
}
  
.instagram:hover {
    color: #125688;
    background: #fefefe;
    border-color: #125688;
}
.stackoverflow{
    background-color: white;
}
.stackoverflow:hover {
    color: #125688;
    background: #fefefe;
    border-color: #125688;
    border-width: 3px;
}
.bottom-footer{
    background-color: black;
    color: white;
    text-align: center;
    padding: 30px;
}
@media only screen and (max-width: 1200px){
    .sidebar a{
        padding: 5px;
    }
}
@media only screen and (max-width: 768px) {
    .container{
        padding: 20px;
    }
    .main-container{
        margin: 20px !important;
    }
    .row{
        flex-wrap: wrap;
    }
    .photo-container{
        margin-top: 30px;
        width: 100% !important;
    }
    .interests{
        margin: 20px !important;
    }
    .interest-item{
        width: 100%;
    }
    .sidebar{
        position: absolute;
        top: 0;
        display: flex;
        left: 0;
        right: 0;      
        justify-content: space-between;  
        display: flex;
    }
    .sidebar a{
        padding: 10px;
        font-size: 15px;
        border:none;
    }
    .education-svg, .technical-svg, .project-svg, .interest-svg{
        height: 80px ;
    }
    .education-svg, .project-svg{
        top: 0px !important;
        right: 10px ;
    }
    .skillbar-title{
        width: 125px;
    }
    .skillbar-title span{
        font-size: 13px;
    }
}
@media only screen and (max-width: 500px){
    .interest-svg{
        height: 60px ;
    }
    .heading--section{
        font-size: 25px;
    }
    .interest-svg{
        right: -10px;
        top: 15px;
    }
    .skillbar-title{
        width: 80px;
    }
    .skillbar-title span{
        font-size: 8px;
        padding-left: 5px;
    }
}
@media only screen and (max-width: 450px){
    .main-container{
        padding: 5px;
    }
    .education{
        margin-top: 5px;
    }
    .sidebar a{
        padding-right: 5px;
        padding-left: 5px;
    }
    .education-svg{
        right: 0%;
        height: 60px;
        z-index: 10;
    }
    .technical-svg{
        height: 60px;
        right: 0px;
        top: 10px;
    }
}
@media only screen and (max-width: 360px){
    .heading--section{
        width: 90%;
    }
    .education-svg{
        right: 20px;
    }
    .technical-svg{        
        top: 20px;
        right: 10px;
    }
    .interest-svg{
        top: 20px;
        right: 0px;
    }
}
