
@font-face {
    font-family: Tekst;
    src: url("bauhaus.ttf");
}

* {
    background-color: #282828;
    font-family: "Tekst", fantasy;
    color: hsla(0, 0%, 100%, 0.7);
}

body {
    max-width: 1920px;
}

#pealkirjaAla {
    margin-top: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    text-align: center;
}

#logo {
    opacity: 0.8;
}

#pealkiri {
    margin: 0;
}

#kirjeldus {
    text-align: center;
    line-height: 2em;
}

#galeriiNupuÜmbris {
    width: 100%;
    text-align: center;
}

#galeriiNupp {
    border-left: 2px solid lightgrey;
    border-top: 2px solid lightgrey;
    border-bottom: 2px solid darkgrey;
    border-right: 2px solid darkgrey;
    background: hsla(0, 0%, 50%, 0.3);
    cursor: pointer;
    margin-top: 1em;
    margin-bottom: 1em;
    font-size: 1.2em;
    padding: 0.5em;
}

#galeriiNupp:hover {
    background-color: hsla(360, 0%, 10%, 0.9);
    color: hsla(360, 0%, 90%, 0.9);
    transition: 0.3s;
    cursor: pointer;
}

#videod {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto auto;
    gap: 1rem;
    margin: 1rem;
    padding: 1rem;
}

.videoÜmbris {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    margin: 1rem;
}

.video {    
    max-width: 100%;
}

#gifid {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto auto auto;
    column-gap: 1rem;
    row-gap: 3rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    padding: 1rem;
}

.gifÜmbris {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer {
    margin-top: 5rem;
    margin-bottom: 3rem;
    text-align: center;
}

@media screen and (max-width: 1280px) {
    #gifid {
        grid-template-columns: auto auto;
    } 
}


@media screen and (max-width: 920px) {

    #videod {
        grid-template-columns: auto;
    }

    #gifid {
        grid-template-columns: auto;
    }

}
