/* HTML base */
html {
    scroll-behavior: smooth;
}

/* Body base */
body {
    font-family: "Roboto Mono", monospace;
    background-color: #0C020C;
    padding-left: 300px;
    padding-right: 300px;
    padding-bottom: 100px;
}

.about-me h2 {
    color: #fff;
    padding-left: 120px;
    font-size: 30px;
}

.about-me p {
    color: #fff;
    padding-left: 120px;
    padding-bottom: 30px;
    line-height: 22px;
    padding-right: 120px;
    font-size: 15px;
}

/* Properly designing the header for its children */
header {
    background: #0C020C;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    position: static;
    border-radius: 20px;
    margin-bottom: 80px;
    gap: 0.1rem;
    width: 100%;
}

/* Main logo positioning and resizing (with div element) */
.logo-wrapper {
    text-align: left;
    padding-left: 120px;
    padding-top: 25px;
    margin-bottom: 1rem;
}

.logo-wrapper img {
    width: 40px;
    height: auto;
}

/* Designing project elements */
#projects {
    opacity: 0;
}

/* Projects fading in on scroll animation (see script.js) */
.fadeProjects {
    animation-name: fadeProjects;
    animation-duration: 2s;
    opacity: 1;
}

@keyframes fadeProjects {
    0% {
        opacity: 0;
        transform: translateY(30%);
    }
    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

/* Clickable icons positioning and resizing (with div element) */
.link-wrapper {
    display: flex;
    flex-direction: row;
    column-gap: 1.2rem;
    text-align: left;
    padding-left: 120px;
    padding-top: 20px;
    margin-bottom: 1rem;
}

.link-wrapper img {
    width: 38px;
    height: auto;
    transition: width 0.2s;
}

/* Hover animation clickable icons */
.link-wrapper img:hover {
    width: 41px;
    height: auto;
}

.link-wrapper p {
    color: #fff;
    text-align: right;
    padding-left: 245px;
    margin-top: 0.3rem;
    font-size: 17px;
    transition: font-size 0.2s;
}

.link-wrapper p:hover {
    font-size: 18px;
}

/* Desinging the h1 (for the header element) */
header h1 {
    color: #a68eb9;
    font-size: 80px;
    padding-top: 100px;
    padding-left: 120px;
    line-height: 1.2;
    margin: 0;
}

/* Desinging the p (for the header element) */
header p {
    color: #655672;
    font-size: 25px;
    padding-left: 120px;
    margin: 0.5rem 0 0;
}

.project-wrapper {
    background: #0C020C;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    position: static;
    padding-top: 100px;
    padding-left: 120px;
    
}

.project-wrapper h1 {
    color: white;
    font-size: 40px;
}

.project-wrapper p {
    color: white;
}

/* Designing the project list blocks */
.project-list {
    background-color: #0C020C;
    border-radius: 10px;
    border: #655672;
    border-style: dotted;
    padding-left: 20px;
    padding-bottom: 15px;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.project-list h1 {
    color: #a68eb9;
    font-size: 35px;
    margin-bottom: 0.2rem;
}

.project-list h2 {
    color: #655672;
    font-size: 22px;
}

.project-list p {
    color: #fff;
    font-size: 16px;
    padding-top: 10px;
}

/* Animating project icons */
.project-icons {
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
}

.project-icons img {
    width: 35px;
    height: auto;
    padding-top: 10px;
    transition: width 0.2s;
}

.project-icons img:hover {
    width: 38px;
    height: auto;
}

/* Phones */
@media only screen and (max-width: 480px) {
    body {
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 80px;
    }

    .about-me h2 {
        color: #fff;
        padding-left: 15px;
        font-size: 20px;
    }

    .about-me p {
        color: #fff;
        padding-left: 15px;
        padding-bottom: 30px;
        line-height: 15px;
        padding-right: 15px;
        font-size: 12px;
    }

    .logo-wrapper {
        text-align: left;
        padding-left: 15px;
        padding-top: 25px;
        margin-bottom: 1rem;
    }

    .logo-wrapper img {
        width: 35px;
        height: auto;
    }

    header h1 {
        color: #a68eb9;
        font-size: 40px;
        padding-top: 100px;
        padding-left: 15px;
        line-height: 1.2;
        margin: 0;
    }

    header p {
        color: #655672;
        font-size: 20px;
        padding-bottom: 10px;
        padding-left: 15px;
        margin: 0.5rem 0 0;
    }

    .link-wrapper {
        display: flex;
        flex-direction: row;
        column-gap: 1.2rem;
        text-align: left;
        padding-left: 15px;
        padding-top: 10px;
        margin-bottom: 1rem;
    }

    .link-wrapper p {
        color: #fff;
        text-align: right;
        padding-left: 12px;
        margin-top: 0rem;
        font-size: 17px;
        transition: font-size 0.2s;
        padding-right: 15px;
    }

    .link-wrapper img {
        width: 25px;
        height: auto;
        transition: width 0.2s;
    }

    .project-wrapper {
        background: #0C020C;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        position: static;
        padding-top: 100px;
        padding-left: 15px;
    }

    .project-wrapper h1 {
        color: white;
        font-size: 30px;
    }

    .project-wrapper p {
        color: white;
    }

    .project-list {
        background-color: #0C020C;
        border-radius: 10px;
        border: #655672;
        border-style: dotted;
        padding-left: 20px;
        padding-bottom: 15px;
        margin-bottom: 1rem;
        margin-top: 2rem;
    }

    .project-list h1 {
        color: #a68eb9;
        font-size: 23px;
        margin-bottom: 0.2rem;
        padding-right: 5px;
    }

    .project-list h2 {
        color: #655672;
        font-size: 15px;
        padding-right: 5px;
    }

    .project-list p {
        color: #fff;
        font-size: 12px;
        padding-top: 10px;
        padding-right: 5px;
    }

    .project-icons {
        display: flex;
        flex-direction: row;
        column-gap: 1rem;
    }

    .project-icons img {
        width: 25px;
        height: auto;
        padding-top: 10px;
        transition: width 0.2s;
    }

    .project-icons img:hover {
        width: 28px;
        height: auto;
    }
}