@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

body {
    background-color: #3e657c;
    padding-top: 50px;
    padding-bottom: 150px;
    font-family: 'Source Sans 3';
    font-weight: 400;
    width: 100%;
    background-image: url('../images/bg.webp');
    /* Replace with your image */
    background-size: cover;
    /* Ensures the image covers the entire screen */
    background-position: center;
    /* Centers the image */
    background-repeat: no-repeat;
    /* Prevents tiling */
    background-attachment: fixed;
    /* Keeps the image fixed while scrolling */
}

.brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: #4A4A4F;
}

.nav-bg {
    position: fixed;
    top: 0px;
    z-index: 20;
    width: 100%;
    background-color: #a36846;
}

.brand-text {
    color: #c0c0c0;
    font-size: 20px;
}

.link {
    color: black !important;
    transition: color 0.3s ease;
    font-size: 20px;
}

.nav-link {
    color: white !important;
    transition: color 0.3s ease;
    font-size: 20px;
}

.nav-link:hover {
    color: #3DA6FF !important;
}

.active {
    color: #3DA6FF !important;
    text-decoration: underline;
    font-weight: bold;
}

.search {
    padding-top: 10px;
    padding-left: 5px;
}

.contrast {
    font-size: x-large;
    color: #000000;
    font-weight: 700;
}

/* Face (Elf) Container */
.face-container {
    position: fixed;
    /* Fixed position to lock it to the viewport */
    bottom: 28px;
    /* Adjust to place the elf above the footer */
    left: 50%;
    /* Center horizontally on the page */
    transform: translateX(-50%);
    /* Center alignment fix */
    z-index: 10;
    /* Ensure it stays on top of other content */
    width: 300px;
    /* Adjust width as needed */
    height: auto;
}

/* Elf Image */
.face-image {
    width: 100%;
    /* Responsive width */
    height: auto;
    /* Maintain aspect ratio */
    display: block;
}

/* Eyes */
.eye {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: black;
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.1s ease-out;
}

/* Left Eye */
.left-eye {
    bottom: 137px;
    left: 120px;
}

/* Right Eye */
.right-eye {
    bottom: 137px;
    left: 167px;
}

/* Position the lights at the bottom of the navbar */
/* Christmas lights container */
.christmas-lights {

    left: 0;
    /* Align to the left */
    right: 0;
    /* Align to the right */
    display: flex;
    justify-content: center;
    /* Center the lights horizontally */
    gap: 8px;
    /* Space between bulbs */
    padding: 10px;
    z-index: 10;
    /* Ensure it's above other content */
}

.christmas-lights-top {
    position: fixed;
    top: 60px;
    z-index: 25;
}

.christmas-lights-bottom {
    position: fixed;
    bottom: 52px;
    /* Fixed to the bottom of the viewport */
    z-index: 1;
}

/* Default bulb size */
.christmas-lights .bulb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: flicker 1s infinite;
}

/* Different colors for bulbs */
.christmas-lights .bulb:nth-child(2) {
    background-color: green;
    animation-delay: 0.2s;
}

.christmas-lights .bulb:nth-child(3) {
    background-color: yellow;
    animation-delay: 0.4s;
}

.christmas-lights .bulb:nth-child(4) {
    background-color: blue;
    animation-delay: 0.6s;
}

.christmas-lights .bulb:nth-child(5) {
    background-color: orange;
    animation-delay: 0.8s;
}

/* Flickering effect */
@keyframes flicker {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}


.dark-bg {
    background-color: #a36846;
}

.foot-text {
    color: #c0c0c0;
    font-size: 25px;
}

.foot-links {
    color: white !important;
    font-size: 30px;
    margin-bottom: 6px;
}

footer {
    position: fixed;
    bottom: -30px;
    width: 100%;

}


nav {
    padding-bottom: 20px;

}

main {

    margin-top: 20px;

    padding-bottom: 150px;

}



.main-bg {
    top: 10%;
}

.logout {
    padding-top: 20px;
    padding-bottom: 70px;
}

.login {
    padding-bottom: 70px;
}

.py-3 {
    padding-bottom: 0;
}

.card {
    border: none;
    background-color: transparent;
    width: 80%;
    color: #c0c0c0;


}



.card-text {
    font-size: 16px;
}

.card-img-top {
    border-radius: 40px;
    box-shadow: 5px 5px 10px #000000;
}


.approval {
    font-weight: bold;
    color: Black;
    font-size: 15px;
    text-decoration: underline;
}

.post-link {
    text-decoration: underline;
    color: #000000;
    left: 50px;
    font-size: 18px;
    font-weight: 600;
}

.post-link:hover,
.page-link {
    color: #3DA6FF;
}

.post-title {
    margin-top: 10%;
    margin-left: 5%;
}

.post-subtitle {
    margin-left: 5%;
    color: black;
}

.bg-color-1 {
    background-color: #ffff99;
}

.bg-color-2 {
    background-color: #ff65a3;
}

.bg-color-3 {
    background-color: #3DA6FF;
}

.link {
    color: #23BBBB;
    text-decoration: none;
}

.link:hover,
.link:active {
    color: #445261;
    text-decoration: underline;
}

/* Buttons */
.btn-close-conf,
.btn-edit,
.btn-comment-edit {
    color: black;
    background: #ffff99;
    margin-left: 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 10px black;
    justify-self: center;
}

.btn-signup {
    color: black;
    background: #ff65a3;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    box-shadow: 5px 5px 10px black;
    justify-self: center;
}

.btn-signup-done {
    color: black;
    background: #ffff99;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    box-shadow: 5px 5px 10px black;
    justify-self: center;
}

.next-step,
.prev-step {
    color: black;
    background: #7afcff;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    box-shadow: 5px 5px 10px black;
    justify-self: center;
}

.next-step:hover,
.prev-step:hover,
.btn-signup:hover,
.btn-signup:active {
    background-color: #fff;
    color: #e9761b;
}

.btn-delete-conf,
.btn-delete,
.btn-comment-delete {
    color: black;
    background: #ff65a3;
}

.pagination-container {
    position: relative;
    /* Relative to contain the absolutely positioned buttons */
    width: 100%;
    /* Ensure it spans the entire width of the viewport */
}

.btn-page-prev,
.btn-page-next {
    position: absolute;
    padding: 10px 15px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 4px;
    color: white;
    background-color: #007bff;
    /* Bootstrap primary color */
    border: 1px solid #007bff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-page-prev {
    left: 25%;
    margin-top: 20px;
}

.btn-page-next {
    right: 25%;
}

.btn-page-prev:hover,
.btn-page-next:hover {
    background-color: #0056b3;
    /* Darker blue for hover */
    color: #fff;
}

.pagination {
    margin: 0;
    padding: 0;
    list-style: none;
}

.scale {
    width: 100%;
    height: auto;
}

.masthead {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 2rem;
    justify-self: center;
    justify-items: center;
    justify-content: center;
    align-self: center;
    align-items: center;
    text-align: center;
}

.masthead-text {
    z-index: 2;
    justify-self: center;
    color: black;
    background-color: #ff65a3;
    box-shadow: 5px 5px 10px black;
}

.masthead-image img {
    display: flex;
    flex-direction: column;
    max-height: 50vh;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
    box-shadow: 5px 5px 10px black;
}

.masthead .row {
    align-items: center;
}

.article-colour {
    color: black;
    background-color: #ffff99;
    box-shadow: 5px 5px 10px black;
}

.comment-colour {
    color: Black;
}

.comment-h3 {
    background-color: #ffff99;
    box-shadow: 5px 5px 10px black;
    color: black;
    padding: 10px;

}

.wizard {
    display: flex;
    position: relative;
    top: 0vh;
    justify-content: center;
    background-color: #7afcff;
    box-shadow: 5px 5px 10px black;
    margin: 15%;
    color: black;
    justify-self: center;
    min-width: 30%;
    z-index: 10;
    flex-direction: column;
    align-items: center;
    /* Vertically center */
    justify-items: center;
}

.wizardSignUp {
    display: flex;
    position: relative;
    top: 0vh;
    justify-content: center;
    background-color: #ff65a3;
    box-shadow: 5px 5px 10px black;
    margin: 15%;
    color: black;
    justify-self: center;
    min-width: 0%;
    z-index: 10;
    flex-direction: column;
    align-items: center;
    /* Vertically center */
    justify-items: center;
}

.wizardComment {
    display: none;
    position: absolute;
    bottom: -0vh;
    left: 40%;
    justify-content: center;
    background-color: #ff65a3;
    box-shadow: 5px 5px 10px black;
    margin-left: auto;
    margin-right: auto;
    color: black;
    justify-self: center;
    min-width: 40%;
    z-index: 10;
    flex-direction: column;
    align-items: center;
    /* Vertically center */
    justify-items: center;
}

.commentForm {
    align-items: center;
    /* Vertically center */
    justify-items: center;
    justify-content: center;
}

.submitButton {
    position: relative;
    border-radius: 30px;
    margin-left: auto;
    margin-right: auto;
}

.closeButton {
    position: relative;
    left: 45%;
    color: #000000;
    font-weight: 900;
    font-size: large;
}

.postholder {
    display: flex;
    justify-content: center;
    box-shadow: 5px 5px 10px black;
    color: black;
    justify-self: center;
    flex-direction: column;
    align-items: center;
    /* Vertically center */
    justify-items: center;

}

.comment {
    min-width: 500px;
    display: flex;
    justify-content: center;
    background-color: #3DA6FF;
    box-shadow: 5px 5px 10px black;
    margin: 50px;
    color: black;
    justify-self: center;
    flex-direction: column;
    align-items: center;
    /* Vertically center */
    justify-items: center;
}

.form-step {
    display: none;
}

.form-step.active {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Vertically center */
    justify-items: center;
    flex-direction: column;
}

.errorlist {
    color: red;
    margin: 5px 0;
    padding-left: 15px;
    list-style-type: circle;
    text-decoration: solid;
}

.signup {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-step input {
    width: 90%;
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #c0c0c0;
    border-radius: 5px;
}

.delete-modal {
    background-color: #3DA6FF;
    color: black;
    border: 2px solid black;
}

.date {
    font-size: 14px;
    margin-bottom: 15px;
}

.btn-close-msg,
.alert-dismissible {

    color: black;
    background-color: #ffff99;

}

.alert-dismissible {
    margin-top: 30px;
    font-weight: 600;
}

.bio-card-1 {
    display: flex;
    position: relative;
    top: 0vh;
    justify-content: center;
    background-color: #ffff99;
    box-shadow: 5px 5px 10px black;
    margin: 15%;
    color: black;
    justify-self: center;
    min-width: 30%;
    flex-direction: column;
    align-items: center;
    justify-items: center;
}

.bio-card-2 {
    display: flex;
    position: relative;
    top: 0vh;
    justify-content: center;
    background-color: #ff65a3;
    box-shadow: 5px 5px 10px black;
    margin: 15%;
    color: black;
    justify-self: center;
    min-width: 30%;
    flex-direction: column;
    align-items: center;
    justify-items: center;
}

.bio-card-3 {
    display: flex;
    position: relative;
    top: 0vh;
    justify-content: center;
    background-color: #3DA6FF;
    box-shadow: 5px 5px 10px black;
    margin: 15%;
    color: black;
    justify-self: center;
    min-width: 30%;
    flex-direction: column;
    align-items: center;
    justify-items: center;
}

/* Add a default style to fallback */
.bio-card {
    transition: background-color 0.3s ease;
}

.bio-links {
    color: #000000;
    font-size: 40px;
    margin-bottom: 6px;
}

.bio-links:hover {
    transform: scale(1.2);
}

.bio-space {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

/* Media Query for Tablet Screens */
@media screen and (max-width: 991px) {
    .face-container {

        display: none;
        /* Hide the elf container on tablet screens and smaller */
    }

    }   

