@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}

.bg-image{
    background: url('./kuukkeli-wifi-levea.jpg') no-repeat left top/cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-attachment: fixed;
}

.bg-image::after{
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;

}

.button{
    /* background-color: #d93; */
    /*background-color: #7d2a29;*/
    background-color: #e9b65f;
    color: white;
    /*color: #e9b65f;*/
    border-radius: 5px;
    padding: 1.8em;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    margin: 0.5rem;
    text-wrap: nowrap;
    display: inline-grid;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}



.content{
    max-width: 80%;
    box-shadow: 0px 0px 15px 15px rgba(0,0,0,0.3);
    background-color: rgba(0, 0, 0, 0.3);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    text-align: center;
    margin: auto auto 7% 7%;
}

h1 {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-align: center;
}

p {
    font-size: 1.2rem;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.5;
}

ol {
    list-style: none;
    padding: 0;
}


ol li a {
    text-decoration: none;
    color: white;
}

ol li a:hover{
    text-decoration: underline;
}

@media (max-width: 800px) {

        .bg-image{
        background: url('./kuukkeli-wifi-kapea.jpg') no-repeat left top/cover;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    .content{
        grid-template-columns: repeat(2, 1fr);
        gap: 0.2rem;
        margin: 65% auto 5% auto;
        }
    

    h1 {
        font-size: 2.5rem;
    }  


}

@media (max-width: 550px) {


    .bg-image{
        background: url('./kuukkeli-wifi-kapea.jpg') no-repeat left top/cover;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }
    
    
    h1 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1rem;
    }

    .content{
    grid-template-columns: repeat(2, 1fr);
    gap: 0.2rem;
    margin: auto auto 7% auto;
    justify-content: center;
    }


    .button{
        display: grid;
        text-align: center;
        padding: 0.8rem;
        margin: 0.2rem;    
    }
    

}