/*

CSS Guidelines: https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/CSS_basics

# Tag titles

    example would be for elements of <example>
    #exmple would be for elements with <x id="example">
    .example would be for elements with <x class="example">
    x[example] would be for elements with <x example="">

    example:hover would be for elements with <example> but whilst hovering over

*/

:root {
    font-family: 'Roboto', sans-serif;
    background-color: #212121;
    color: white;
}

:is(h1, h2, h3, h4, h5, h6) {
    font-weight: normal
}

html {
    /* font-size: 62.5%; */
    font-size: large;
    font-family: 'Roboto', sans-serif;
}

h1 {
    font-size: 3.2rem;
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 1.2rem 0;
    text-align: center;
}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Layouts */

#events_div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    padding-bottom: 2rem;
}

.eventContainer {
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    width: 90%;
    max-width: 40rem;

    gap: 1rem;
    padding: 1rem;

    background-color: rgb(45, 45, 45);
    border: 1px solid rgb(22, 22, 22);
    border-radius: 1rem;
}

.eventName {
    text-align: center;
    font-size: xx-large;
    margin: 0.5rem;
}

.eventActions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    gap: 1rem;
    justify-content: center;
}

.sharedEventsMessage {
    text-align: center;
}

/* New court */

#action_buttons {
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: 1rem;
}

#end_event_message {
    text-align: center;
}

/* Misc */

#logo {
    cursor: pointer;
}

/* Button Definitions */

/* Orientation specific changes */

@media (orientation: landscape) {}

@media (orientation: portrait) {

    h1 {
        font-size: 2rem;
        font-weight: 300;
        line-height: 1.2;
    }
}