:root {
    --component-space: 40px;
    --link: #30587f;
    --link-hover: dodgerblue;
    --font-on-dark: #cecece;
    --link-on-dark: #96BEE5;
    --link-hover-on-dark: dodgerblue;
}
* {
    box-sizing: border-box;
}
body{
    margin: 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    line-height: 1.4;
}
h1{
    font-size: 31px;;
    margin-top: 0;
}
h1, h2, h3, h4{
    font-family: ethnocentric, sans-serif;
}
a{
    color: var(--link);
}
a:visited{
    color: var(--link);
}
a:hover{
    color: var(--link-hover);
}
main{
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
    padding-top: 0;
}
.hero{
    margin-bottom: 20px;
    display: block;
}
.video-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    /* margin-bottom: var(--component-space); */
    width: 100%;
}
.responsive-image{
    width: 100%;
    height: auto;
}
@media (min-width: 800px){
    .grid-container{
        display: flex;
        gap: 25px;
        /* margin-bottom: var(--component-space); */
    }
}
.col1{
    flex: 2;
    display: flex;
    align-items: center;
}
.col2{
    flex: 1;
    display: flex;
    align-items: center;
}
.col-image{
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    /* margin-bottom: var(--component-space); */
}
.gallery a, .gallery img{
    display: block;
}
.gallery img{
    width: 280px;
}

.gallery-thumbnail{
    transition: all .2s;
}
.gallery-thumbnail:hover{
    transform: translateY(-5px); 
}
.important-font{
    color: red;
}
.bigger-font{
    font-size: 18px;
}
footer{
    border-top: 2px gray solid;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}
@media (min-width: 600px){
    footer{
        display: flex;
        justify-content: space-between;
    }
}
@media (min-width: 800px){
    footer{
        padding-left: 0;
        padding-right: 0;
    }
}

@media (prefers-color-scheme: dark) {
    html {
        background-color: black;
    }
    body{
        color: var(--font-on-dark);
    }
    a{
        color: var(--link-on-dark);
    }
    a:visited{
        color: var(--link-on-dark);
    }
    a:hover{
        color: var(--link-hover-on-dark);
    }
}
.component-margin-bottom{
    margin-bottom: var(--component-space);
}