@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

body {
    margin: 0;
    transition: 1s all linear;
}

body.dark {
    background: rgb(0,0,0);
}

body.light {
    background: rgb(255, 255, 255);
}

#header-div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: rgb(144, 207, 207);
    padding: 0; margin: 0;
    height: 8.5vh;
}

#mode-button {
    position: absolute;
    left: 1%;
    width: 14vh;
    height: 5vh;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin-top: 1%;
    font-size: 3vh;
    border: 0px;
    cursor: pointer;
    background: inherit;
    color: black;
    border: 0.3vh solid black;
}

#navbar {
    display: flex;
    flex-direction: row;
    gap: 15%;
    justify-content: center;
    align-items: center;
    /* background: inherit; */
}

.nav-link {
    cursor: pointer;
    color: black;
    font-family: "Rubik", sans-serif;
    text-decoration: none;
    font-size: 3.5em;
}

#flag {
    width: 7vh;
    height: auto;
    position: absolute;
    left: 95%;
}

#title {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    font-size: 2em;
}

#img-con {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 5%;
    gap: 5vh;
}

.dog-image {
    width: 80vh;
    opacity: 1;
    transition: 0.75s all ease-in;
}

.dog-image:hover {
    opacity: 0.6;
}

@media all and (min-width: 300px) and (max-width: 600px) {
    .nav-link {
        cursor: pointer;
        color: black;
        font-family: "Rubik", sans-serif;
        text-decoration: none;
        font-size: 1.75em;
    }

    #mode-button {
        position: fixed;
        left: 4%;
        top: 90%;
        width: 14vh;
        height: 5vh;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        margin-top: 1%;
        font-size: 3vh;
        border: 0px;
        cursor: pointer;
        background: inherit;
        color: black;
        border: 0.3vh solid black;
        padding-right: 1%;
        padding-left: 0px;

        z-index: 1;
    }

    #flag {
        width: 6vh;
        height: auto;
        position: fixed;
        left: 80%;
        top: 90%;
    }

    .dog-image {
        width: 40vh;
        opacity: 1;
    }

    #mobile-overlay {
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 13vh;
        background: rgba(0, 0, 0, 0.35);
    }
}