/* General */
html,
body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    line-height: 130%;
}
body {
    background: var(--color-midnight-violet);
    color: var(--color-light-haze);
}
a {
    color: var(--color-light-haze);
    text-decoration: none;
    transition: color .35s ease-in-out;
}
a:hover {
    color: var(--color-twilight-blue);
}

/* Typography */
@font-face {
    font-family: 'Roobert Medium';
    src: url('../../fonts/roobert-medium.woff2') format('woff2'),
         url('../../fonts/roobert-medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Colors */
:root {
    --color-light-haze: #FDF9F4;
    --color-midnight-violet: #231C31;
    --color-twilight-blue: #5B5983;
    --color-light-copper: #EEC396;
    --color-sunbeam-yellow: #FFE0B0;
}

/* Titles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roobert Medium', 'DM Sans', sans-serif;
    font-weight: normal;
}
:root {
    --font-h1: 32px;
    --font-h2: 24px;
    --font-h3: 20px;
    --font-h4: 18px;
    --font-h5: 16px;
    --font-h6: 14px;
}
h1 { font-size: var(--font-h1); }
h2 { font-size: var(--font-h2); }
h3 { font-size: var(--font-h3); }
h4 { font-size: var(--font-h4); }
h5 { font-size: var(--font-h5); }
h6 { font-size: var(--font-h6); }

/* Header */
header {
    padding: 60px 0 0 0;
    text-align: center;
}
header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 100px;
    margin: 0 auto;
    box-shadow: 0 0 35px var(--color-twilight-blue);
}
header .logo .logo-img {
    max-width: 33px;
}
header p {
    margin: 10px 0;
    font-size: 16px;
}

/* Main */
main {
    max-width: 680px;
    display: block;
    margin: 0 auto;
    padding: 0 25px;
}

/* Buttons */
.buttons {
    margin: 60px 0 40px;
}
.button {
    position: relative;
    display: block;
    border: 1px solid var(--color-twilight-blue);
    border-radius: 5px;
    margin: 0 0 10px;
    padding: 18px 22px;
    overflow: hidden;
}
.button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-twilight-blue);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    z-index: 0;
}
.button:hover {
    text-decoration: none;
    color: var(--color-light-haze);
}
.button:hover::before {
    transform: translateX(0);
}
.button-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    vertical-align: middle;
}
.button-content::before {
    content: "";
    width: 19px;
    height: 19px;
    background-image: url('../../files/icons/light/icon-link.svg');
    margin-right: 13px;
}
.button-title {
    display: inline-block;
    margin: 0;
    font-size: 15px;
}

/* News */
.news-items {
    margin: 0 0 60px;
}
.news-items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 20px;
}
.news-items h2 {
    margin: 0;
}
.news-view-all-link {
    text-decoration: underline;
}
.news-block {
    display: block;
    margin-bottom: 15px;
}
.news-content {
    display: grid;
    grid-template-columns: auto 1fr; /* Afbeelding links, tekst neemt resterende ruimte */
    column-gap: 15px; /* Afstand tussen afbeelding en titel */
    align-items: center; /* Verticale uitlijning */
}
.news-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    grid-column: 1; /* Zorgt ervoor dat de afbeelding in de eerste kolom staat */
}
.news-title {
    margin: 0;
    text-align: left;
    font-size: 15px;
    grid-column: 2; /* Zorgt ervoor dat de titel in de tweede kolom staat */
}

/* Footer */
footer {
    padding: 0 0 60px;
    text-align: center;
}
.social-icon {
    display: inline-block;
    width: 48px;
    height: 38px;
    border: 1px solid var(--color-light-haze);
    border-radius: 50px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px;
    margin: 0 5px;
    transition: background-color 0.3s ease;
}
.social-icon:hover {
    background-color: var(--color-light-haze);
}
.social-icon.icon-fb { background-image: url('../../files/icons/light/facebook.svg'); }
.social-icon.icon-fb:hover { background-image: url('../../files/icons/dark/facebook.svg'); }

.social-icon.icon-x { background-image: url('../../files/icons/light/twitter-x.svg'); }
.social-icon.icon-x:hover { background-image: url('../../files/icons/dark/twitter-x.svg'); }

.social-icon.icon-ig { background-image: url('../../files/icons/light/instagram.svg'); }
.social-icon.icon-ig:hover { background-image: url('../../files/icons/dark/instagram.svg'); }

.social-icon.icon-li { background-image: url('../../files/icons/light/linkedin.svg'); }
.social-icon.icon-li:hover { background-image: url('../../files/icons/dark/linkedin.svg'); }

.social-icon.icon-yt { background-image: url('../../files/icons/light/youtube.svg'); }
.social-icon.icon-yt:hover { background-image: url('../../files/icons/dark/youtube.svg'); }

.social-icon.icon-tt { background-image: url('../../files/icons/light/tiktok.svg'); }
.social-icon.icon-tt:hover { background-image: url('../../files/icons/dark/tiktok.svg'); }

.social-icon.icon-we { background-image: url('../../files/icons/light/website.svg'); }
.social-icon.icon-we:hover { background-image: url('../../files/icons/dark/website.svg'); }

/* Socket */
.socket a {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 767px) {
    h1 { font-size: 28px; }
    h2 { font-size: 22px; }
    .button {
        padding: 18px;
    }
    header {
        padding: 35px 0 0 0;
    }
    header .lead {
        display: none;
    }
    .buttons {
        margin: 35px 0;
    }
    footer {
        padding: 0 0 35px 0;
    }
}