@import url('https://fonts.googleapis.com/css2?family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');

* {
    box-sizing: border-box;
}

body {
    background-color: #141415;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    font-family: "Zain", sans-serif;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-weight: 800;
    font-size: 2.4rem;
    color: white;
}

.h1-icon {
    height: 0.9em;
    vertical-align: middle;
    border-radius: 50%;
    margin-top: -5px;
}

h2 {
    margin-top: -7px;
    margin-bottom: 2px;
    font-size: 1.6rem;
    font-weight: 400;
    color: darkgrey;
}

a {
    display: inline-block;
    margin-top: -20px;
    font-size: 1.2rem;
    font-weight: 300;
    margin-right: 20px;
    color: grey;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h3 {
    margin-top: -10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
}

.job {
    border-bottom: 1px solid #292929;
    padding-top: 20px;
    margin-bottom: 30px;
}

.job:last-child {
    border-bottom: 0px solid #292929;
    display: flex;
    flex-direction: column;
}

.date {
    margin-top: -10px;
    font-size: 1rem;
    font-weight: 300;
    color: grey;
}

.job-desc {
    text-align: justify;
    margin-top: 0px;
    font-size: 1rem;
    font-weight: 300;
    color: grey;
}

.proj-desc {
    text-align: justify;
    margin-top: 0px;
    font-size: 1rem;
    font-weight: 300;
    color: grey;
}

.job-upper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.job-title {
    margin-top: -13px;
    font-size: 1.2rem;
    font-weight: 400;
    color: lightgrey;
}

.separate {
    margin: 20px 0;
    padding: 20px 0;
}

.content-section {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.content-section.hidden {
  opacity: 0;
  pointer-events: none;
  left: 0; top: 0; width: 100%;
}

.links {
    margin-top: -10px;
    font-weight: 300;
    color: grey;
}

.links i {
    margin-top: -10px;
    font-size: 0.8rem;
}

.links i:hover {
    color: #fb1046;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
        flex-wrap: wrap;
    }

    h2 {
        font-size: 1.3rem;
    }

    a {
        font-size: 1rem;
        margin-right: 10px;
    }

    .job-title {
        font-size: 1.1rem;
    }

    .job-desc {
        font-size: 0.95rem;
    }
}
