
body {
    font-family: 'Comic Sans MS', sans-serif;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    background-color: #EED082;
    color: #333;
    background-image: url("ttt.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

header {
    background: linear-gradient(to right, #8B0000, #FF4500);
    color: #FFD700;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
header h1 {
    margin: 0;
    font-size: 3em;
    text-shadow: 4px 4px #111;
}
nav {
    margin: 15px 0;
}
nav a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
nav a:hover {
    color: #FFD700;
}

article {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

h2 {
    color: #8B0000;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
    text-shadow: 1px 1px #000;
}

p {
    margin: 15px 0;
    font-family: 'Roboto', Comic Sans MS;
}

.imga {
    max-width: 50%;
    border-radius: 8px;
    margin: 20px 0;
}

.highlight {
    background-color: #CD9B1D;
    padding: 10px;
    border-left: 4px solid #FFD700;
    margin: 15px 0;
    color: #fff;
    font-style: italic;
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #886914;
    color: black;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3);
}

footer p {
    margin: 0;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #8B0000;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    text-align: center;
    display: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}
.back-to-top:hover {
    background-color: #FF4500;
}

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

