@font-face {
    font-family: 'Jura';
    src: url('./fonts/Jura-VariableFont_wght.ttf');
}

@font-face {
    font-family: 'RussoOne';
    src: url('./fonts/RussoOne-Regular.ttf');
}

@font-face {
    font-family: 'OpenSans-Regular';
    src: url('./fonts/OpenSans/OpenSans-Regular.ttf');
}

@font-face {
    font-family: 'OpenSans-Bold';
    src: url('./fonts/OpenSans/OpenSans-Bold.ttf');
    font-weight: normal;
    font-style: normal;
}

:root {
    --base-fonts: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-colour: #2e2e2e;
    --background: #d8dce2;
    --primary-font-family: 'RussoOne', var(--base-fonts);
    --secondary-font-family: 'Jura', var(--base-fonts);
    --alternate-font-family: 'Open Sans-Regular', var(--base-fonts);
}

body {
    font-family: var(--alternate-font-family);
    color: var(--font-colour);
    background: var(--background);
    margin: 0;
    font-size: 1.2rem;
}

a {
    color: black;
    font-family: 'OpenSans-Regular', var(--base-fonts);
    text-decoration: none;
}

.header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1em;
    text-align: right;
}

.header h3 {
    margin: 0 0 0.15em 0;
}

@media (max-width: 800px) {
    .header {
        display: initial;
        text-align: center;
    }

    .header > div:first-child {
        margin-bottom: 2em;
    }

    .header img {
        width: 80vw;
    }
}

.main {
    display: flex;
    justify-content: center;
    margin-top: 1em;
    margin-bottom: 5em;
    text-align: center;
}

.main > div {
    width: 65vw;
}

@media (max-width: 1280px) {
    .main {
        margin-bottom: 2em;
    }

    .main > div {
        width: 95vw;
    }
}

@keyframes slide-in {
    0% {
        transform: translateY(20px) scaleY(1.5) scaleX(1.5);
        transform-origin: 50% 100%;
        opacity: 0;
    }
    100% {
        transform: translateY(0) scaleY(1) scaleX(1);
        transform-origin: 50% 50%;
        opacity: 1;
    }
}

.profile {
    display: flex;
    align-items: center;
    gap: 2em;
    text-align: left;
    line-height: 1.4em;
    animation: slide-in 1.5s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
}

.profile img {
    border-radius: 50%;
    height: 350px;
}

.profile h1 {
    font-size: 2.5em;
    font-family: var(--primary-font-family);
}

.profile ul {
    padding-left: 1em;
}

@media (max-width: 800px) {
    .profile {
        display: initial;
        text-align: center;
    }

    .profile img {
        height: 200px;
    }

    .profile p {
        padding: 1em;
        text-align: left;
    }

    .profile ul {
        margin-left: 1em;
        margin-bottom: 5em;
        text-align: left;
    }
}

.benefits {
    display: flex;
    justify-content: space-between;
    gap: 0.5em;
    margin-top: 3em;
}

@keyframes zoom-in {
    0% {
        transform: scale(0, 0);
    }
    100% {
        transform: scale(1, 1);
    }
}

.benefits > div {
    animation: zoom-in 1s ease;
}

.benefits img {
    height: 3em;
}

.benefits h4 {
    font-size: 0.9em;
    margin: 0.5em 0 0.25em 0;
}

.benefits p {
    margin: 0 0 0.25em 0;
    font-size: 0.9em;
}

@media (max-width: 800px) {
    .benefits {
        display: initial;
    }

    .benefits > div {
        margin-bottom: 2em;
    }

    .benefits p {
        padding-left: 0.5em;
        padding-right: 0.5em;
    }
}

.contact {
    margin-bottom: 2em;
}

.contact > div:first-child {
    text-align: center;
    margin-bottom: 2em;
    font-size: 1.1em;
}

.contact > div:nth-child(2) {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 2em;
    text-align: left;
}

.contact > div:last-child {
    text-align: center
}

.contact > div > div {
    margin-bottom: 1em;
}

.contact img {
    margin-right: 0.5em;
}

.contact img.linkedin {
    height: 40px;
    filter:  brightness(0);
}

@media (max-width: 1280px) {
    .contact {
        font-size: 0.8em;
    }
}
@media (max-width: 800px) {
    .contact {
        padding: 1em;
        /*font-size: 0.8em;*/
    }

    .contact > div:nth-child(2) {
        display: initial;
    }
}



