@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap');

html {
  scroll-padding-top: 6vh;
  scroll-behavior: smooth;  
}

body {
    font-family: "Pixelify Sans", sans-serif;
    background-image: url("../img/bg.png");
    background-size: auto;
    background-position: center top;
    color: #cab3b3;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    font-size: larger;
}

main {
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.6);
    position: relative;
    padding-left: 5%;
    padding-right: 5%;
    flex: 1;
}

h1, h2, h3 {
    font-weight: 700;
}

h1 { 
    font-size: 200% !important; 
} 
h2 { 
    font-size: 150% !important; 
}
h3 { 
    font-size: 140% !important; 
}

p, a {
    font-size: 1.1rem;
}

footer {
    font-family: "Pixelify Sans", sans-serif;
    background: linear-gradient(180deg, #131313 10%, #594D4E 100%) !important;
}

/* class keeps videos in specific size while still keeping the aspect ratio from bootstrap */

.small-video {
    max-width: 75%;
    margin: 0 auto;
    border: 2px solid #3a2e2a;
    /* boxy shadow & glow */
    box-shadow: 4px 4px 2px #00000057, 0 0 20px rgba(129, 87, 79, 0.15);
}

/* navbar styling */

.navbar {
    background: #594D4E;
    background: linear-gradient(0deg, rgba(89, 77, 78, 1) 0%, rgba(43, 43, 43, 1) 100%);
    font-weight: 300;   
    font-family: "Pixelify Sans", sans-serif;
    font-size: x-large;
}

.navbar-brand {
    font-weight: 700;
    font-family: "Pixelify Sans", sans-serif;
    font-optical-sizing: auto;
    color: #ff4201;
}

.navbar .nav-link {
    color: #cab3b3;
}

.nav-link.active {
    color: #d43636 !important;
    border-bottom: 4px solid #d43636;
}

.navbar .nav-link:hover {
    color: #000000;
}

.navbar .dropdown-menu {
    background-color: #594D4E;
}

.navbar .dropdown-item {
    color: #cab3b3;
}

.navbar .dropdown-item:hover {
    color: #000000;
    background-color: #d43636;
}

/* home page */

/* home page introduction */
#intro {
    background-color: #1d1c1b;
    border: 2px solid #3a2e2a;
    max-width: 60%;
    margin: 0 auto;
    color: #cab3b3;
    box-shadow: #000 4px 4px 0, rgba(129, 87, 79, 0.15) 0 0 20px;
}

#intro h1 {
    color: #ff4201;
}

#recents h1 {
    color: #ff4201;
}

/* game card styling */

.game-card {
    display: block;
    position: relative;
    width: 220px;
    overflow: hidden;
    border: 2px solid #3a2e2a;
    box-shadow: 4px 4px 0 #000;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.game-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.game-card:hover {
    transform: scale(1.08);
    box-shadow: 6px 6px 0 #000, 0 0 20px rgba(89, 77, 78, 0.5);
}

.game-card:hover img {
    transform: scale(1.05);
}

.game-card-title {
    background-color: #1d1c1b;
    color: #cab3b3;
    font-family: "Pixelify Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.5rem;
    text-align: center;
    border-top: 2px solid #3a2e2a;
}

/* home page activities */
.activity-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
}

.activity-item {
    background-color: #1d1c1b;
    border: 2px solid #3a2e2a;
    padding: 0.6rem 1rem;
    margin-bottom: 0.5rem;
    text-align: left;
    font-size: 1rem;
}

.activity-time {
    color: #9a8070;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

/* tasks page  */

/* forms */

.form-control, .form-select {
    background-color: #1d1c1b;
    border: 2px solid #3a2e2a;
    color: #cab3b3;
    border-radius: 0;
    font-family: "Pixelify Sans", sans-serif;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    background-color: #1d1c1b;
    border-color: #594D4E;
    color: #cab3b3;
    box-shadow: 0 0 0 2px rgba(89, 77, 78, 0.4);
}

/* summary cards */
.summary-card {
    background-color: #1d1c1b;
    border: 2px solid #3a2e2a;
    box-shadow: 3px 3px 0 #000;
    padding: 1rem 2rem;
    min-width: 120px;
}

.summary-number {
    font-size: 2rem;
    font-weight: 700;
    color: #cab3b3;
}

.summary-label {
    font-size: 0.9rem;
    color: #9a8070;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.summary-pending .summary-number   { color: #ffc107; }
.summary-completed .summary-number { color: #198754; }

/* about page */

.team-card:hover {
    transform: scale(1.05);
    box-shadow: 6px 6px 0 #000, 0 0 20px rgba(89, 77, 78, 0.5);
}

/* testimonials carousel */

/* carousel controls */
.carousel-inner {
    min-height: 12rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #594D4E;
    border: 2px solid #3a2e2a;
    box-shadow: 2px 2px 0 #000;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev { 
    left: -3rem; 
}
.carousel-control-next { 
    right: -3rem; 
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    background-color: #d43636;
}

/* testimonials carousel */
.testimonial-card {
    background-color: #1d1c1b;
    border: 2px solid #3a2e2a;
    box-shadow: 4px 4px 0 #000;
    padding: 2rem 2.5rem;
    margin: 0 1rem 2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #cab3b3;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-size: 0.95rem;
    color: #9a8070;
    font-weight: 700;
}