* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #666;
}

@media (prefers-color-scheme: dark) {
    * {
        color: whitesmoke;
    }
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100svh;
    background-color: #f8f8f8;
    font-family: "Century Gothic Paneuropean", "Century Gothic", CenturyGothic, AppleGothic, Arial, sans-serif;
    opacity: 0.95;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #2b2d30;
    }
}

.container {
    width: 90%;
    height: 90%;
    max-width: 700px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
}

@media (prefers-color-scheme: dark) {
    .container {
        background-color: #2a301c;
    }
}

.container .divider {
    width: 100%;
    border-radius: 50%;
    filter: brightness(0%);
}

@media (prefers-color-scheme: dark) {
    .divider {
        filter: brightness(30000%);
    }
}

h1 {
    font-size: 48px;
    margin-top: 10px;
    color: #bbb348;
    font-family: cursive;
    font-style: italic;
}

@media (prefers-color-scheme: dark) {
    h1 {
        color: darkgoldenrod;
    }
}

p {
    font-size: 16px;
    line-height: 1.4;
    margin-top: 15px;
}

.quote {
    font-size: 14px;
    color: #666;
    line-height: 1.2;
    margin-top: 15px;
}

@media (prefers-color-scheme: dark) {
    .quote {
        color: whitesmoke;
    }
}

.content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-top: 5%;
    margin-bottom: auto;
    height: 100%;
    overflow: auto; /* Prevents content overflow */
}

.content a {
    color: black;
    text-decoration: none;
}

.content a:hover {
    color: darkgreen;
}

@media (prefers-color-scheme: dark) {
    .content a {
        color: whitesmoke;
        text-decoration: none;
    }

    .content a:hover {
        color: goldenrod;
    }
}

.quote {
    margin-top: auto;
}

footer {
    color: darkgreen;
    font-family: monospace;
}

@media (prefers-color-scheme: dark) {
    footer {
        color: goldenrod;
    }
}

a {
    color: #666;
    text-decoration: none;
}

@media (prefers-color-scheme: dark) {
    a {
        color: whitesmoke;
    }
}


a:hover {
    color: black;
}

@media (prefers-color-scheme: dark) {
    a:hover {
        color: darkgray;
    }
}

.map {
    height: 300px;
    border-radius: 5px;
}

.background {
    background-image: url(res/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

img {
    border-radius: 8px;
    max-width: 55%;
    height: auto;
}

@media (prefers-color-scheme: dark) {
    .background {
        backdrop-filter: brightness(75%);
    }
}

.lang-picker {
    font-size: xxx-large;

    .not-picked {
        opacity: 0.25;
    }
}

.rounded {
    border: 1px solid;
    border-radius: 30px;
}

/* HTML marker styles */
.pin {
    background-color: #4285F4;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 14px;
    padding: 10px 15px;
    position: relative;
}

.pin::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, 0);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #4285F4;
}

@media (min-width: 1000px) {
    #location-info {
        display: flex;
        height: 100%;
    }

    .address-info {
        width: 100%;
        height: 75%;
        padding: 10px;
    }

    .directions {
        margin-left: 1.5em;
        margin-right: 1.5em;
        margin-bottom: 1em;
    }

    ol {
        display: inline-block;
        text-align: left;
    }

    .directions-text {
        text-align: left;
    }

    .address {
        padding: 5px 5px 20px;
    }

    #contact-info {
        display: flex;
        height: 50%;
    }

    .contact-info {
        width: 100%;
        height: 75%;
        padding: 1px;
    }

    .contact {
        padding: 3px 3px 10px;
    }

    .location-details {
        margin-left: 0.5em;
        margin-right: 0.5em;
    }

    #car-park-info {
        display: grid;
        height: 100%;
        padding-top: 5px;
    }
}

@media (max-width: 1000px) {
    #location-info {
        display: grid;
        height: 100%;
    }

    .address-info {
        width: 100%;
        height: 100%;
        padding: 5%;
    }

    .directions {
        margin-left: 0.5em;
        margin-right: 0.5em;
        margin-bottom: 1.5em;
    }

    ol {
        display: inline-block;
        text-align: left;
    }

    .directions-text {
        text-align: left;
    }

    .address {
        padding: 5px 5px 20px;
    }

    .location-details {
        margin-left: 0.5em;
        margin-right: 0.5em;
    }
}