@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

* {
    padding: 0px;
    margin: 0px;
}

body {
    background-color: #212121;
    color: white;
    font-size: 0.9rem;
}

nav {
    text-align: center;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    text-transform: uppercase;
}

p, li {
    font-family: 'Roboto', sans-serif;
}

a {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 1.5rem;
    color: white;
    font-family: 'Roboto', sans-serif;
}

a:visited, a:link {
    text-decoration: none;
}

a:hover, a:active {
    color: white;
}

h1, h2, h3, h4 {
    padding-top: 20px;
    letter-spacing: 1.6px;
    margin-bottom: 15px;
}

p {
    letter-spacing: 0.4px;
    margin-bottom: 13px;
    line-height: 1.5;
}

li {
    line-height: 1.5;
    margin-left: 40px;
}

h1, h2 {
    text-align: left;
    font-family: 'Roboto', sans-serif;
}

h2 {
    padding: 0px 2.5px;
}

h3 {
    font-family: 'Roboto', sans-serif;
}

hr {
    margin: 15px;
}

img {
    display: block;
    width: 100px;
}

footer {
    text-align: center;
}

header {
    background-image: url("../img/cover1.jpeg");
    background-size: cover;
    background-repeat: no-repeat;
}

li {
    margin-left: 15px;
}

#logo {
    margin: auto;
    height: 120px
}

#info {
    padding-bottom: 15px;
    margin-bottom: 15px;
}

#educationContainer {
    display: flex;
    gap: 15px;
}

#educationCard {
    display: flex;
    flex: 1 1 30%;
    box-sizing: border-box;
    padding: 25px;
    margin-bottom: 5px;
    background-color: #212121;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

#textInfo {
    width: 65%;
    margin-left: auto;
    margin-right: auto;
}

#desc {
    font-size: 0.9rem;
}

#card {
    width: 65%;
    padding: 25px 20px 25px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    background-color: #424242;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#cardProject {
    padding: 25px 20px 20px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    background-color: #424242;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#projectCard {
    flex: 1 1 30%;
    box-sizing: border-box;
    padding: 25px;
    margin-bottom: 5px;
    background-color: #212121;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

#flair {
    background: #ffffff;
    font-size: 0.8rem;
    padding: 6px 10px;
    border-radius: 50px;
    color: black;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

#projectCard:hover, #projectCardHome:hover, #experienceCard:hover, #educationCard:hover {
    scale: 1.02;
    transition: 0.25s;
}

#rect1 {
    background: black;
    width: 100%;
    height: 120px;
    display: flex;
    flex-direction: column;
}

#rectCover {
    scale: 1.6;
    margin: auto
}

#rect2 {
    background-image: url('../img/widgy.jpeg');
    width: 100%;
    height: 120px;
}

#projectCardHome {
    padding: 25px;
    flex: 1 1 30%;
    box-sizing: border-box;
    background-color: #424242;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

#experienceCard {
    flex: 1 1 45%;
    box-sizing: border-box;
    padding: 0px 0px 25px;
    background-color: #212121;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#experienceInfo {
    padding: 25px;
}

#headerContainer {
    display: flex;
    padding: 0px 15px;
    align-items: center;
    background-color: black;
    height: 40px;
}

#links {
    margin-left: auto;
    font-weight: 600;
}

#contactLinks {
    display: inline-flex;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

#pageName {
    margin-top: 15px;
    letter-spacing: 0.8px;
}

#pageNameButton {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
}

#navButton {
    padding-bottom: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.8px;
}

#navButton:hover, #navButton:active {
    border-bottom: 3px solid;
}

#navButtonSpecial {
    font-size: 0.8rem;
    margin-left: 20px;
    padding: 8px 12px;
    font-weight: 500;
    letter-spacing: 0.8px;
    background: #2A3AEF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#navButtonSpecial:hover, #navButtonSpecial:active {
    background: #5862d5;
    transition: 0.25s;
}

#socialButton {
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-right: 15px;
    padding: 7px;
    background: white;
    letter-spacing: 0.8px;
    color: black;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

#socialButton:hover, #socialButton:active {
    background: #b2b5c1;
    transition: 0.25s;
}

#profile {
    margin-right: 100%;
    margin-left: 0%;
    padding: 25px 0px;
    width: 150px;
    height: 150px;
    border-radius: 100%;
}

#project {
    font-size: 3rem;
    padding-top: 25px;
    padding-bottom: 15px;
    text-align: center;
}

#info {
    display: flex;
    gap: 5px;
    text-align: left;
    background-color: #0000005e;
}

#name {
    font-size: 3rem;
    padding-bottom: 10px;
}

#projectCardContainer {
    display: flex;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: left;
}

#projectContainer {
    display: flex;
    gap: 15px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px;
    flex-wrap: wrap;
    flex-basis: auto;
    justify-content: center;
}

#experienceContainer {
    display: flex;
    gap: 15px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px;
    flex-wrap: wrap;
    flex-basis: auto;
    justify-content: center;
}

#experienceHeading {
    padding-top: 0px;
}

#mainPageContainer {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#skills {
    text-align: center;
}

#skillsContainer {
    text-align: center;
}

@media screen and (max-width: 300px) {
    html {
        font-size: 80%;
    }
    #pageName {
        text-align: center;
    }
    #headerContainer {
        display: block;
        justify-content: left;
        margin-left: 0px;
        padding: 0px 0px;
        background: black !important;
    }

    #navButtonSpecial {
        display: block;
        margin-left: 0px;
        margin-top: 15px;
    }

    #navButton {
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    #contactLinks {
        display: block !important;
    }
    
    #info {
        margin-top: 75px;
    }
    #textInfo {
        padding-top: 0px;
        width: 90%;
    }

    #navButtonSpecial {
        margin: 15px 20% 0;
    }
    
    nav {
        padding-bottom: 15px !important;
    }
}

@media screen and (max-width: 350px) {
    #contactLinks {
        display: block !important;
    }

    .material-icons {
        font-size: 0.5rem !important;
    }

    #socialButtonLayout {
        margin-top: 20px;
    }
}

@media screen and (max-width: 500px) {
    #headerContainer {
        display: block;
        justify-content: center;
        margin-left: 0px;
        padding: 0px 0px;
        background: black
    }

    nav {
        background: black;
        padding-bottom: 15px !important;
    }

    #project {
        margin-top: 40px;
    }

    #links {
        padding: 0px;
        background: black;
    }

    #pageName {
        margin-top: 0px;
        text-align: center;
    }

    #textInfo {
        width: 90%;
        margin-top: 50px;
    }

    #socialButtonLayout {
        margin-top: 20px;
    }

    #logo {
        margin-left: 0px;
    }
}

@media screen and (max-width: 700px) {
    #headerContainer {
        justify-content: left;
        margin-left: 0px;
        padding: 0px 0px;
    }

    #navText {
        display: none
    }

    #navButton {
        padding-bottom: 5px;
    }

    .material-icons {
        font-size: 1rem !important;
        padding: 0px !important
    }

    #socialButton .material-icons {
        font-size: 10px !important;
        padding-right: 5px !important;
    }

    #textInfo {
        width: 90%;
    }

    #card {
        width: 85%;
    }

    #mainPageContainer {
        width: 92.5%
    }

    #educationContainer {
        display: block;
    }

    #educationCard {
        display: block;
        margin-right: 0px;
        margin-top: 20px;
    }

    #logo {
        margin: 0;
        width: auto;
    }

    #projectContainer, #projectCardContainer{
        display: block;
    }

    #projectCard, #projectCardHome {
        display: block;
        margin-top: 25px;
    }

    #experienceContainer {
        display: block;
    }

    #experienceCard {
        margin-top: 20px;
    }
}

@media screen and (min-width: 700px) and (max-width: 819px) {
    #textInfo, #card {
        width: 90%;
    }

    #linkText, #pageName {
        text-align: center;
    }

    #educationContainer {
        display: block;
    }

    #educationCard {
        margin-top: 20px;
    }

    #mainPageContainer {
        width: 95%
    }

    #projectCard {
        display: flex;
        padding: 7px 7px 15px;
        margin-bottom: 20px;
    }

    img, #projectContainer, #projectCardContainer {
        display: block;
    }

    #cardProject {
        padding: 30px 20px 10px;
    }

    #projectCardHome {
        display: flex;
        margin-top: 25px;
    }

    #experienceContainer {
        display: block;
        padding-bottom: 10px;
    }

    #experienceCard {
        margin-top: 25px;
    }

    #logo {
        margin: 20px;
        width: auto;
    }

    #projectLogo {
        margin: 20px;
        width: 70px;
        height: 70px;
    }
}

@media screen and (min-width: 820px) and (max-width: 1100px) {
    img {
        display: block;
    }

    #textInfo, #card {
        width: 90%;
    }

    #mainPageContainer {
        width: 93%;
    }

    #projectCard, #projectCardHome {
        flex: 1 1 45%;
        box-sizing: border-box;
    }

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

@media screen and (min-width: 1100px) and (max-width: 1200px) {
    img {
        display: block;
    }

    #card, #textInfo, #cardProject {
        width: 80%;
    }

    #projectCard, #projectCardHome {
        width: 44%
    }

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

@media screen and (min-width: 1200px) and (max-width: 1700px) {
    img {
        display: block;
    }

    #mainPageContainer, #card, #cardProject, #textInfo {
        width: 75%;
    }

    #projectCard, #projectCardHome {
        width: 44%
    }

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