/* Mobile Styles - up to 768px */
* {
    margin: 0;
    padding: 0;
}

body {
    background: white;
}

#wrap {
    margin: 2% auto;
    width: 90%;
    text-align: left;
}

#homepage {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    margin: 2em auto;
}

#main {
    width: 100%;
    padding: 0em 1em 1em 1em;
    margin-left: -1em;
    text-align: left;
}

.menu {
    font-size: 1em;
    font-family: 'Verdana', sans-serif;
    color: black;
    margin: .8em 0 .8em 0;
    text-align: center;
    letter-spacing: .25em;
    line-height: 1.8em;
}

.firsthorizontalrule {
    border-bottom: 0.15em dashed #000;
    margin-top: -3em;
    margin-bottom: .8em;
}

.horizontalrule {
    border-bottom: 0.15em dashed #000;
	margin-top: 0.8em;
    margin-bottom: 1.6em;
}

.lasthorizontalrule {
    border-bottom: 0.15em dashed #000;
    margin-top: 1.6em;
    margin-bottom: 1em;
}

.headings {
    text-align: left;
    font-size: 1.4em;
    color: black;
    line-height: 1.3em;
    padding: 1em 0 .8em 0;
    font-family: 'Verdana', sans-serif;
}

.applist {
    text-align: left;
    font-size: 1.4em;
    color: black;
    line-height: 1.3em;
    padding: 0em 0 .8em 0;
    font-family: 'Verdana', sans-serif;
}

.text2 {
    font-size: 1em;
    color: black;
    line-height: 1.5em;
    padding: 0em 0 1.5em 0;
    font-family: 'Verdana', sans-serif;
}

.copyright {
    text-align: center;
    font-size: .8em;
    font-family: 'Verdana', sans-serif;
    letter-spacing: .1em;
    padding: 1em 0 1.5em 0;
    color: black;
    line-height: 1.6em;
}

a {
    outline: 0;
    color: black;
}

a:link {
    text-decoration: underline;
    color: black;
}

a:visited {
    text-decoration: none;
    color: black;
}

a:hover, a:active {
    color: gray;
    text-decoration: none;
}

a.linky {
    text-decoration: underline;
}

.menu a {
    text-decoration: none;
}

.footer a {
    text-decoration: none;
}

img {
    text-align: center;
    padding-bottom: 1em;
    padding-top: 1.2em;
    margin: 0 auto;
    width: 100%;
}

img.logotext {
    text-align: center;
    padding-bottom: 3em;
    padding-top: 1.2em;
    margin: 0 auto;
    width: 100%;
}

.video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 1.2em;
    margin-top: 1.2em;
}

.video iframe, .video object, .video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.fade {
    animation-name: fade;
    animation-duration: 5s;
}

@keyframes fade {
    from { opacity: .1 }
    to { opacity: 1 }
}

.app-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    margin: 1.6em 0;
}
#wrap > .app-buttons:last-of-type {
    margin-bottom: 3.2em;
}

.app-buttons a {
    width: 100%;
    max-width: 200px;
}

.app-buttons img {
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Stack menu items vertically on very small screens */
@media only screen and (max-width: 480px) {
    .menu {
        font-size: .9em;
        letter-spacing: .1em;
        line-height: 2em;
    }
    
    .headings {
        font-size: 1.2em;
    }
    
    .text2 {
        font-size: .9em;
    }
    
    .copyright {
        font-size: .7em;
        letter-spacing: .05em;
    }
    
    #homepage {
        margin: 1em auto;
    }
    
    img.logotext {
        padding-bottom: 3em;
    }
}

/* Carousel Mobile Styles */
.app-showcase {
    margin: 1.5rem 0;
    border-radius: 8px;
}

.carousel-container {
    height: 300px;
}

.carousel-slide .video-container {
    padding: 15px;
}

.carousel-nav {
    width: 35px;
    height: 35px;
    font-size: 16px;
}

.carousel-nav.prev {
    left: 8px;
}

.carousel-nav.next {
    right: 8px;
}

.carousel-dots {
    padding: 12px;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
}

.dot:nth-child(5) {
    font-size: 9px;
}