body {
    margin: 0;
    padding: 0;
    background-color: #333;
    font-family: Arial, sans-serif;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: yellow;
    background-color: #666;
    padding: 10px 20px;
}

header img {
    width: 100px;
    height: auto;
}

nav {
    flex-grow: 1;
    text-align: right;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    justify-content: flex-end;
}

nav ul li a {
    color: yellow;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

.main {
    display: flex;
    justify-content: space-around;
    width: 85%;
    margin: 50px auto 0 auto;
}

.random-att, .random-def {
    width: 40%;
    text-align: center;
}

.random-att img, .random-def img {
    width: 200px;
    height: auto;
}

#txt-att, #txt-def {
    font-size: 26px;
    text-align: center;
    text-decoration: underline;
    color: whitesmoke;
    margin-bottom: 10px;
}

#attacker-name, #defender-name {
    font-size: 18px;
    color: whitesmoke;
    margin-top: 10px;
}

#ran-button-att, #ran-button-def {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    margin: 10px auto 0 auto;
    padding: 10px;
    color: black;
    background-color: yellow;
    border-radius: 5px;
    border: solid black 1px;
    cursor: pointer;
}

#ran-button-att a, #ran-button-def a {
    color: black;
    text-decoration: none;
}