/* GLOBAL STYLE */
* {
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-size: 14pt;
    padding-top: 60px;
    margin: 0;
    overflow-x: hidden;
}

.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

canvas { width: 100%; height: 100%; }
/*
h1 { font-size: 50px; text-align: center; font-family: 'Metal Mania', Verdana, cursive; }
h2 { color: limegreen; font-size: 60px; text-align: center; font-family: 'UnifrakturMaguntia', Verdana, cursive; }
*/
h1 { font-size: 45px; text-align: center; font-family: Consolas, monospace; }
h2 { color: limegreen; font-size: 40px; text-align: center; font-family: 'UnifrakturMaguntia', Verdana, cursive; }
h3 { color: white; text-align: center; }
p { font-family: Verdana, Geneva, sans-serif; }
ul { font-family: Verdana, Gadget, sans-serif; }

/* Navbar */
.navbar {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 20pt;
    color: #ffffff;
    font-family: Consolas, monospace;
}

.navbar-nav { text-align: center; }
.nav-link { color: #d3d3d3; }
.dropdown-menu { background-color: #343a40; }
.dropdown-item { color: #d3d3d3; }
.dropdown-item:hover { background-color: #495057; color: #ffffff; }

/* Tagline and Dividers */
#tagline {
    background-color: #000000;
}

#aboutme-sect-divide {
    background-color: #000000;
}

#aboutme-sect-divide img {
    max-width: 100%;
    height: auto;
}

/* About Me and Carousel */
#aboutme {
    background-color: dimgrey;
	padding-top: 10px;
    padding-bottom: 15px;
}

#aboutmetxt {
    font-size: 14pt;
}

#carouselExampleInterval {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    z-index: 1;
}

@media (max-width: 767px) {
    #carouselExampleInterval {
        margin-bottom: 20px;
    }
}

@media (min-width: 768px) {
    #carouselExampleInterval {
        margin-left: 20px;
    }
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    z-index: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
}

.carousel-control-prev span,
.carousel-control-next span {
    color: #ffffff;
}

/* Skills Section */
#skills-section {
    background-color: dimgrey;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

#skillsCard {
    font-size: 15pt;
    background-color: #1d3030;
    padding: 42px 20px 20px 20px;
    max-width: 1200px;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    #skillsCard {
        padding: 20px 15px;
        margin: 0 15px;
    }
    #skills-section {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #skillsCard {
        margin: 0 15px;
    }
    #skills-section {
        padding-left: 0;
        padding-right: 0;
    }
}

#skillsContent {
    display: flex;
    flex-direction: column;
}

.skill-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.skill-item span {
    margin-right: 15px;
    flex-shrink: 0;
}

.skill-item div {
    flex-grow: 1;
}

/* Projects Section */
#projects {
    background-color: dimgrey;
    padding-top: 35px;
    padding-bottom: 15px;
}

#projects-sect-divide {
    background-color: dimgrey;
    padding-top: 30px;
}

#projects .container-fluid {
    background-color: dimgrey;
}

/* GIS Map Layouts */
.map-container {
    position: relative;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
}

.map-container img {
    height: auto;
    object-fit: contain;
    max-height: 80vh;
}

#carouselMaps {
    z-index: 1;
}

@media (max-width: 768px) {
    .map-container {
        max-width: 100%;
        padding: 0 15px;
    }
    .map-container img {
        max-height: 60vh;
    }
}

/* BonesBall Dice Baseball */
.game-container {
    max-width: 600px;
    margin: 20px auto;
}

.game-output {
    font-family: monospace;
    background-color: #000000;
    padding: 10px;
    border-radius: 5px;
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    white-space: pre-wrap;
    text-align: left;
    color: #ffffff;
}

.text-limegreen {
    color: #32CD32;
}

/* Speed Trainer Metronome */
.metronome-container {
    padding: 20px;
}

.circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #495057;
    margin: 10px;
    display: inline-block;
    cursor: pointer;
    transition: all 0.2s;
}

.circle.active {
    background-color: #dc3545;
}

.circle.emphasis {
    border: 3px solid #ffc107;
}

.controls {
    max-width: 600px;
    margin: 20px auto;
}

.form-range::-webkit-slider-thumb {
    background-color: #32CD32;
}

.form-range::-moz-range-thumb {
    background-color: #32CD32;
}

.form-range::-ms-thumb {
    background-color: #32CD32;
}

.form-range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(50, 205, 50, 0.25);
}

.form-range:focus::-moz-range-thumb {
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(50, 205, 50, 0.25);
}

.form-range:focus::-ms-thumb {
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(50, 205, 50, 0.25);
}

/* Contact Section */
#contact {
    background-color: dimgrey;
    padding-bottom: 15px;
}

#contact .container-fluid.text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.social-icons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 10px 0;
}

#email, #upwork {
    font-size: 14pt;
}

a.contact {
    text-decoration: underline;
    color: #ffffff;
}

a:hover {
    color: #28a745;
}

a:active {
    color: darkgreen;
}

/* Accordion */
.accordion-button {
    color: #fff;
    background-color: #198754;
    outline: none;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    padding: 1rem;
}

.accordion-button:focus {
    outline: none;
    box-shadow: none;
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #198754;
}

#accordionExample {
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background-color: darkslategrey;
    color: #ffffff;
    margin: 0;
    padding: 0;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 25px;
    z-index: 1000;
}

/* Media Query for Mobile */
@media (max-width: 768 antenatal) {
    .navbar-brand { font-size: 16pt; }
    .navbar-toggler { margin-right: 10px; }
    #aboutme-sect-divide img { max-width: 90%; }
    #tagline h1 { font-size: 30px; }
}