@import url('https://fonts.googleapis.com/css2?family=Roboto&family=Ubuntu&display=swap');

html{
    font-family: 'Roboto', sans-serif;
}

body{
    --background-color: #f4f3f1;
    --color:rgb(20, 20, 20);
}
body.dark-theme{
    --background-color: rgb(44, 38, 38);
    --color:rgb(220, 225, 230);
}
body{
    margin:0;
    background: var(--background-color);
    color: var(--color);
}

button{
    --bg: rgb(255,255,255);
}
button.dark-theme{
    --bg: rgb(100,100,100);
}
button{
    background: var(--bg);
}
#darkmode-toggle{
    /* float:right; */
    margin: auto;
}
.container{
    margin: 0 auto;
    max-width: 1200px;
}

main{
    padding: 1em;
}

footer {
    background-color: #000078;
    min-height: 1em;
    color: white;
}

header nav {
    display: grid;
}

@media screen and (min-width: 1000px) {
    header nav{
        grid-template-columns: repeat(5, 1fr);
    }
}

@media screen and (min-width:700px) and (max-width: 1000px) {
    header nav{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width:500px) and (max-width: 700px) {
    header nav{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 500px) {
    header nav{
        grid-template-columns: repeat(1, 1fr);
    }
}

.menu-item {
    margin: 4px; 
    text-align: center;
    background-color: #3434e4;
    color: white;
    height: 3em;
    line-height: 2.7em;
}

a {
    color: currentColor;
    text-decoration: none;
}

img[src*="#img-head"] {
    max-width:10em;
    border-radius: 10em;
    margin:auto;
    display: block;
}

img[src*="#img-sm"] {
    max-width:33%;
}

img[src*="#img-lg"] {
    max-width:100%;
}
