@font-face {
    font-family: 'Gelasio';
    src: url('fonts/Gelasio-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gelasio';
    src: url('fonts/Gelasio-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    --content-width: 960px;
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-family: 'Gelasio', serif;
    color: #272727;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: underline;
}

a:is(:hover, :focus-visible){
    color: #084E99;
}

.site-wrapper{
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 100dvh;
}

.top{
    background-image: url('img/flag.svg');
    background-size: cover;
    background-position: center center;
    display: grid;
    place-items: center;
    padding: 40px 24px;

    & img{
        aspect-ratio: 1059/540;
        object-fit: cover;
        border-radius: 1rem;
        border: 5px solid white;
        width: 100%;
        max-width: var(--content-width);
    }
}

.bottom{
    padding: 40px 24px;
    box-shadow: 0px 0px 40px #00000050;
}

.content-grid{
    width: 100%;
    max-width: var(--content-width);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 2fr;;
    gap: 2rem;
    font-size: 1.125rem;
}

.content-grid__content-wrapper{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.content-grid__image-wrapper img{
    object-fit: contain;
    object-position: top center;
}

.em-text{
    font-weight: bold;
    font-style: italic;
    color: #084E99;
}

.contact-details{
    display: flex;
    column-gap: 4rem;
    row-gap: .5rem;
    font-size: .875rem;
    margin-top: 2rem;
    flex-wrap: wrap;

    & a{
        transition: color .25s ease-in;
    }
}


@media (max-width: 744px){
    .content-grid{
        grid-template-columns: 1fr;
        font-size: 1rem;
    }

    .content-grid__image-wrapper{
        display: flex;
        justify-content: center;
    }
}
