
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: cursive;
    color: #333;
    background: url('fotofundo.jpg') no-repeat center center fixed;
    background-size: cover;
    margin-bottom: 60px; /* Espaço para o rodapé fixo */
}

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

header .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

h1 {
    font-size: 3em;
    color: #fff;
}

main {
    padding: 40px 20px;
}

.intro {
   
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px;
}

.intro .container {
    max-width: 1200px;
    margin: auto;
}

h2 {
    font-size: 2.5em; /* Tamanho da fonte será 2.5 vezes o tamanho da fonte do elemento pai, ou seja, 40px */
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

p {
    font-size: 1.8em;
    line-height: 1.6;
}

.gallery {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
}


.gallery .container {
    max-width: 1200px;
    margin: auto;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

figure {
    margin: 0;
}

img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

figcaption {
    text-align: center;
    font-size: 1.3em;
    margin-top: 10px;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 1.2em; /* 20% maior que o tamanho da fonte do elemento pai */
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.imga{
    width:300px;
    height:200px;
}

.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;
}

.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%);
}