@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

*{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    background-color: rgb(43, 43, 43);
    color: white;
    font-family: "Roboto Mono", monospace;
    max-width: 100%;
    overflow-x: hidden;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: inherit;
    z-index: 1;
    box-shadow: 0 0 1ch rgba(0, 0, 0, 0.5);
}

header button{
    margin: 1ch;
    color: aqua;
    font-family: "Roboto Mono", monospace;
    font-weight: 200;
    background-color: transparent;
    border: none;
}

header button:hover{
    cursor: pointer;
    color: white;
}

section{
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* section start */
#section-start > div:first-child{
    display: flex;
    align-items: center;
}

#section-start > div:first-child > img{
    width: 15ch;
    aspect-ratio: 1/1 !important;
    object-fit: cover;
    object-position: center;
    margin-right: 4ch;
    border-radius: 100vw;
    display: none;
}

#section-start h1, #section-start h2, #section-start h3{
    margin: 10px 0;
    font-weight: 400;
}

#section-start h1{
    color: aqua;
}

#section-start > div:last-child {
    display: flex;
    align-items: center;
    margin-top: 30px;
    /*1fr 1fr 1fr 1fr 1fr 1fr*/
}

#section-start > div:last-child img{
    max-width: 25px;
    max-height: 25px;
    filter: invert(1) grayscale(1);
    margin: 0 5px;
    opacity: 0.5;
}

/* section about */
#section-about h2{
    font-weight: 400;
    color: aqua;
    margin: 0;
}

#section-about > p{
    width: 720px;
    max-width: 90vw;
}

.about-skills{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 90vw;
}

.about-skills h3{
    font-weight: 200;
    color: aqua;
    max-width: calc(100% - 2ch);
}

.about-skills p{
    display: flex;
    align-items: center;
    width: fit-content;
    margin: 5px 0;
    font-weight: 200;
    font-size: 1.5ch;
}

.about-skills p > img{
    max-width: 2ch;
    max-height: 2ch;
    margin-right: 2ch;
    filter: invert(1);
}

.about-curriculum{
    margin-top: 4dvh;
    font-size: 1.5ch;
    padding: 1ch 4ch;
    background-color: rgb(79, 79, 79);
    border-radius: 100vw;
    cursor: pointer;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-curriculum:hover{
    cursor: pointer;
    text-decoration: underline;
}

.about-curriculum > img{
    max-width: 20px;
    max-height: 20px;
    margin-right: 1ch;
    filter: invert(1);
}

/* section projects */
#section-projects h2{
    font-weight: 400;
    color: aqua;
    margin: 0;
}

#projects-list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    margin-top: 3dvh;
    width: calc(100% - 40px);
    max-width: 1080px;
}

.project-template{
    display: flex;
    align-items: center;
    width: calc(100% - 5px);
    height: 12ch;
    padding-right: 5px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    background-color: rgb(79, 79, 79);
    overflow: hidden;
}

.project-template:hover{
    cursor: pointer;
    scale: 1.01;
}

.project-template > img{
    height: inherit !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover;
    object-position: center;
    object-position: center;
    background-color: black;
    margin-right: 10px;
    border-radius: 5px;
}

.project-template > div b{
    color: aqua;
    font-weight: 400;
    font-size: 1.5ch;
}

.project-template > div p{
    font-size: 1.25ch;
    margin: 0.5ch 0;
    font-weight: 200;
}

.project-template > div > div{
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 5px;
}

.project-template > div > div img{
    max-width: 15px;
    max-height: 15px;
    margin-right: 10px;
    filter: invert(1);
    opacity: 0.5;
}

/* section contact */
#section-contact h2{
    font-weight: 400;
    color: aqua;
    margin-top: 0;
}

#section-contact a{
    display: flex;
    align-items: center;
    margin-top: 1ch;
    color: white;
    text-decoration: none;
}

#section-contact a:hover{
    text-decoration: underline;
}

#section-contact a img{
    max-width: 3ch;
    max-height: 3ch;
    margin-right: 1ch;
    filter: invert(1);
}