html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}

.videotausta {
    position: fixed;
    scale: 120%;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.videotausta iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.sisalto {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
    text-align: center;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
}

h1.vuosi {
    font-size: 4em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1.2;
    background: transparent;
    padding: 20px 40px;
    border: 2px solid white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transform: scale(1);
    transition: all 0.3s ease-in-out;
}

h1.vuosi:hover {
    transform: scale(1.05);
}

.nimi {
    font-size: 2.5em;
    font-weight: 300;
    margin-top: 20px;
    color: #e5e5e5;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

header .otsikko {
    position: fixed;
    top: 0;
    left: -22px;
    width: 100%;
    background: linear-gradient(45deg, rgba(28, 28, 28, 0.8), rgba(0, 0, 0, 0.7));
    color: white;
    padding: 15px 30px;
    z-index: 2;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    transform: translateY(-100%);
    animation: slideIn 0.6s forwards;
}

header .otsikko::before, header .otsikko::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: linear-gradient(45deg, #f7a1d7, #f47c8c);
    left: 0;
}

header .otsikko::before {
    top: 0;
}

header .otsikko::after {
    bottom: 0;
}

header .otsikko h2 {
    margin: 0;
    font-size: 2em;
    font-weight: 600;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.linkit {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    justify-items: center;
    width: 100%;
    max-width: 1000px;
}

.linkit a {
    font-size: 1.2em;
    text-decoration: none;
    color: #fff;
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 25px;
    text-align: center;
    transition: background-color 0.3s, transform 0.3s;
}

.linkit a:hover {
    background-color: #fff;
    color: #000;
    transform: scale(1.1);
}

body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(45deg, #f7a1d7, #f47c8c);
}

.spotify {
    margin-top: 20px;
    width: 80%;
    max-width: 400px;
    margin-bottom: 40px;
    margin-top: 30px;
    position: relative;
}

.nuolikuvake {
    position: absolute;
    bottom: -110px;
    right: -110px;
    width: 160px;
    height: 160px;
}

.arrow {
    width: 100%;
    height: auto;
    padding-left: 40px;

}

.video {
    position: fixed;
    left: 8px;
    font-size: 1.5em;
    color: white;
    font-weight: 300;
    font-family: 'Roboto', sans-serif;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    z-index: 10;
}

.video2 {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.video2:hover {
    color: #f7a1d7;
}

@media (max-width: 768px) {
    .videotausta iframe {
        width: 100vw;
        height: 56.25vw;
        min-height: 100vh;
        min-width: 177.77vh;
    }

    h1.vuosi {
        font-size: 2.5em;
    }

    .nimi {
        font-size: 1.8em;
    }

    .spotify {
        width: 90%;
    }

}

.tekstijuu {
    padding-top: 800px;

}