@import url("https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap");

:root {
    --dic-blue: rgba(15, 161, 217, 1);
    --dic-red: rgba(236, 41, 61, 1);
    --dic-yellow: rgba(251, 176, 59, 1);
}

body {
    font-family: "Archivo", Arial, Helvetica, sans-serif;
    color: #222;
    padding-top: 3rem;
}

.text-black {
    color: #222;
}

.text-red {
    color: var(--dic-red);
}

.text-blue {
    color: var(--dic-blue);
}

.text-yellow {
    color: var(--dic-yellow);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    font-family: "Archivo", Arial, Helvetica, sans-serif;
    color: black !important;
}

.main-action-bar {
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.2);

    border: white solid 1px;

    position: fixed;
    top: 0.5rem;
    right: 0.5rem;
    left: 0.5rem;
    border-radius: 0.5rem;

    background-color: rgba(255, 255, 255, 0);
    max-width: 100%;
    z-index: 2;

    .container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        img {
            padding: 0.5rem;
        }

        .button,
        .button-outline {
            color: #444;
            border-color: #444;
        }
    }
}

.button {
    background-color: var(--dic-blue);
    border: 0.1rem solid var(--dic-blue);
    margin: 0 0 0 0;
    font-size: 12pt;
}

.button.button-outline {
    color: var(--dic-blue);
}

.confheader {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
    background-image:
        linear-gradient(180deg, #ffffffff 0%, #ffffff00 50%),
        url(https://events.web.rug.nl/event/1/images/1-clouds.jpg);

    padding-top: 5rem;
    padding-bottom: 5rem;

    display: flex;
    flex-direction: column;
    align-items: center;

    .hero_title {
        padding-top: 4rem;
    }
}

.confTitleBox {
    background: none;
    font-weight: 600;
    color: black;
}
.confSubTitleBox {
    background: none;
    font-weight: 600;
    color: black;

    padding: 2rem;

    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.2);
    border: white solid 1px;
    border-radius: 0.5rem;
    backdrop-filter: blur(10px) saturate(100%) contrast(45%) brightness(130%);
}

.conference-title-link {
    color: black;
}

.event_description {
    padding-top: 5rem;
    padding-bottom: 5rem;

    .container {
        display: flex;
        flex-direction: row;

        span.image {
            width: 33%;
            border-radius: 1rem 1rem 1rem 1rem;

            background-position: center;
            background-size: cover;
        }

        .textbox {
            width: 66%;
            padding-left: 2rem;

            h2 {
                font-weight: 600;
            }
        }
    }
}

section.tracks .container {
    display: flex;
    flex-direction: column;

    section.track {
        width: 100%;
        min-height: 20rem;
        margin-bottom: 3rem;

        display: flex;
        flex-direction: row;

        .text-area {
            width: 66%;
            padding-right: 2rem;
        }

        img {
            width: 33%;
            border-radius: 1rem;
            aspect-ratio: 4/3;
        }
    }

    section.track.track-red {
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            color: var(--dic-red);
        }
    }
    section.track.track-blue {
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            color: var(--dic-blue);
        }
    }
    section.track.track-yellow {
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            color: var(--dic-yellow);
        }
    }
}

section.location .container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    min-height: 30rem;

    padding-top: 5rem;
    padding-bottom: 5rem;

    .map {
        width: 33%;
        height: 30rem;
        iframe {
            height: 100%;
            width: 100%;
            border-radius: 1rem;
        }
    }
    .textbox {
        width: 66%;
        padding-left: 2rem;

        h2 {
            font-weight: 600;
        }
    }
}

footer {
    background-color: #f9f9f9;
    margin: 0;
    padding: 3rem;

    font-size: 1.4rem;
}

hr {
    height: 0.5rem;
    background: #0fa1d9;
    background: linear-gradient(
        90deg,
        var(--dic-blue) 0%,
        var(--dic-blue) 33%,
        var(--dic-red) 33%,
        var(--dic-red) 66%,
        var(--dic-yellow) 66%,
        var(--dic-yellow) 100%
    );
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    border: none;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: fade 0.3s ease both;
}

@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}