* {
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
    transition: all .2s linear;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    padding-left: 25rem;
    /* background-image: url('../img/prbg.jpg'); */
    background-repeat: no-repeat;
    background-size: cover;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 100%;
    width: 25rem;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    text-align: center;
    border-right: 5px solid #001a49;
}

header .user img {
    height: 40vh;
    margin-bottom: 1rem;
    border: 3px solid #001a49;
}

header .user .name {
    font-size: 30px;
    color: #001a49;
}

.post {
    font-size: 25px;
    margin-top: 10px;
    font-weight: bold;
    color: #000000;
}

header .navbar {
    width: 100%;
}

header .navbar ul {
    list-style: none;
    padding: 1rem 7rem;
}

header .navbar ul li a {
    display: block;
    padding: 1rem;
    margin: 1.5vh 0;
    background: #001a49;
    color: #ffffff;
    font-size: 15px;
    border-radius: 5rem;
}

#menu {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: #001a49;
    color: #ffffff;
    cursor: pointer;
    font-size: 15px;
    padding: 0.5rem 0.5rem;
    z-index: 1000;
    display: none;
}

.title {
    text-align: center;
    margin-top: -20px;
    margin-bottom: 60px;
    color: #001a49;
    display: none;
}

.about {
    text-align: justify;
    margin: 50px;
}

.education {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    grid-gap: 1.2rem;
}

.education__info1 {
    background-image: url('../img/Andrea.jpg');
    background-size: cover;
    background-position: center;
    display: none;
    height: 90vh;
    box-shadow: 0px 0px 55px 5px rgba(0, 0, 0, 0.521);
    border-radius: 10px;
}

.education__info {
    background-color: #fafafa;
    box-shadow: 1px 5px 55px 1px #001a495d;
    border-radius: 10px;
}

.education__title {
    padding: 30px;
    font-size: 25px;
    text-align: center;
    color: #001a49;
}

.education__paragraph {
    font-size: 16px;
    padding: 40px;
    text-align: justify;
    margin-top: -50px;
    line-height: 25px;
}

span {
    color: #001a49;
    font-weight: 500;
}

@media(max-width:991px) {
    header {
        left: -120%;
    }
    body {
        background-color: #ffffff;
    }
    #menu {
        display: fixed;
    }
    header.toggle {
        left: 0%;
    }
    .title {
        display: flex;
    }
    .about {
        margin-left: -23rem;
    }
    .education__info1 {
        display: flex;
    }
}

@media(max-width:400px) {
    header {
        width: 100vw;
    }
}