
:root {
    --primary-color: #3785ff;
    --secondary-color: #ff4d4d;
    --tertiary-color: #232323;
    --quaternary-color: #f5f5f5;
}


body {
    padding: 16px;
}

*:not(h1,h2,h3,h4,h5,h6) {
    font-family: Helvetica, sans-serif;
}

h1,h2,h3,h4,h5,h6 {
    font-family: Georgia, serif;
}
.georgia {
    font-family: Georgia, serif !important;
}


nav {
    height: 100px;
    margin: auto;
}

nav h1 {
    text-transform: uppercase;
    font-weight: bold;
}

.democratie-text, .justice-text {
    color: var(--primary-color);
}
.and-text {
    color: var(--secondary-color);
}
.name-text {
    font-size: 1.6em!important;
    margin-bottom: 32px !important;
    font-weight: bold;
}


#hero-section {
    margin-top: 16px;
    height: calc(90vh - 100px);
    background: url("../img/eu-flags.jpg") no-repeat 0 center fixed;
    background-size: cover;

    display: flex;
    justify-content: end;
    flex-direction: column;
    border-radius: 8px;

}

.hero-infos {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    color: var(--tertiary-color);
    padding: 36px 24px;
    margin: 16px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 8px;
    gap: 32px;
}

.hero-infos li {
    list-style-type: none;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--tertiary-color);
}

.hero-infos ul {
    padding-left: 0;
}

h2 {
    font-size: calc(1.9rem + .9vw);
}

.avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: url("../img/jerome.jpg") no-repeat top center;
    background-size: cover;
    aspect-ratio: 4/4;

    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}



section.text-content {
    display: flex;
    flex-direction: row;
    gap: 50px;
    padding: 32px 0;

    text-align: justify;

    font-size: 1.1em;
}


.parthenon-left {
    flex: 2;
    background: url("../img/parthenon-left.jpg") no-repeat 68% 100%;
    background-size: cover;
    border-radius: 8px;
}

.text h2 {
    text-align: left;
}

.text {
    flex: 8;
    display: flex;
    flex-direction: column;
}

.justice-img {
    border-radius: 8px;
    object-fit: cover;
    object-position: top center;
}

.article-img {
    width: 200px;
    border-radius: 8px;
    object-fit: cover;
}
.link-book {
    text-decoration: none;

    padding: 16px 32px;
    background: var(--primary-color);
    color: var(--quaternary-color);
    border-radius: 26px;
}

footer {
    height: 160px;
    border-radius: 8px;
    background-size: cover;
    position: relative;
}

footer .footer-slogan {
    text-align: center;
    margin-top: 120px;
    font-weight: bold;
}

.footer-slogan-item {
    text-transform: uppercase;
    text-align: center;
    background: var(--primary-color);
    color: var(--quaternary-color);
    border-radius: 8px;
    padding: 16px 60px;
    font-size: 1.2em;

    flex: 2;


    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Georgia, serif;
}
.footer-slogan-item:nth-child(2) {
    background: var(--secondary-color);
}




@media screen and (max-width: 768px) {
    .hero-infos {
        padding: 16px;
        margin: 8px;
    }
    .hero-infos li {
        font-size: 0.9em;
    }

    #hero-section {
        background: url("../img/eu-flags.jpg") no-repeat 20% center fixed;
    }

    .justice-img {
        max-height: 444px;
        object-position: 60% 60%;
    }

}
@media screen and (max-width: 991px) {

    .parthenon-mobile {
        display: block!important;
        border-radius: 8px;
        object-fit: cover;
        max-height: 333px;
        width: 100%;

    }
}

@media (min-width: 1200px) {
    .h2, h2 {
        font-size: 2.5rem!important;
    }
}