* {
    margin: 0;
    padding: 0;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 80px;
    background-color: #45a29e;
    padding: 5px 10px;
    transition: all ease 0.5s;
    z-index: 10;
}

.sidebar.active {
    width: 230px;
}

.sidebar #btn {
    position: absolute;
    color: white;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 30px;
    top: 2%;
}

.sidebar.active .top .logo {
    display: flex;
    flex-wrap: nowrap;
    color: white;
    display: flex;
    column-gap: 10px;
    height: 50px;
    width: 100%;
    align-items: center;
    transition: all ease 0.5s;
    opacity: 1;
    font-size: larger;
}

.sidebar .top .logo {
    display: flex;
    align-items: center;
    height: 50px;
    width: 100%;
    transition: all ease 0.3s;
    opacity: 0;
}

.user {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
}

.user-img {
    width: 60px;
    border-radius: 100%;
    border: 1px solid whitesmoke;
    padding: 2px;
    margin: 5px;
    margin-right: 20px;
}

.sidebar.active .bold {
    color: white;
    margin: 5px 0px;
    opacity: 1;
    transition: all ease 0.5s;
    font-size: 20px;
}

.bold {
    opacity: 0;
    transition: all ease 0.3s;
}

.sidebar ul li {
    position: relative;
    list-style-type: none;
    height: 70px;
    padding: 5px 10px;
    line-height: 70px;
    font-size: larger;
}

.sidebar.active ul li {
    transition: all ease 0.5s;
}

.sidebar ul li a {
    text-decoration: none;
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    color: white;
    column-gap: 10px;
    height: 50px;
    padding-left: 5px;
}

.sidebar ul li a.active{
    background-color: #0b0c10;
    color:white;
    border-radius: 5px;
}

.sidebar ul li a i {
    font-size: larger;
    border-radius: 12px;
    text-align: center;
    min-width: 50px;
}

.sidebar ul li a:hover {
    background-color: black;
    border-radius: 5px;
    color: white;
}

.sidebar .nav-item {
    opacity: 0;
}

.sidebar.active .nav-item {
    opacity: 1;
}

.sidebar.active ul li .tooltip {
    opacity: 0;
}

.sidebar.active ul li:hover .tooltip {
    opacity: 0;
}

.sidebar ul li .tooltip {
    position: absolute;
    left: 80px;
    top: 20%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 5px 15px;
    line-height: 20px;
    display: none;
    font-size: medium;
    background-color: white;
    color: black;
}

.sidebar ul li a:hover ~ .tooltip {
    display: block;
}

.right {
    position: absolute;
    left: 100px;
    transition: all ease 0.5s;
    z-index: 5;
    display: flex;
    flex-direction: column;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
    width: calc(100% - 100px);
    background-color: #0b0c10;
    color: white;
}

.sidebar.active~.right {
    left: 250px;
    width: calc(100% - 250px);
    transition: all ease 0.5s;
}

.right .body-part {
    flex: none;
    min-height: 100vh;
    scroll-snap-align: start;
    margin: 10px 10px;
}

#home{
    display: flex;
    flex-wrap: wrap;
}

.home-left{
    flex-basis: 300px;
    flex-grow: 2;
    flex-shrink: 2;

    display: flex;
    flex-direction: column;
    flex-wrap: wrap; 
    justify-content: center;
    padding-left: 20px;
}

.home-right{
    flex-basis: 300px;
    flex-grow: 1;
    flex-shrink: 1;

    display: flex;
    justify-content: end;
    margin: 30px;
}

.home-right img {
    width: 100%;
    align-self: center;
    border-radius: 40%;
    border: solid #66fcf1 5px;
}

.home-left h1{
    padding: 0px 10px;
    font-size: 40px;
}

.home-left h3 {
    padding: 10px;
    font-size: 20px;
}

.home-left h3 span{
    color: #66fcf1;
}

.home-left p{
    padding: 10px;
}

.home-left .email-linkedin{
    display: flex;
    flex-wrap: wrap;
}
.home-left .email-linkedin .email,.home-left .email-linkedin .linkedin{
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 5px;
}

.email-head, .linkedin-head{
    padding: 0;
    font-weight: bolder;
    color: #66fcf1;
}

.buttons{
    margin: 20px 0px;
    display: flex;
    flex-wrap: wrap;
}

.home-left .buttons a{
    text-decoration: none;
    padding: 5px 15px;
    background-color: #c5c6c7;
    color: black;
    margin: 10px;
    border-radius: 5px;
}

.home-left .buttons a:hover {
    background-color: #66fcf1;
    color: #0b0c10;
}

.social{
    margin-top: 50px;
    margin-left: 15px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
}

.social a i, .social a svg{
    font-size: 30px;
    color: #66fcf1;
    border: #66fcf1 1px solid;
}

.social a i:hover, .social a svg:hover {
    font-size: 30px;
    color: black;
    border: #66fcf1 1px solid;
    background-color: #66fcf1;
}


#skills{
    padding: 0px 20px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 50px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    text-align: center;
}

.skills-left{
    flex-basis: 200px;
    flex-grow: 1;
    flex-shrink: 1;

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    text-align: left;
}

.skills-left h1{
    padding: 30px 0px;
}

.skills-left p {
    font-size: 15px;
}

.skills-right{
    flex-basis: 300px;
    flex-grow: 2;
    flex-shrink: 2;

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    row-gap: 20px;
}

.skills-right span{
    font-size: 30px;
    padding-top: 20px;
    align-self: flex-start;
    color: #66fcf1;
}

.languages, .frontend, .backend{
    padding: 20px 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    border: #66fcf1 solid 2px;
    border-radius: 5px;
    font-size: 20px;
    column-gap: 30px;

    min-width: 100px;

}

.skill{
    padding: 5px 0px;
}

.skilled{
    color: #66fcf1;
}

.unskilled{
    color: #c5c6c7;
}

#projects{
    padding: 0px 20px;
}

#projects h1{
    font-size: 40px;
    text-align: center;
    padding: 20px;
}

.project-body{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    column-gap: 20px;
}

.project-part{
    flex-basis: 350px;
    flex-grow: 1;
    padding: 30px 0px;
}

.screenshot{
    width: 100%;
}

.screenshot:hover{
    scale: 1.02;
    transition: all ease 0.5sec;
    border: #66fcf1 1px solid;
}

.project-part p{
    font-size: 25px;
    text-align: center;
    color: #66fcf1;
}



#experience{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

#experience h1 {
    padding-top: 20px;
}

.exp{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    column-gap: 40px;
    padding: 10px;
    justify-content: center;
}

.exp-left{
    flex-basis: 300px;
    flex-grow: 1;
    flex-shrink: 1;

    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.exp-left h2{
    color: #66fcf1;
}


.exp-right{
    flex-basis: 150px;
}

.exp-right img{
    width: 100%;
    margin: 10px;
}

#contact{
    display: flex;
    flex-direction: column;
    margin: 0px;
    align-items: center;
    flex-wrap: wrap;
}

#contact h1{
    flex-basis: 100px;
    padding: 20px;
    align-content: center;
}

#contact .contact-form{
    flex-basis: 00px;
    align-content: center;
    margin: 0px 20px;
    width: 60%;
    

    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
}

.contact-form .name{
    display: flex;
    flex-direction: column;
    flex-basis: 300px;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 20px 0px;
}

.contact-form .email {
    display: flex;
    flex-direction: column;
    flex-basis: 300px;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 20px 0px;
}

.contact-form .message {
    display: flex;
    flex-direction: column;
    flex-basis: 400px;
    flex-grow: 1;
    flex-shrink: 1;
    height: 300px;
    padding: 20px 0px;
}

.contact-form label{
    font-size: larger;
    color: #66fcf1;
}

.contact-form input,textarea{
    border: none;
    background-color: #0b0c10;
    border-bottom: #66fcf1 1px solid;
    padding: 10px 0px;
    font-size: large;
    margin: 10px 0px;
    color: white;
}

.contact-form input,textarea:focus{
    outline: none;
}

.contact-form input:focus::placeholder {
    opacity: 0;
}

.contact-form textarea:focus::placeholder {
    opacity: 0;
}

.contact-form .message textarea{
    min-height: 200px;
    max-height: fit-content;
    border: #66fcf1 1px solid;
    border-radius: 5px;
    padding: 10px 10px;
}

#send{
    background-color: #45a29e;
    color: black;
    width: 60px;
    height: 30px;
    font-size: large;
    border: none;
    border-radius: 2px;
}

#send:hover {
    background-color: #66fcf1;
    color: black;
    width: 60px;
    height: 30px;
    font-size: large;
    scale: 1.02;
}
