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

body {
    font-family: "Ubuntu", sans-serif;
    margin: 0;
    background-color: #001019;
    display: flex;
    flex-direction: column;;
    min-height: 100vh;
    font-size: 1.1rem;
    line-height: 1.8rem;
}

.s404-page {
    text-align: center;
}

h1.s404 {
    color: #b7cfdd;
}

.mbc.under-construction {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

img.under-construction {
    margin-top: 2rem;
}

a {
    text-decoration: none;
    color: white;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

input, textarea, button {
    border-radius: 0%;
    border-style: none;
    font-family: inherit;
}

button {
    cursor: pointer;
}

#cv-download {
    background-color: #00a500;
    color: #001019;
    font-size: 0.9rem;
    position: fixed;
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
    bottom: 0;
}

#cv-download:hover {
    background-color: #01cc01;
}

.mbc {
    display: flex;
    flex-direction: column;
    padding: 0 2.5rem;
    color: white;
    margin-bottom: 4rem;
}

.marker {
    width: 5rem;
    height: 0.8rem;
    background-color: #ff0059;
}

.resume-marker {
    width: 4rem;
    height: 0.5rem;
    margin: 0.4rem 0;
    background-color: #00a2ff;
}

h2 {
    color: #b7cfdd;
    margin: 0;
}

h3 {
    margin: 0;
}

h1 {
    font-size: 3rem;
    margin-top: 0rem;
    margin-bottom: 1rem;
    width: 100%;
    line-height: initial;
}

p {
    color: #b7cfdd;
    margin: 0;
}

.result {
    text-align: center;
    pointer-events: none;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(-20%);
    opacity: 0;
    width: 100%;
    box-sizing: border-box;
}

.error {
    background-color: #ffc6c6;
    color: #c80000;
    padding: 1rem 2rem;
    border: solid 0.1rem #c80000;
    animation: 0.5s ease-in-out 0s 1 normal forwards show-result;
}

.success {
    background-color: #8bdd8b;
    color: #007900;
    font-size: 1.2rem;
    font-weight: 300;
    padding: 0.7rem 0.5rem;
    margin-top: 0.5rem;
    border: solid 0.1rem #007900;
    animation: 0.5s ease-in-out 0s 1 normal forwards show-result;
}

@keyframes show-result {
    0% {
        transform: translateY(-20%);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

.profile {
    margin: auto;
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile img {
    width: 50%;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.name-title {
    width: 100%;
    text-align: center;
}

.page-summary {
    margin: 2rem 0;
}

.page-summary > a {
    color: #00a2ff;
}

.portfolio-links {
    display: flex;
    flex-direction: column;
}

.portfolio-links > a {
    margin: 0.5rem 0;
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-left-style: solid;
    border-width: 0.8rem;
    border-color: #00a2ff;
}

.portfolio-links > a:hover {
    background-color: #003e62;
}

.resume-section {
    margin: 2rem 0 0 0;
}

.resume-item {
    margin: 1rem 0;
}

.resume-item h3 {
    color: #b7cfdd;
}

.resume-item h5 {
    color: #8db1c5;
    margin: 0.4rem 0;
}

.resume-item ul {
    color: #b7cfdd;
    list-style-type: disc;
}

.resume-item ul > li {
    margin: 0.4rem 0 1rem 2rem;
}

.resume-item li > ul > li {
    list-style-type: circle;
    margin: 0.2rem 0 0.2rem 2rem;
}

.skill-logos {
    margin: 1rem;
    display: flex;
    flex-wrap: wrap;
}

.skill-logos img {
    height: 1.2rem;
    margin: 0.5rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.contact-methods > a {
    padding: 0.5rem;
    margin: 0.5rem 1rem;
}

.contact-methods img {
    width: 2rem;
    height: 2rem;
}

.contact-or-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
}

.contact-or-divider > div {
    width: 30%;
    height: 0.1rem;
    background-color: #b7cfdd;
}

.contact-or-divider > p {
    margin: 0 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form > h3 {
    color: #b7cfdd;
    text-align: center;
}

.contact-form input, textarea, button {
    width: 100%;
    padding: 0.7rem 0.5rem;
    margin: 0.5rem 0;
    box-sizing: border-box;
}

.contact-form input, textarea {
    font-size: 1.1rem;
    background-color: #012941;
    color: #b7cfdd;
}

.contact-form button {
    background-color: #008cdd;
    color: white;
    font-size: 1.2rem;
}

.flash-border {
    animation: 0.2s ease-in-out 0s 2 alternate flash-border;
    border: 0.15rem solid #c80000;
    border-radius: 0.3rem;
}

.spinning-loader {
    margin: 1rem auto;
    pointer-events: none;
    height: 3rem;
    width: 3rem;
    border: 0.2rem solid;
    border-radius: 50%;
    border-color: white transparent;
    animation: spinning-loader 1s ease infinite;
}

@keyframes flash-border {
    from {
        border: 0.15rem solid #c80000;
        border-radius: 0.3rem;
    }

    to {
        border: 0.15rem solid white;
        border-radius: 0.3rem;
    }
}

@keyframes spinning-loader {
    to {
        transform: rotate(360deg);
    }
}

.portfolio-summary {
    margin: 2rem 0;
}

.portfolio-tutorials {
    margin: auto;
    display: flex;
    flex-direction: column;
}

.portfolio-tutorials > a {
    background-color: #001d2f;
    text-align: center;
    margin: 0.5rem 0;
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;

}

.portfolio-tutorials > a:hover {
    background-color: #003e62;
}

/* TABLET */
@media screen and (min-width: 800px) {

    #cv-download {
        background-color: #00a500;
        color: #001019;
        padding: 1rem 3rem 1rem 1rem;
        border-radius: 1rem 0 0 1rem;
        bottom: 10%;
        right: 0;
        width: 5rem;
    }

    h1 {
        font-size: 3em;
    }

    .mnc, .mbc, .mfc {
        width: 80%;
        margin: 0 auto 0 auto;
    }

    .mbc {
        margin-bottom: 4rem;
    }

    .profile {
        flex-direction: row;
    }

    .profile img {
        width: 9rem;
        height: 9rem;
        margin: 0 3rem 0 0;
    }

    .portfolio-links {
        width: 50%;
    }

    .name-title {
        width: auto;
    }

    .skill-logos {
        justify-content: center;
    }

    .skill-logos img {
        height: 1.5rem;
        margin: 1rem;
    }

    .contact-methods {
        margin: 2rem auto 0 auto;
        width: 70%;
    }

    .contact-form {
        width: 80%;
        margin: auto;
    }
}

@media screen and (min-width: 1080px) {

    .mbc, .mnc, .mfc {
        max-width: 1080px;
    }

    img.under-construction {
        width: 70%;
    }

    .portfolio-links {
        margin: auto;
        flex-direction: row;
        flex-wrap: wrap;
        width: 80%;
        justify-content: center;
    }

    .portfolio-links > a {
        width: 12rem;
        height: 6rem;
        margin: 0.5rem;
        border-left-style: none;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 1rem;
        text-align: center;
        background-color: #001d2f;
    }

    .contact-form {
        width: 50%;
        margin: auto;
    }
}