body {
    font-family: 'Arial Narrow', sans-serif;
    background-color: #200a0a;
    margin: 0;
    padding: 0;
    color: #000000;
    font-size: 130%;
    background-image: url('bilder/moln.jpg!d'); 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
    background-repeat: no-repeat;
}

header {
    background-color: darkblue;
    color: rgb(0, 0, 0);
    padding: 27px 0;
    text-align: center;
}

header ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

header ul li a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: bold;
}

header ul li a:hover {
    color: lightgreen;
 }

main {
    padding: 20px;
    text-align: center;
}

.comparison-form {
    margin-bottom: 20px;
}

.comparison-result img {
    width: 200px; 
    height: 150px; 
    object-fit: cover; 
    border-radius: 10px; 
    border: 2px solid black;
    margin: 10px;
}

.comparison-result {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.country-info img {
    width: 500px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.home-butten {
    margin: 0;
    padding: 0;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    line-height: 1;
}

.logo {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 70px;
    height: auto;
    z-index: 1000;
}

.country-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45%;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button, .buy-button, .home-button {
    background-color: darkblue; 
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

button:hover, .buy-button:hover, .home-button:hover {
    background-color: green; 
    color: white;
}

@media (max-width: 768px) {
    .comparison-form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    header ul li.title {
        margin: 0 auto;
        text-align: center;
        width: 100%;
    }

    header ul li.title a {
        display: inline-block;
        text-align: center;
    }
}
