@charset "utf-8";

/* Extra CSS Main Page */
/* Copyright (c) 2024 Sea Captain Date */

/* Social Grid (Homepage) */
.social-links-grid {
	display: flex;
	justify-content: center;
	max-width: 600px;
	margin: 0 auto;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 64px);
    gap: 50px;
}

.grid-item {
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-item span {
    display: block;
    width: 64px; /* Fixed pixel size */
    height: 64px; /* Fixed pixel size */
    background-size: 100% 100%;
	background-position: center center;
    background-repeat: no-repeat;
}

span.yt-red-icon {
    background-image: url("../images/social-icons/yt-square-red-icon.svg");
}

span.x-red-icon {
    background-image: url("../images/social-icons/x-square-red-icon.svg");
}

span.ig-red-icon {
    background-image: url("../images/social-icons/ig-square-red-icon.svg");
}

span.tk-tk-red-icon {
    background-image: url("../images/social-icons/tk-tk-square-red-icon.svg");
}

/* ad banner code */
/* for center of homepage if needed */
.scd-banner-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 20px);
	margin: 20px 10px 20px 10px;
}

.scd-banner-1 img {
    width: 100%;
    max-width: 336px;
    height: auto;
}

/* end banner */

/* new ad code */
#special-square {
	width: 300px;
}

.scd-rectangle-1 {
	margin: 20px auto;
}

.scd-rectangle-1 img {
	width: 100%;
	height: auto;
}

/* fix ad in sidebar */
#tugboat {
	float: none;
}

/* fade in tugboat (sidebar ad) only if JS is enabled */
.js #tugboat {
	opacity: 0;
}

/* disable 'Fade to' elements in IE8 and below */
.lt-ie9 #tugboat {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; /* IE8 */
	filter: alpha(opacity=100); /* IE 5-7 */
}

/* Social links in top bar */
#twitter-circle {
	font-size: 24px;
	background-image: url("../images/social-icons/x-red-logo-icon.svg");
	background-repeat: no-repeat;
	background-size: 75%;
	background-position: center center;
	padding: 0;
/*	margin: 15px 24px 0 0; */
}

#twitter-circle:hover, #twitter-circle:focus {
	color: #fff;
	background-image: url("../images/social-icons/x-white-logo-icon.svg");
	background-color: #cf2e1a;
}

/* Log in and Get App button */
/* fix for log in button color blue to green */
#header-login-btn {
	height: 45px;
	background-color: #00a300;
	margin-top: 14px;
	line-height: 0.65;
	font-size: 18px;
	width: 80px;
	margin-left: 27px;
}

#header-login-btn:hover, #header-login-btn:focus {background: #00b700;}

/* Get app button code */
.get-app-button {
	position: absolute;
	left: 120px;
	top: 0;
	height: 73px;
}

.get-app-button {
	display: flex;
	align-items: center;
	line-height: 0.65;
	width: 125px;
	height: 45px;
	color: #fff;
	font-family: "Questrial", "Questrial Fallback", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	font-size: 18px;
	letter-spacing: 1px;
	border-radius: 5px;
	background-color: #005aef; /* blue */
	text-decoration: none;
	border: 2px solid #fff;
/*	transition: background-color 0.3s ease; */
	margin-top: 14px;
}

.get-app-button:hover, .get-app-button:focus {
	background-color: #327af2; /* blue */
	color: #fff;
	border: 2px solid #fff;
	text-decoration: none;
}

.get-app-icon {
    width: 32px;
    height: 32px;
    background-color: #fff;
	box-shadow: 0 2px 5px #888;
	margin-left: 5px;
    margin-right: 5px;
    border-radius: 8px;
	background-image: url("../images/app-icn-192px.png");
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: center center;
}

/* App Download Style (App page, Join Page) */

/* App download container */
.app-page-content {
	flex: 1;
}

.scd-logo {
	width: 320px;
	height: 100px;
    background-image: url("../images/app-page-images/scd-main-logo.png");
    background-repeat: no-repeat;
    background-size: contain;
	background-position: center center;
	margin: 0.5rem auto 0 auto;
}

/*
.scd-app-icon {
	width: 256px;
	height: 256px;
    background-image: url("../images/app-page-images/scd-app-icon.png");
    background-repeat: no-repeat;
    background-size: contain;
	background-position: center center;
	margin: 2rem auto 0 auto;
} */

.scd-app-icon {
	display: block;
	width: 256px;
	height: 256px;
	margin: 2rem auto 0 auto;
}

.app-download-buttons {
	display: flex;
	width: 460px;
	margin: 3.5rem auto 2rem auto;
	cursor: pointer;
}

.app-download-button-1, .app-download-button-2 {
	width: 220px;
	height: 80px;
}

.app-download-button-1 {
    background-image: url("../images/app-page-images/app-store-button.png");
    background-repeat: no-repeat;
    background-size: contain;
	background-position: center center;
	margin-right: 20px; /* spaces the button */
}

.app-download-button-2 {
    background-image: url("../images/app-page-images/play-store-button.png");
    background-repeat: no-repeat;
    background-size: contain;
	background-position: center center;
}

.app-main-text p {
	font-size: 1.8em !important;
	text-align: center;
	width: 100% !important;
	margin: 0 auto 0 auto !important;
	line-height: 1.5em;
	padding-top: 0;
}

.app-main-text p.app-disclaimer {
	font-size: 1.25em !important;
	color: #888;
}

.tos-links {
	width: 100%;
	text-align: center;
	margin-top: 2.5rem;
}

.tos-links ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.tos-links ul li {
	margin-bottom: 14px;
}

/* YouTube Short code */
.yt-short-wrapper {
	display: table;
	margin: 40px auto;
}

/* Footer */

.footer {
	text-shadow: 1px 1px 2px #333;
    text-align: center;
    padding: 5px;
    background: none;
    color: #fff;
}

.footer a {
	color: #fff;
	text-decoration: none;
}

/* Media query for small screens */
@media screen and (max-width: 768px) {
	.app-main-text p {
			font-size: 1.5em !important;
		}
	
	.app-main-text p.app-disclaimer {
		font-size: 1.25em !important;
		color: #888;
	}
}
@media screen and (max-width: 576px) {
	.app-download-buttons {
		width: 394px;
	}
	.app-download-button-1, .app-download-button-2 {
		width: 187px;
		height: 68px;
	}
}

/* App screenshot gallery */
.gallery-container {
    overflow-x: auto;
    padding: 10px 0 10px 0;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
}

.gallery {
    display: flex;
}

.gallery-image {
    height: 300px;
    margin: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-image:hover {
    transform: scale(1.05);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-image {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin-top: 2.5%;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #fff;
	text-shadow: 0 2px 5px #000;
    font-size: 64px;
    font-weight: bold;
    cursor: pointer;
}

/* app icon */
#pop-app-icon {
	background-image: url("../images/app-icn-256px-before.png");
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center;
	animation: changeBackground 5s steps(1) infinite;
	animation-delay: 2.5s;
}


#pop-app-icon::before {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
	visibility: hidden;
	background-image: url("../images/app-icn-256px.png");
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center;
}

@keyframes changeBackground {

	0% {
        background-image: url("../images/app-icn-256px-before.png");
    }
    50% {
        background-image: url("../images/app-icn-256px.png");
    }
    100% {
        background-image: url("../images/app-icn-256px-before.png");
    }
}

/*
@keyframes changeBackground {
    0%, 50% {
        background-image: url("../images/app-icn-256px-before.png");
    }
    50.01%, 100% {
        background-image: url("../images/app-icn-256px.png");
    }
} */

/* app banner */
#try-it-btn {
	border: 3px solid #fff;
	text-transform: uppercase;
	letter-spacing: 2px;
	line-height: 3.1em;
	width: 128px;
	margin-right: 5%;
	margin-bottom: 10px;
}

#pop-app-icon {
	margin-left: 20px;	
	margin-right: 20px;
}

.available-for {
	font-size: 12px !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
	/* App screenshot gallery */
	.gallery-container {
		justify-content: flex-start;
	}
	
    .gallery-image {
        height: 300px;
    }
}

@media (max-width: 992px) {
	/* App screenshot gallery */
	.gallery-container {
	        justify-content: flex-start;
	    }
	
    .gallery-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
	
	/* App screenshot gallery */
    .gallery-container {
        justify-content: flex-start;
    }

    .gallery-image {
        height: 400px;
    }
	
	.lightbox-image {
	    margin-top: 5%;
	}
	
	/* Social Grid */
	.grid-container {
		gap: 30px; /* Larger gap for screens above 768px */
	}
	
	/* app banner */
	#try-it-btn {
		margin-right: 20px;

		width: 115px;

		font-size: 18px;
	}

	#pop-app-icon {
		margin-left: 20px;
		margin-right: 20px;
	}
	
	/* new ad code */
	#special-square {
		width: 100%;
	}

	.scd-rectangle-1 {
		margin: 20px auto 0 auto;
	}

	.scd-rectangle-1 img {
		width: 95%;
		height: auto;
		margin: 0 2.5%;
	}
	
}

@media (max-width: 640px) {
	/* fix small padding issue on page */
	#join {
		padding-bottom: 0;
	}
}

@media (max-width: 576px) {
	/* App screenshot gallery */
    .gallery-container {
        justify-content: flex-start;
    }

    .gallery-image {
        height: 450px;
    }
	
	/* App download style */
	.app-download-buttons {
		width: 394px;
	}
	.app-download-button-1, .app-download-button-2 {
		width: 187px;
		height: 68px;
	}
	
	/* app banner */
	#try-it-btn {
		font-size: 16px;
		width: 100px;
		margin-right: 10px;
	}

	#pop-app-icon {
		margin-left: 10px;
		margin-right: 10px;
	}

}

@media (max-width: 480px) {
	
	/* Top left buttons */
	#member-login-btn {
		width: 80px;
	}
	
	/* get app button (top right) */
	.get-app-button {
		position: absolute;
		left: 108px;
		top: 0;
		height: 73px;
	}

	.get-app-button {
		width: 125px;
		height: 45px;
		font-size: 18px;
	}

	.get-app-button:hover {}

	.get-app-icon {
	    width: 32px;
	    height: 32px;
		margin-left: 5px;
		margin-right: 5px;
	}
	
	/* Social Grid */
	.grid-container {
		grid-template-columns: repeat(4, 48px);
		gap: 15px; /* Larger gap for screens above 768px */
	}
	
	.grid-item {
		height: 48px;
		width: 48px;
	}
	
	.grid-item span {
		height: 48px;
		width: 48px;
	}
	
	/*
	.grid-container {
		grid-template-columns: repeat(2, 64px);
		grid-template-rows: repeat(2, 64px);
	} */
	
	/* App Download Style */
	.scd-logo {
		width: 275px;
		height: 100px;
	}

	.scd-app-icon {
		height: 172px;
		width: 172px;
		margin: 1rem auto 0 auto;
	}

	.app-main-text p {
		font-size: 1.2em !important;
	}

	.app-main-text p.app-disclaimer {
		font-size: 1.1em !important;
		color: #888;
	}

	.app-download-buttons {
		flex-direction: column;
		width: 100%;
		margin: 1.5rem auto 2rem auto;
	}

	.app-download-button-1, .app-download-button-2 {
		width: 100%;
		margin: 0 auto;
	}

	.app-download-button-1 {
		margin-bottom: 20px;
		margin-right: inherit;
	}
	
	/* app banner */
	#try-it-btn {
		width: 80px;
		height: 50px;
		font-size: 12px;
		border: 2px solid #fff;
		margin-right: 10px;
	}

	#pop-app-icon {
		margin-left: 10px;
		margin-right: 10px;
	}

	#pop-body h4 {
		font-size: 12px;
	}
	
	#pop-body p {
		font-size: 10px;
	}
	
	.available-for {
		font-size: 8px !important;
	}

	#pop-close-btn {
		width: 24px;
		height: 24px;
	}

}

@media (max-width: 375px) {
	/* app banner */
	#try-it-btn {
		width: 70px;
		font-size: 10px;
		margin-top: 5px;
		margin-left: 2px;
	}
	
	#pop-app-icon {
		margin-left: 10px;
		margin-right: 5px;
	}

	#pop-body h4 {
		font-size: 11px;
	}

	#pop-body p {
		font-size: 9px;
	}
}

@media (max-width: 320px) {
	/* footer-nav fix for small screens */
	#footer-nav, #footer-nav a {
		font-size: 10px;
	}
}

