* {
    box-sizing: border-box;
}
html {
    font-size: 62.5%;
    font-family: 'JetBrains Mono', 'Roboto', 'Trebuchet MS', Verdana, Arial,
        Sans-Serif;
}
body {
    font-size: 16px;
    color: #dfdfdf;
    background: #252525;
    line-height: 1.4;
    margin: 1.4rem;
}

#logo-container {
    display: flex;
    flex-direction: row;
    justify-content: center; /* horizontal alignment of content */
}

#logo {
    font-size: 3.8rem;
    color: rgb(255, 204, 19);
    font-weight: 600;
}

#contact {
    display: flex;
    row-gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 1.4rem;
    align-items: center; /* aligns items along cross axis, row or column */
    align-content: center; /* aligns multiple lines/content in the container */
}

#contact div {
    margin: 0 1rem;
}

a,
a:visited {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    outline: 0;
    text-decoration: none;
    border-bottom: 2px dotted #ffcc13 !important;
    color: #ffcc13;
    font-weight: 600;
    cursor: pointer;
    padding-bottom: 1px !important;
}
a:hover,
a:focus {
    text-decoration: none;
    border-bottom: 2px solid #ffaf15 !important;
    padding-bottom: 1px !important;
    color: #ffaf15;
}

h1 {
    font-size: 1.4rem;
    background: #333;
    text-align: center;
    font-weight: 700;
    color: #ffe139;
    border-radius: 25px;
}

p,
ul,
.company-history span {
    font-size: 1.2rem;
}

.company-history span {
    display: grid;
    font-weight: 700;
}

.company-history {
    display: grid;
    grid-template-columns: 2fr 1fr;
}

.company,
.company-date {
    display: grid;
    color: rgb(255, 237, 130);
}

.company-date span {
    justify-items: right;
}

footer {
    text-align: center;
    font-size: 1rem;
}

ul {
    padding-inline-start: 3rem;
}

#tech-skills ul,
#soft-skills ul {
    padding-inline-start: 1.2rem;
}
.skill {
    font-weight: 700;
}

@media screen and (min-width: 768px) {
    #logo {
        font-size: 8rem;
    }
    #contact {
        font-size: 2.2rem;
    }
    h1 {
        font-size: 2.6rem;
    }
    p,
    ul,
    .company-history span {
        font-size: 2rem;
    }
    footer {
        font-size: 1.2rem;
    }
    ul {
        padding-inline-start: 4rem;
    }
    #tech-skills ul,
    #soft-skills ul {
        padding-inline-start: 1.4rem;
    }
}

@media screen and (min-width: 1024px) {
    #logo {
        font-size: 11rem;
    }
    #contact {
        font-size: 2.6rem;
    }
    h1 {
        font-size: 3rem;
    }
    p,
    ul,
    .company-history span {
        font-size: 2.4rem;
    }
    footer {
        font-size: 1.4rem;
    }
    ul {
        padding-inline-start: 5rem;
    }
    #tech-skills ul,
    #soft-skills ul {
        padding-inline-start: 1.6rem;
    }
}
