﻿/* General Reset for full width and height */
html, body {
    height: 100%;
    margin: 0px 0px 50px 0px;
    padding: 0px 0px 50px 0px;
    width: 100%;
}
.box {
    display: flex;
    flex-flow: column;
    height: 100%;
}

    .box .row {
        border: 1px dotted grey;
    }

        .box .row.header {
            flex: 0 1 auto;
            /* The above is shorthand for:
  flex-grow: 0,
  flex-shrink: 1,
  flex-basis: auto
  */
        }

        .box .row.content {
            flex: 1 1 auto;
        }

        .box .row.footer {
            flex: 0 1 40px;
        }
/* Flex container for header content */
.contentcenter {
    display: flex;
    justify-content: space-between; /* Spreads the logo and nav evenly */
    align-items: start; /* Centers items vertically */
    width: 100%;
    background-color: #f2f2f2;
    margin: 0 auto;
    padding: 0;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 3px, inset rgba(0, 0, 0, 0.2) 0px -1px 2px;
    border-radius: 20px;
    overflow: hidden;
}

/* Reset padding for list items */
.navbar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Ensure nav items have appropriate spacing */
.nav-item {
    margin: 0 15px; /* Adjusts space between nav items */
}

/* Adjust header text */
.header-pic-text {
    font-size: 18px;
    color: white;
    margin: 0;
    text-shadow: -2px -2px 0 red, 2px -2px 0 red, -2px 2px 0 red, 2px 2px 0 red, -3px 0 0 red, 3px 0 0 red, 0 -3px 0 red, 0 3px 0 red;
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Parallax sections */
.parallax, .parallax50, .parallax100 {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax50 {
    height: 50vh;
}

.parallax100 {
    height: 100vh;
}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    font-size: 18px;
    color: white;
    user-select: none;
    transition: 0.6s ease;
    border-radius: 3px;
}

.next {
    right: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Text overlay in slides */
.text {
    color: #f2f2f2;
    font-size: 15px;
    position: absolute;
    bottom: 8px;
    text-align: center;
    width: 100%;
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    position: absolute;
    top: 0;
}

/* Dots for slideshow */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

/* Custom fade effect for slideshow */
.fadecustom {
    animation-name: fadecustom;
    animation-duration: 1.5s;
}

@keyframes fadecustom {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

/* Collapsible content */
.collapsible {
    background-color: #777;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100vw;
    text-align: left;
    outline: none;
    font-size: 15px;
}

.collapsible:hover {
    background-color: #555;
}

/* Common text style */
.commonPageText {
    font-size: large;
    text-indent: 50px;
}

@media screen and (max-width: 600px) {
    .commonPageText {
        font-size: medium;
        text-indent: 10px;
    }
}

/* Header text style */
.header-pic-text {
    height: auto;
    font-size: xx-large;
    color: white;
    margin-left: 10px;
    text-shadow: -2px -2px 0 red, 2px -2px 0 red, -2px 2px 0 red, 2px 2px 0 red, -3px 0 0 red, 3px 0 0 red, 0 -3px 0 red, 0 3px 0 red;
}

@media screen and (max-width: 600px) {
    .header-pic-text {
        font-size: large;
        margin-left: 0px;
    }
}

.picOverLapYellow {
    font-size: large;
    color: #F7FF48;
    text-shadow: 0 0 10px #0F483F, 0 0 20px #0F483F, 0 0 30px #0F483F;
}

@media screen and (max-width: 600px) {
    .picOverLapYellow {
        font-size: medium;
    }
}

/* Mobile view classes */
.mobileView {
    display: none;
}

@media screen and (max-width: 600px) {
    .mobileView {
        display: block;
    }
}

.desktopView {
    display: block;
}

@media screen and (max-width: 600px) {
    .desktopView {
        display: none;
    }
}

/* Flex container for logo and navigation */
.contentleft {
    flex-shrink: 0; /* Prevents logo from shrinking */
}

.contentright {
    display: flex;
    justify-content: space-around; /* Space around the navigation items */
    width: 100%;
}


/* Content left and right sections */
.contentleft, .contentright {
    flex: 1;
    margin: 25px;
    padding: 20px;
    border-radius: 10px;
    box-sizing: border-box;
    min-height: 300px; /* Ensure minimum height */
}

/* Make the content evenly spread and full width on smaller screens */
@media only screen and (max-width: 600px) {
    .contentcenter {
        flex-direction: column; /* Stack content vertically */
    }

    .contentleft, .contentright {
        width: 100%;
        margin: 0;
        margin-bottom: 20px;
    }
}

/* Headings */
h1 {
    font-size: .5rem;
    color: #333;
}
h2 {
    font-size: 1rem;
    color: #333;
}
h3 {
    font-size: 2rem;
    color: #333;
}

@media only screen and (max-width: 600px) {
    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }
}
.centered-bg {
    background-image: url(../assets/xamarininfographic.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 400px;
    width: 100%;
    align-content: end;
}

@media only screen and (max-width: 600px) {
    .centered-bg {
        background-image: url(../assets/xamarininfographicmobile.png); /* Mobile-specific image */
        background-position: center;
        background-size: contain;
        height: 400px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}