@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Varela Round', sans-serif;
    padding: 0;
    margin: 0;
    font-size: 20px;
}

#rightPanel h1 {
    margin: 25px 0px 10px 0px;
}

#leftPanel h1 {
    margin: 0px 0px 15px 0px;
}

h2 {
    margin: 10px 0px 25px 0px;
    text-align: center;
    font-size: 25px;
}

div {
    display: grid;
    float: right;
    place-items: center;
    align-content: center;
}

#leftPanel {
    width: 35%;
    background-color: #222831;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    box-shadow: 0px 10px 60px black;
    z-index: 1;
}

#leftPanel a {
    color: #EEEEEE;
    text-decoration: none;
    text-align: center;
    justify-content: center;
    place-items: center;
}

#profilePicture {
    border-radius: 50%;
    max-height: 300px;
    border: 10px solid #234099;
    margin-bottom: 15px;
}

.links {
    display: flex;
    flex-direction: row ;
    margin-bottom: 15px;
}

.button, .contentPanel a {
    color: #EEEEEE;
    border-radius: 25px;
    text-decoration: none;
    font-size: 20px;
    text-align: center;
    background: #234099;
    padding: 7px;
    margin: 5px;
}

.buttonSocial {
    border-radius: 25px;
    text-align: center;
    color: #EEEEEE;
    background: #234099;
    text-decoration: none;
    margin: 5px;
    width: 50px;
    height: 50px;
}

.fa {
    display: flex !important;
    font-size: 32px !important;
}

#rightPanel {
    width: 65%;
    color: #EEEEEE;
    background: #393E46;
}

.contentPanel {
    border-radius: 25px;
    background: #222831;
    padding: 25px;
    margin-top: 10px;
    margin-bottom: 18px;
    width: 50vw;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: justify;
}

.education {
    justify-items: stretch;
}

ul {
    margin: 0;
}

.project img {
    width: 100%;
    height: auto;
}

.project p {
    margin: 10px;
}

.hidden {
    opacity: 0;
    transform: translateX(-50vh);
    transition: all 1s;
}

.show {
    opacity: 1;
    transform: translateX(0);
}

make list left aligned
ul {
    float: left;
    align-items: left;
    align-content: left;
}

@media (max-width: 1250px) {
    #leftPanel {
        width: 100%;
        height: 75vh;
        position: relative;
        box-shadow: none;
    }
    
    #profilePicture {
        max-height: 220px;
    }

    .links {
        width: 100%;
        justify-content: center;
        overflow-wrap: normal;
    }

    .button, .contentPanel a {
        font-size: 18px;
        padding: 8px;
        margin: 4px;
    }

    #rightPanel {
        width: 100%;
        height: 100%;
        display: grid;
        position: relative;
    }

    .contentPanel {
        width: 80%;
    }

    .hidden {
        opacity: 0;
        transform: translateX(-10vh);
        transition: all 1s;
    }
    
    .show {
        opacity: 1;
        transform: translateX(0);
    }
}