@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Inconsolata:wght@200..900&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: black;
}

main {

    * {
        box-sizing: border-box;
    }

    h1, h2, h3, p, a, ul, li {
        margin: 0;
        font-family: Barlow, sans-serif;
        color: white;
        line-height: initial;
    }

    a {
        color: #FF6400;
        transition: 0.25s;

        &:hover {
            opacity: 0.75;
        }
    }

    ul#ota_yhteytta {
        list-style: none;
        padding: 0;
    }

    a[role=button]{
        line-height: inherit;
        text-decoration: none;
        text-align: center;
    }

    button, a[role=button]  {
        font-family: Inconsolata, sans-serif;
        font-weight: 800;
        border: none;
        border-radius: 1rem;
        cursor: pointer;
        transition: 0.2s;

        &:hover {
            opacity: 0.75;
        }
    }

    section {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        overflow: hidden;

        &#blogi_sisalto {
            padding: 4rem 30%;
            background-color: #1a1e21;

            button, a[role=button] {
                font-size: 1.25rem;
                padding: 0.75rem 1.25rem;
                border-radius: 1.5rem;
                background: #fff;
                color: #000000;
                width: fit-content;
            }
        }
    }
}

@media (max-width: 1250px) {
    main section#blogi_sisalto {
        padding: 4rem 17.5%;
    }
}

@media (max-width: 750px) {
    main section#blogi_sisalto {
        padding: 4rem 10%;
    }
}
