body{
    max-width: 1012px;
}


div{
    width: 690px;
    min-height: 350px;
    position: relative;
    background-image: url("https://i.ibb.co/BLbn6qm/valgbilde.jpg" );
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

a{
    text-decoration: none;
}

h1{
    font-size: 40px;
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    padding: 0;
    margin: 10px 0 5px 0;
    transition: font-size 0.5s ease-in-out;

}

p{
    font-size: 20px;
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    padding: 0;
    margin: 2px 0 10px 0;
    transition: font-size 0.5s ease-in-out;
}

button {
    width: fit-content;
    max-width: 70%;
    padding: 10px;
    height: fit-content;
    background-color: #8B87BB;
    outline: none;
    border: white 2px solid;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    box-sizing: border-box;
    border-radius: 20px;
}

button:hover{
    background-color: #6E6A9E;
    cursor: pointer;
}

@media screen and (max-width: 636px) {
    div{
        min-height: 200px;
        padding-top: 0;
    }
    button{
        height: fit-content;
        width: fit-content;
        min-width: 60%;
        font-size: 15px;
    }

    h1{
        font-size: 40px;
    }
}

@media screen and (max-width: 690px) {
    div{
        width: 100%;
    }
}
    

