html, body
{
    margin: 0;
    padding: 0;
    border: 0;
}

body
{
    font-family: 'RobotoDraft', arial, sans-serif;
    color: #666;
    font-size:16px;
    font-weight:300;
    line-height: 25.6px;
}

h1, h2, h3, h4
{
    margin: 0.4em 0;
    font-weight: 400;
}

h1
{
    color: #333;
    font-size : 30px;
    letter-spacing: 2px;
    line-height: 38px;
    text-transform: uppercase;
    margin-bottom : 0;
}

h2
{
    color: #4079BF;
    font-size : 24px;
    line-height: 30px;
    font-weight:300;
    letter-spacing: 2px;
}

h3
{
    margin-top: 1em;
    font-size : 14px;
}

h3 strong
{
    font-weight: bolder;
    color: #333;
    color: #305B90;
}

div.content
{
    padding: 50px 100px;
}

section.headline img
{
    border-radius: 10px;
    margin-left : 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 1px rgba(0,0,0,0.1);
    float: right;
}

section.description 
{
    border-top: 1px solid #e1e1e1;
    margin-top : 20px;
}

section.metrics
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 30px 0 20px;
}

section.metrics div
{
    padding: 16px 10px;
    background: #f4f7fb;
    border-radius: 8px;
    text-align: center;
}

section.metrics strong,
section.metrics span
{
    display: block;
}

section.metrics strong
{
    color: #305B90;
    font-size: 17px;
    font-weight: 500;
}

section.metrics span
{
    margin-top: 4px;
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
}

section.spotlight
{
    text-align: center;
}

section.spotlight a
{
    display: inline-block;
    padding: 10px 12px 8px 12px;
    margin: 10px;
    background-color: #4079BF;
    color: white;
    text-decoration:none;
    border-radius: 8px;
    box-shadow: 0 2px 1px rgba(0,0,0,0.1);
    text-size: 30px;
}

section.spotlight a:hover,
section.spotlight a:focus-visible
{
    background-color: #305B90;
}

@media (prefers-reduced-motion: no-preference)
{
    section.spotlight a
    {
        transition: transform 160ms ease-out, background-color 160ms ease-out;
    }

    section.spotlight a:focus-visible
    {
        transform: scale(1.04);
    }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference)
{
    section.spotlight a:hover
    {
        transform: scale(1.04);
    }
}

section.spotlight a svg
{
    fill: white;
    vertical-align: middle;
    height: 28px;
    padding-right: 5px;
    margin-top: -5px;
}

section.spotlight a svg.download-icon
{
    fill: none;
    width: 18px;
    height: 18px;
    margin-top: -2px;
}

section.skills h4,
section.experience h4
{
    margin: 25px 0 8px;
    font-size : 18px;
    color: #4079BF;
}

section.skills strong
{
    font-weight:500;
}

section.skills ul, section.skills li
{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

section.skills ul
{
    margin-bottom: 30px;
}

section.skills li
{
    display: inline-block;
    padding: 10px;
    padding-bottom: 8px;
    margin: 5px 8px 5px 0;
    background-color: #eee;
    border-radius: 8px;
    box-shadow: 0 2px 1px rgba(0,0,0,0.1);
    white-space: nowrap;
    font-size: 14px;
}

section.skills p strong
{
    font-weight:400;
}

section.experience
{
    margin-top: 35px;
    border-top: 1px solid #e1e1e1;
}

section.experience article
{
    margin-bottom: 24px;
}

section.experience article header
{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #333;
}

section.experience article header strong
{
    font-weight: 500;
}

section.experience article header span
{
    color: #777;
    font-size: 14px;
    white-space: nowrap;
}

section.experience article p,
section.experience p.earlier
{
    margin: 6px 0 0;
}

footer 
{
    background: #FCFCFC;
    border-top: 1px solid #e1e1e1;
    width: 100%;
}

footer div.contacts
{
    padding: 24px 100px 14px 100px;
}

footer h3
{
    font-weight: 500;
    margin: 0;
}

footer ul, footer li
{
    margin: 0;
    padding: 0;
    line-height: 21px;
    list-style-type: none;
}

footer li
{
    display: inline;
    margin-right: 5px;
    white-space: nowrap;
}

footer ul a 
{
    color: #666;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-decoration: none;
}

footer ul a:hover
{
    text-decoration: underline;
}

footer li svg
{
    fill: #666;
    height: 36px;
    width:30px;
    vertical-align: middle;
    padding-right: 5px;
    margin-top: -5px;
}

/*
    Responsive
*/

@media (max-width: 800px) 
{
    div.content
    {
        padding: 20px 30px;
    }

    section.metrics
    {
        grid-template-columns: repeat(2, 1fr);
    }

    footer div.contacts
    {
        padding: 24px 30px 14px 30px;
    }

    section.headline img
    {
        width: 100px;
    }

}

@media (max-width: 450px) 
{
    section.metrics
    {
        grid-template-columns: 1fr;
    }

    section.skills li
    {
        display: block;
        margin: 8px 0;
        white-space: normal;
    }

    section.experience article header
    {
        display: block;
    }

    section.experience article header span
    {
        display: block;
    }

    footer 
    {
        text-align: center;
    }
}

@media (max-width: 350px) 
{
    div.content
    {
        padding: 20px 20px;
    }

    footer div.contacts
    {
        padding: 24px 20px 14px 20px;
    }

    section.headline img
    {
        float: none;
        margin: 0;
    }
}
