@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@500&family=Exo+2:wght@500&family=Raleway:wght@500&display=swap');

html {
    height: 100%;
    margin: 0;
}

body {
    color: yellow;
    font-family: 'Raleway', sans-serif;
    background-color: dimgray;
    background-blend-mode: luminosity;
    padding-bottom: 80px;
}

header {
    border: solid 2pt #2e888888;
    border-radius: 30pt;
    background-color: #ffffff33;
    padding: 0 2%;
    margin: auto;
    width: 50%;
    border-top-color: #2f6688dd;
}

header h1 {
    letter-spacing: 10px;
    font-variant-caps: all-small-caps;
    font-size: 36px;
    text-align: center;
}

header h2 {
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 5px;
    border: solid 2px grey;
    border-radius: 28px;
    padding: 1%;
    transition: all 0.3s ease;
    background: linear-gradient(
            -30deg,
            hsla(0, 0%, 0%, 0.497) 0%,
            hsla(0, 0%, 0%, 0.417) 7.4%,
            hsla(0, 0%, 0%, 0.337) 15.3%,
            hsla(0, 0%, 0%, 0.259) 23.4%,
            hsla(0, 0%, 0%, 0.186) 31.6%,
            hsla(0, 0%, 0%, 0.117) 39.9%,
            hsla(0, 0%, 0%, 0.054) 48.2%,
            hsla(0, 0%, 0%, 0) 56.2%
    );
}

nav ul {
    padding: 0;
    display: flex;
    justify-content: center;
}

nav {
    margin: auto;
}

nav ul li:hover {
    transform: scale(1.1);
    background-color: 
        rgba(173, 255, 47, 0.4);
}

nav a:active, nav a:link, nav a:visited {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    font-variant-caps: all-petite-caps;
}

nav a:hover {
    text-decoration: underline;
}

main {
    width: 80%;
    min-height: 100%;
    margin: 2% auto;
}

.tood {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    min-height: 30vh;
    border: 1px solid #ffffff33;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
}

#osa-1, #osa-2, #osa-3 {
    width: 30%;
    margin: 1%;
    padding: 0 1%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.btn {
    height: 30px;
    font-size: 12pt;
    font-family: 'Exo 2', sans-serif;
    text-shadow: -1px -1px 0 #00000033, 1px -1px 0 #00000033, -1px 1px 0 #00000033, 1px 1px 0 #00000033;
    background-image: linear-gradient(to bottom, #00665E, #009D91);
    color: white;
    padding: 1px 20px;
    border: none;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-image: linear-gradient(to right, #03899C, #36BBCE);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

#main {
    min-height: 350px;
    border: 1px solid #ffffff33;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
}

#main section {
    width: fit-content;
    padding: 10px;
}

.back-video {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -99;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

@media (min-aspect-ratio: 16/9) {
    .back-video {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    .back-video {
        width: auto;
        height: 100%;
    }
}

footer {
    width: 100%;
    height: 80px;

    position: fixed;
    bottom: 0;
    left: 0;

    background: #111;
    padding: 20px 0 0 0;
    text-align: left;
}

footer > p {
    color: white;
    padding: 1% 10%;
    margin: 0;
}

#spotify-widget {
    padding: 10px 0;
}