/* Reset default margin and padding */
body, h2, .form-group, label, button {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-image: url(/images/SHKontakt.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
    background-size: cover;
}

.choice {
    color: red;
    display: flex;
    justify-content: space-around;
    list-style-type: none;
    position: fixed;
    right: 0;
    top: 0;
    font-size: 40px; /* Adjust font size for better mobile responsiveness */
    font-style: normal;
    margin-right: 2%; /* Use percentage for better responsiveness */
}

.choice li {
    display: inline;
    margin-left: 1rem; /* Add some space between list items */
}

.choice li a {
    color: red;
    text-decoration: none;
}

.choice li a:hover {
    color: #fff;
}

ul  { 
    display: flex;
    margin-top: -5px;
    gap: 50px;
}
header {
    border: 2px solid black;
    padding: 25px;
    color: black;
    background-color: black;
    border-radius: 2px;
}

/* Media query for responsiveness */
@media (max-width: 768px) {
    .choice {
        font-size: 1.5rem;
        margin-right: 1%;
        position: static; /* Change position to static for better mobile responsiveness */
        text-align: center; /* Center-align the menu items on mobile */
        padding: 10px 0; /* Add padding to separate the items */
    }

    .choice li {
        display: block;
        margin: 0;
    }

     /* Set a different background image for mobile screens */
     body {
        background-image: url('/images/SHKontakt.jpg ');
    }
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: bold;
}

button:hover {
    background-color: #45a049;
}

button:active {
    background-color: #3e8e41;
}
