
body {
    margin: 0;
    padding: 0;
    background: #000 url('Images/Background4.jpg') center top no-repeat;
    background-size: cover; /* растягивает фон */
    color: #ff0000;
    font-family: "Verdana", "Arial", sans-serif;
}


.container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.85); /* тёмная прозрачная подложка */
    padding: 20px;
    border: 2px solid #660000;
    box-shadow: 0 0 15px #300;
}


header {
    text-align: center;
    padding: 40px 20px;
    background: url('Images/Header.gif') center no-repeat;
    background-size: cover;
    border-bottom: 3px solid #900;
}

header h1 {
    font-size: 50px;
    color: #ff0000;
    text-shadow: 3px 3px 10px black;
    font-family: "Creepster", cursive;
}


nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

nav a {
    display: inline-block;
    background: #200 url('images/lava-texture.jpg') repeat;
    padding: 10px 20px;
    border: 2px solid #660000;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 1px 1px 3px black;
    box-shadow: 0 0 10px #000;
    transition: 0.2s ease-in-out;
}

nav a:hover {
    background: #400;
    color: #ff0000;
    box-shadow: 0 0 15px #ff0000;
}


main {
    padding: 20px;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}

.box a {
  color: #00aaff;
  text-decoration: underline;
}

.box a:hover {
  color: #ffffff;
  background: #00aaff;
}


.button {
    display: inline-block;
    padding: 8px 16px;
    margin: 5px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: #220000;
    border: 2px solid #660000;
    border-radius: 2px; /* почти квадратные */
    text-decoration: none;
    text-shadow: 1px 1px 2px black;
    box-shadow: 0 0 5px #000;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
}

.button:hover {
    background: #400;
    border-color: #ff0000;
    color: #ff0000;
    box-shadow: 0 0 8px #ff0000;
}


.clickedbutton {
    background: #111;             
    border-color: #900;
    color: #ff3333;
    box-shadow: 0 0 5px #000 inset, 0 0 8px #900; 

}