@font-face {
    font-family: "fant";
    src: url("../img/carbon bl.otf");
}

body {
    background-color: antiquewhite;
    background-image: url("../img/Fondo.svg") !important;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
.brand-font {
    font-family: "fant", serif;
    color: #51775e;
}

.navbar {
    background-color: rgba(250, 235, 215, 0.95) !important;
    border-bottom: 2px solid #8b6d5d;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-family: "fant";
    font-size: 1.2rem;
    color: #51775e !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #a0522d !important;
}

/* Texture Background for Cards */
.card-custom {
    background-image: url("../img/textura.svg");
    background-size: cover;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    padding: 20px;
}

/* Decorative Border Container */
.border-container {
    position: relative;
    padding: 30px;
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
    background-image: url("../img/textura.svg");
    /* Inner texture */
}

/* Border Images */
.border-top-img {
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 30px;
    background: url("../img/arriba.svg") repeat-x center top;
    background-size: contain;
    z-index: 10;
}

.border-bottom-img {
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 30px;
    background: url("../img/abajo.svg") repeat-x center bottom;
    background-size: contain;
    z-index: 10;
}

.border-left-img {
    position: absolute;
    top: 0;
    left: -15px;
    width: 30px;
    height: 100%;
    background: url("../img/izquierda.svg") repeat-y left center;
    background-size: contain;
    z-index: 10;
}

.border-right-img {
    position: absolute;
    top: 0;
    right: -15px;
    width: 30px;
    height: 100%;
    background: url("../img/derecha.svg") repeat-y right center;
    background-size: contain;
    z-index: 10;
}

.footer {
    background-color: rgba(250, 235, 215, 0.95);
    padding: 20px 0;
    margin-top: auto;
    border-top: 2px solid #8b6d5d;
}

.social-icon {
    width: 30px;
    height: 30px;
    margin: 0 10px;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.2);
}

.btn-primary-custom {
    background-color: #51775e;
    border-color: #51775e;
    font-family: "fant";
    color: antiquewhite;
}

.btn-primary-custom:hover {
    background-color: #3e5c48;
    border-color: #3e5c48;
}

.me-2 {
    transform: scale(4.6) translate(1px, 0px);
}

/* Dynamic Quest Items Styles */
.quest {
    background-color: #51775e;
    color: antiquewhite;
    padding: 10px;
    margin-bottom: 5px;
    cursor: pointer;
    font-family: "fant";
    transition: background-color 0.3s, transform 0.2s;
    border: 1px solid #3e5c48;
}

.quest:hover {
    background-color: #3e5c48;
    transform: translateX(5px);
}

.questClosed {
    background-color: #555;
    color: #ccc;
    padding: 10px;
    margin-bottom: 5px;
    font-family: "fant";
    border: 1px solid #444;
}

/* Remove default list styling from injected uls */
#navbardivside ul,
#newsbardiv ul {
    list-style-type: none;
    padding: 0;
}

#navbardivside a,
#newsbardiv a {
    text-decoration: none;
}