@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600&display=swap');

:root {
    --c-blue: #00d8ff;
    --c-pink: #ff00f8;
    
    --c-toggler: #fad25a;
}

.darkmode {
    --c-blue: #1b1b1b;
    --c-pink: #000000;
}
.darkmode .button:hover,
.darkmode .button:focus {
    border: var(--hover) 2px solid;
    color: white;
    background-color: var(--hover);
}
.darkmode .tl:hover, .darkmode .tl:hover p,
.darkmode .tl:focus, .darkmode .tl:focus p {
    color: black;
}
.darkmode .toggler {
    background-image: linear-gradient(to top right, #00d8ff, #ff00f8);
    color: white;
}
.darkmode .toggler .fa-moon {
    display: none;
}
.darkmode .toggler .fa-sun {
    display: block;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;    
}

body {
    min-height: calc(100vh - 1em);
    background: var(--c-pink);
    background-image: linear-gradient(to top right, var(--c-blue), var(--c-pink));
    
    color: white;
    font-family: "IBM Plex Sans", sans-serif;
    
    position: relative;
}

.main {
    margin: 1em auto;
    width: min(30em, 90vw);
}

.aboutMe {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 0.25rem;
    
    text-align: center;
    
    margin-bottom: 1.5em;
}
h1 {
    font-size: 1.75em;
}
.photo {
    background-image: url(./img/oa-web-new.jpeg);
    background-size: cover;
    
    aspect-ratio: 1;
    height: min(8.5em, 30vh);
    
    border: 2px white solid;
    border-radius: 50%;
    
    margin-bottom: 0.25em;
}

.section {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    gap: 10px;

    height: 3em;
    margin: 0.5em 0;
}
.section:first-child {
    margin: 0 0 0.5em 0;
}
.section:last-child {
    margin: 0.5em 0 0 0;
}

.button {
    border: 2px white solid;
    border-radius: 5px;

    flex: 1 1 0;
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;

    color: inherit;
    text-decoration: none;
    
    cursor: pointer;
    
    transition: 150ms ease-in-out;
}
.button:hover, .button:focus > p {
    color: white;
}
.button:hover, .button:focus {
    outline: none;
    color: var(--hover);
    background: black;
    border-color: black;
}
.button > p {
    margin-left: 0.25em;
}

.toggler {
    aspect-ratio: 1 / 1;
    width: 3rem;
    border-radius: 50%;
    
    font-size: 1.5em;
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    position: fixed;
    bottom: 1em;
    right: 1em;
    
    background-color: black;
    color: var(--c-toggler);
    opacity: 0.8;
    cursor: pointer;
    
    transition: 150ms ease-in-out;
}
.toggler:hover {
    opacity: 1;
}
.toggler .fa-moon {
    display: block;
}
.toggler .fa-sun {
    display: none;
}

.job-wrapper {
    height: 3rem;
    width: 100%;

    border-radius: 1.5rem;

    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(0.5rem);

    padding: 0.25rem 0.25rem;

    font-size: 0.85rem;

    /* position: fixed;
    bottom: 4rem;
    right: 0;
    left: 0;
    margin: 0 auto; */

    display: flex;
    align-items: center;
    gap: 0.5rem;

    margin-top: 1rem;
}

.job-wrapper .star {
    height: 100%;
    max-height: 100%;
    aspect-ratio: 1/1;

    font-size: 1.25rem;
    
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
}

.job-wrapper .text {
    color: #1b1b1b;
    margin-right: 0.25rem;
}

.job-wrapper .text a {
    color: #1b1b1b;
    transition: 125ms ease-in-out;
}
.job-wrapper .text a:hover,
.job-wrapper .text a:focus-visible {
    color: #afa301;
}