body {
    font-family: 'Georgia', serif;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    background-image: url('background.jpg'); /* Substitua 'background.jpg' pela imagem de fundo desejada */
    background-size: cover;
    background-attachment: fixed;
}

header {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

nav {
    background-color: rgba(0, 0, 0, 0.8);
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 15px;
    display: block;
}

nav ul li a:hover {
    background-color: #444;
}

main {
    padding: 20px;
}

.content {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.content:nth-child(even) {
    flex-direction: row-reverse;
}

.image {
    flex: 1;
    padding: 0 20px;
}

.image img {
    width: 60%;
    height: auto;
    border: 2px solid #ccc;
}

.text {
    flex: 1;
    padding: 0 20px;
}

h1, h2 {
    color: #fff;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.gallery img {
    width: 100%;
    height: auto;
    border: 2px solid #ccc;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 999;
}



.center{
    text-align: center;
}

.medieval-button {
    position: relative;
    background-color: #000000;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 15px;
    border-style: solid;
    overflow: hidden;
    z-index: 1;
    border: 1px white solid;
}

.medieval-button::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -10%;
    height: 180%;
    width: 0;
    border-radius: 100%;
    background-color: #420505;

    transition: all 750ms 0.3s;
}

.medieval-button:hover::before {
    width: 120%;
    height: 180%;
    transition: all 750ms 0.7s;
}

.button-text {
    position: relative;
    z-index: 2;
    color: white;
}

.sword {
    position: absolute;
    top: 50%;
    right: -100%;
    transform: translateY(-50%);
    transition: right 0.5s ease;
    z-index: -1;
    height: 40px;
}

.medieval-button:hover .sword {
    right: calc(25%);
}
