html, body{
    color: rgb(0, 0, 0);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    height: 100%;
}
html {
    background: #ffffff;
    background-image: linear-gradient(to top, rgb(255, 255, 255), #ffffff);
    background-repeat: no-repeat;
    background-size: cover;
}
body{
    margin: 10px;
}
h2{
    text-decoration: underline;
}

#currenttime {
    text-align: right;
    padding-right: 20px;
}
.place{
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 20px;
    border: 1px solid black;
    width: 400px;
    margin: 20px;
    padding: 20px;
}
.row{
    margin: -10px;
}

@media (prefers-color-scheme: dark) { 
    html, body{
        color: lightgray;
    }
    html {
        background: rgba(26, 26, 26, 1);
    }
    a{
        color: lightgray;
    }
    .place{
        background-color: rgba(34, 34, 34, 1);
        border: none;
    }
    .openplaces{
        border: 1px solid #006f07;
    }
    #header{
        margin: 0 auto; 
        margin-bottom: 20px;
        margin-top: 20px;
        color: #f76a38; 
        border: 1px solid #f76a38;
        border-radius: 20px;
        padding: 20px;
        width: fit-content;
        text-align: center;
        background-color: rgba(34, 34, 34, 1);
    }
}
@media (prefers-color-scheme: dark) and (max-width: 480px), (prefers-color-scheme: dark) and (max-height: 480px) {
    html {
        background: #000000;
        background-image: #000000;
    }
    .place{
        background-color: rgba(26, 26, 26, 1);
        border: none;
        width: 320px;
    }
    .openplaces{
        border: 1px solid #006f07;
    }
    #header {
        background-color: rgba(26, 26, 26, 1);
        width: 320px;
    }
}

@media (prefers-color-scheme: light) { 
    html, body{
        color: rgb(0, 0, 0);
    }
    html {
       background: rgb(255, 255, 255);
    }
    a{
        color: black;
    }
    .place{
        background: rgb(247, 247, 247);
        border: none;
    }
    .openplaces{
        border: 1px solid #53ff5e;
    }
    #header{
        margin: 0 auto; 
        margin-bottom: 20px;
        color: #ffffff; 
        background-color: #D73F09;
        border-radius: 20px;
        padding: 20px;
        width: fit-content;
        text-align: center;
        margin-top: 20px;
    }
}
@media (prefers-color-scheme: light) and (max-width: 480px), (prefers-color-scheme: light) and (max-height: 480px) {
    html {
        background: rgb(240, 240, 245);
    }
    .place{
        background-color: rgb(255, 255, 255);
        border: none;
        width: 320px;
    }
    .openplaces{
        border: 1px solid #53ff5e;
    }
    #header{
        width: 320px;
    }
}
@media (min-width: 1700px) {
    .place {
        width: 500px;
    }
}

a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f76a38;
    color: white;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display:inline-flex;
    justify-content:center;
    align-items:center;
}
.footerlinks {
    width: 50px;
    height: 50px;
}

a:hover {
    background-color: #D73F09;
}
img{
    width: 20px;
    height: 20px;
}