
/* font colors 
	black
	white
	#deb95f (yellow)
	#fcd36d // button hover background
	#a21e21 (red)
	#3d3a34 (grey)
*/

/* Mobile first */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
	background-color: black;
	color: white;
	font-family: 'Inter';
	/* font-size: 16px; /* setting default font-size manually to not get borked in the future with default font-size browser changes */
	font-size: 18px;
}

th {
  padding: 8px 14px;
  border: 2px solid #deb95f;
}

td {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Header */

header {
    display: flex;
    justify-content: space-between;
	height: 8vh;
}

.header-left-side {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-left: 10px;
}

nav ul {
	background: white;
    position: fixed;
    z-index: 999;
    top: 0;
    right: 0;
    height: 100%; /* was vh100 */
    margin: 0;
    list-style: none;
    width: 60%;
	padding-right: 2em;
    text-align: right;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
}

nav ul li {
	margin-top: 1em;
	margin-bottom: 1em;
	margin-left: 0;
	margin-right: 0;

	&:nth-of-type(1) {
		margin-bottom: 2em;
	}
}

nav ul li a {
	color: black;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.1rem;

	&:hover {
		text-decoration: none;
		color: #deb95f;
	}
}

.nav-ul-li-login {
	margin-top: 5vh;
}
.nav-ul-li-a-login {
	background-color: #deb95f;
	color: black;
	border: none;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	border-radius: 5px;
	padding: 12px;
}
.nav-ul-li-a-login:hover {
	background-color: #fcd36d;
	color: #3d3a34;
}

.nav-ul-li-signup {
	
}
.nav-ul-li-a-signup {
	background-color: #deb95f;
	color: black;
	border: none;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	border-radius: 5px;
	padding: 12px;
}
.nav-ul-li-a-signup:hover {
	background-color: #fcd36d;
	color: #3d3a34;
}

.header-logo {
	width: auto;
	height: 50px;
}

.nav-menu-button {
	width: 35px;
	height: auto;
	margin-top: 1em;
	margin-right: 1em;
}

.nav-menu-close-button {
	width: 35px;
	height: auto;
}

.open {
    transform: translateX(0%);
}

.hide-on-mobile {
	display: none;
}

/* SECTION 1 */

.html-prison-1 {
	background-color: black;
	width: 100%;
	height: auto;
	padding-bottom: 50px;
	text-align: center;
	border-style: solid;
	border-top-width: 1px;
	border-left-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-top-color: #deb95f;
}

.word-prison-1 {
	padding-left: 5vw;
	padding-right: 5vw;
}

.h1-1 {
	color: #deb95f;
	padding-top: 50px;
	font-size: 4em;
}

.p-1 {
	margin-top: 20px;
	font-size: 1.5em;
}

.main-button-cta {
	margin-top: 30px;
	font-size: 2em;
	font-weight: bolder;
	
	background-color: #deb95f;
	color: black;
	border: none;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	border-radius: 5px;
	padding: 25px;
}

.main-button-cta:hover {
	text-decoration: none;
	background-color: #fcd36d;
	color: #3d3a34;
}

.minor-button-cta {
	margin-top: 30px;
	font-size: 1em;
	font-weight: bolder;
	
	background-color: #deb95f;
	color: black;
	border: none;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	border-radius: 5px;
	padding: 25px;
}

.minor-button-cta:hover {
	text-decoration: none;
	background-color: #fcd36d;
	color: #3d3a34;
}

.main-button-plan {
	margin-top: 20px;
	margin-bottom: 20px;
	font-size: 1.2em;
	font-weight: bolder;
	
	background-color: #deb95f;
	color: black;
	border: none;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	border-radius: 5px;
	padding: 15px;
}

.main-button-plan:hover {
	text-decoration: none;
	background-color: #fcd36d;
	color: #3d3a34;
}

.main-button-videos {
	margin-top: 30px;
	font-size: 1em;
	font-weight: bolder;
	
	background-color: #deb95f;
	color: black;
	border: none;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	border-radius: 5px;
	padding: 25px;
}

.main-button-videos:hover {
	text-decoration: none;
	background-color: #fcd36d;
	color: #3d3a34;
}

.main-button-share {
	margin-top: 5px;
	font-size: 0.8em;
	font-weight: bolder;
	
	background-color: #deb95f;
	color: black;
	border: none;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	border-radius: 5px;
	padding: 5px;
}

.main-button-share:hover {
	text-decoration: none;
	background-color: #fcd36d;
	color: #3d3a34;
}


/* same */

.flex-container {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	border-style: solid;
	border-top-width: 1px;
	border-left-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-top-color: #deb95f;
}

.nested-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	max-width: 1200px;
	height: auto;
}

.nested-container p {
	color: white;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
	margin-right: 10px;
	padding: 20px;
	font-size: 24px;
	border-style: solid;
	border-width: 1px;
	border-color: #deb95f;
	border-radius: 8px;
}

.flex-container-plans {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	border-style: solid;
	border-top-width: 0px;
	border-left-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-top-color: #deb95f;
}

.nested-container-plans {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 1200px;
	height: auto;
}

.nested-container-plan {
	width: 380px;
	color: white;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
	margin-right: 10px;
	padding: 20px;
	font-size: 24px;
	text-align: left;
	border-style: solid;
	border-top-width: 25px;
	border-left-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-top-color: #deb95f;
	border-left-color: #ffffff;
	border-right-color: #ffffff;
	border-bottom-color: #ffffff;
	border-radius: 5px;
}

.canvas-wrapper {
	width: 100%;
}

.html-prison-same {
	background-color: black;
	width: 100%;
	height: auto;
	padding-top: 50px;
	padding-bottom: 50px;
	text-align: center;
	border-style: solid;
	border-top-width: 1px;
	border-left-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-top-color: #deb95f;
}

.html-prison-single {
	background-color: black;
	width: 100%;
	min-height: 500px;
	padding-top: 50px;
	padding-bottom: 50px;
	text-align: center;
	border-style: solid;
	border-top-width: 1px;
	border-left-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-top-color: #deb95f;
}

.word-prison-single {
	padding-left: 5vw;
	padding-right: 5vw;
}

.html-prison-plan-single {
	background-color: black;
	width: 100%;
	height: auto;
	padding-top: 50px;
	padding-bottom: 50px;
	text-align: center;
	border-style: solid;
	border-top-width: 1px;
	border-left-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-top-color: #deb95f;
}

.word-prison-plan-single {
	padding-left: 5vw;
	padding-right: 5vw;
}

.word-prison-same {
	padding-left: 5vw;
	padding-right: 5vw;
}

.h1-same {
	color: #deb95f;
	padding-top: 50px;
	font-size: 4em;
}

.h2-same {
	color: #deb95f;
	font-size: 2.5em;
}

.p-same {
	margin-top: 20px;
	font-size: 1.5em;
}

.table-prison-same {
	margin-top: 10px;
	display: flex;
	justify-content: center;
}

.select-dropdown {
	background-color: #373737;
	font-size: 25px;
	font-weight: bold;
	color: #deb95f; 
	border-style: solid; 
	border-width: 1px; 
	border-color: #ffffff; 
	text-align: center;
}

/* Images */

.img-1 {
	margin-top: 10px;
	width: 80%;
	height: auto;
}

.img-nbn-co-logo {
	margin-top: 20px;
	width: 200px;
	height: auto;
}

.img-opticomm-logo {
	width: 200px;
	height: auto;
}

.img-network-cable-map {
	width: 100%;
	height: auto;
}

.svg-prison-network-cable-map {
	margin-top: 50px;
	width: 100%;
}

.svg-prison-ozot-network-architecture {
	width: 100%;
	margin-top: 10px;
}

.discounts-img {
	width: 250px;
	height: auto;
	border-radius: 5px;
}

/* Footer */

.html-prison-footer {
	background-color: black;
	width: 100%;
	height: auto;
	padding-bottom: 80px;
	text-align: center;
	border-style: solid;
	border-top-width: 1px;
	border-left-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-top-color: #deb95f;
}

.p-tips-fedora {
	padding-top: 30px;
}

.p-tips-fedora-a {
	padding-top: 30px;
	font-size: 2.5em;
	color: #deb95f;
	text-decoration: none;
}

.p-footer {
	font-size: 18px;
}

.p-footer a {
	color: white;
	text-decoration: none;
}

/* Network Architecture Styles - MOBILE FIRST */
.network-architecture-container {
    border: 1px solid #deb95f;
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
}

.network-title-section {
    margin-bottom: 0px;
}

.network-title {
    color: #deb95f;
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.network-subtitle {
    color: white;
    font-size: 1.1rem;
    opacity: 0.9;
}

.network-viz-wrapper {
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
}

.network-visualization {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.network-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    font-weight: 400;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.home-dot { 
    background: white;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

.access-dot { 
    background: #a21e21;
    box-shadow: 0 0 6px rgba(162, 30, 33, 0.6);
}

.data-center-dot { 
    background: #deb95f;
    box-shadow: 0 0 6px rgba(222, 185, 95, 0.6);
}

/* Add this to ensure no dots linger */
.data-packet {
    pointer-events: none;
}

.zoomies {
	stroke: white;
	fill: transparent;
	stroke-width: 1;
	stroke-dasharray: 5;
	stroke-dashoffset: 0;
	animation: fastasfookboi 5s linear infinite;
}

@keyframes fastasfookboi {
	100% {
		stroke-dashoffset: 500;
	}
}

.loader-container {
  display: flex;
  justify-content: center;     /* horizontal center */
  align-items: center;         /* vertical center */
  height: auto;               /* full viewport height – adjust as needed */
  /* or min-height: 200px; or whatever height you want */
}

.loader {
  border: 5px solid #f3f3f3;
  border-radius: 50%;
  border-top: 5px solid grey;
  width: 50px;
  height: 50px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Desktop view */
@media (min-width: 1260px) {
	
	.hide-on-desktop {
		display: none !important;
	}
	
	/* needed for header stuff */
	.hide-on-mobile {
		display: inline-block !important;
	}
	
	/* Header */

    /* Hide hamburger + close buttons */
    .menu-open,
    .menu-close {
        display: none;
    }

	header {
		display: flex;
		justify-content: space-between;
		height: 10vh; /* match */
	}

	.header-left-side {
		display: flex;
		justify-content: space-between;
		margin-left: 10vw;
	}

	nav ul {
		background: transparent;
		position: relative;
		height: auto;
		width: auto;
		text-align: right;
		transform: none;
		overflow: visible;
	}

	nav ul li {
		display: inline-block; /* stops stacking them vertically */
		padding-top: auto;
		padding-bottom: auto;
		margin-left: 0.8em;
		margin-right: 0.8em;
	}
	
	nav ul li a {
		color: white;
		text-decoration: none;
		font-weight: 600;
		font-size: 1.1rem;

		&:hover {
			text-decoration: none;
			color: #deb95f;
		}
		
	}
	
	.nav-ul-li-login {
		margin-right: 0;
		margin-top: 0;
	}
	.nav-ul-li-a-login {
		background-color: #deb95f;
		color: black;
		border: none;
		text-align: center;
		text-decoration: none;
		display: inline-block;
		cursor: pointer;
		border-radius: 5px;
		padding: 12px;
	}
	
	.nav-ul-li-signup {
		margin-right: 0;
		margin-left: 0;
	}
	.nav-ul-li-a-signup {
		background-color: #deb95f;
		color: black;
		border: none;
		text-align: center;
		text-decoration: none;
		display: inline-block;
		cursor: pointer;
		border-radius: 5px;
		padding: 12px;
	}
	
	nav ul li:last-child a {
		margin-right: 10vw;
	}

	.header-logo {
		width: auto;
		height: 70px;
	}

	/* Anchor point */
	.company-desktop {
		position: relative;
	}

	/* Dropdown container */
	.company-dropdown {
		display: none;
		position: absolute;
		top: calc(100% + 5px); /* closer to parent link */
		right: 0;

		background: linear-gradient(180deg, #080808, #020202);
		border: 1px solid rgba(222,185,95,0.55);
		border-radius: 12px;

		min-width: 260px;
		padding: 10px 0;

		z-index: 999;
		box-shadow:
			0 12px 30px rgba(0,0,0,0.65),
			inset 0 0 0 1px rgba(255,255,255,0.03);

		opacity: 0;
		transform: translateY(6px) scale(0.98);
		pointer-events: none;

		transition:
			opacity 0.18s ease,
			transform 0.18s ease;
	}

	/* Show dropdown on hover */
	.company-desktop:hover .company-dropdown {
		display: block;
		opacity: 1;
		transform: translateY(0) scale(1);
		pointer-events: auto;
	}

	/* Reset inherited nav styles */
	.company-dropdown ul {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.company-dropdown li {
		display: block !important;
		margin: 0 !important;
		padding: 0;
		position: relative;
	}

	/* Dropdown links */
	.company-dropdown li a {
		display: flex;
		align-items: center;
		gap: 12px;

		padding: 13px 22px;
		width: 100%;

		color: #f2f2f2;
		font-size: 0.95rem;
		font-weight: 400;
		line-height: 1.2;

		text-decoration: none;
		text-align: left;
		white-space: nowrap;

		border-radius: 8px;
		margin: 2px 8px;

		transition:
			background 0.15s ease,
			color 0.15s ease,
			transform 0.15s ease;
	}

	/* Hover state */
	.company-dropdown li a:hover {
		background: linear-gradient(
			90deg,
			rgba(222,185,95,0.18),
			rgba(222,185,95,0.05)
		);
		color: #deb95f;
		transform: translateX(2px);
	}

	/* Subtle separators */
	.company-dropdown li + li a::before {
		content: "";
		position: absolute;
		left: 22px;
		right: 22px;
		top: -2px;
		height: 1px;
		background: linear-gradient(
			90deg,
			transparent,
			rgba(255,255,255,0.08),
			transparent
		);
	}

	/* Dropdown caret */
	.company-desktop > a {
		position: relative;
	}

	.company-desktop > a::after {
		content: "▾";
		margin-left: 6px;
		font-size: 0.75em;
		opacity: 0.7;
		transition: transform 0.15s ease, opacity 0.15s ease;
	}

	.company-desktop:hover > a::after {
		transform: rotate(180deg);
		opacity: 1;
	}

	/* Invisible hover buffer */
	.company-dropdown::before {
		content: "";
		position: absolute;
		top: -14px;
		left: 0;
		right: 0;
		height: 14px;
	}

	/* Keyboard accessibility */
	.company-dropdown a:focus-visible {
		outline: none;
		background: rgba(222,185,95,0.25);
		color: #deb95f;
	}
	
	/* Anchor point */
	.tools-desktop {
		position: relative;
	}

	/* Dropdown container */
	.tools-dropdown {
		display: none;
		position: absolute;
		top: calc(100% + 5px); /* closer to parent link */
		right: 0;

		background: linear-gradient(180deg, #080808, #020202);
		border: 1px solid rgba(222,185,95,0.55);
		border-radius: 12px;

		min-width: 260px;
		padding: 10px 0;

		z-index: 999;
		box-shadow:
			0 12px 30px rgba(0,0,0,0.65),
			inset 0 0 0 1px rgba(255,255,255,0.03);

		opacity: 0;
		transform: translateY(6px) scale(0.98);
		pointer-events: none;

		transition:
			opacity 0.18s ease,
			transform 0.18s ease;
	}

	/* Show dropdown on hover */
	.tools-desktop:hover .tools-dropdown {
		display: block;
		opacity: 1;
		transform: translateY(0) scale(1);
		pointer-events: auto;
	}

	/* Reset inherited nav styles */
	.tools-dropdown ul {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.tools-dropdown li {
		display: block !important;
		margin: 0 !important;
		padding: 0;
		position: relative;
	}

	/* Dropdown links */
	.tools-dropdown li a {
		display: flex;
		align-items: center;
		gap: 12px;

		padding: 13px 22px;
		width: 100%;

		color: #f2f2f2;
		font-size: 0.95rem;
		font-weight: 400;
		line-height: 1.2;

		text-decoration: none;
		text-align: left;
		white-space: nowrap;

		border-radius: 8px;
		margin: 2px 8px;

		transition:
			background 0.15s ease,
			color 0.15s ease,
			transform 0.15s ease;
	}

	/* Hover state */
	.tools-dropdown li a:hover {
		background: linear-gradient(
			90deg,
			rgba(222,185,95,0.18),
			rgba(222,185,95,0.05)
		);
		color: #deb95f;
		transform: translateX(2px);
	}

	/* Subtle separators */
	.tools-dropdown li + li a::before {
		content: "";
		position: absolute;
		left: 22px;
		right: 22px;
		top: -2px;
		height: 1px;
		background: linear-gradient(
			90deg,
			transparent,
			rgba(255,255,255,0.08),
			transparent
		);
	}

	/* Dropdown caret */
	.tools-desktop > a {
		position: relative;
	}

	.tools-desktop > a::after {
		content: "▾";
		margin-left: 6px;
		font-size: 0.75em;
		opacity: 0.7;
		transition: transform 0.15s ease, opacity 0.15s ease;
	}

	.tools-desktop:hover > a::after {
		transform: rotate(180deg);
		opacity: 1;
	}

	/* Invisible hover buffer */
	.tools-dropdown::before {
		content: "";
		position: absolute;
		top: -14px;
		left: 0;
		right: 0;
		height: 14px;
	}

	/* Keyboard accessibility */
	.tools-dropdown a:focus-visible {
		outline: none;
		background: rgba(222,185,95,0.25);
		color: #deb95f;
	}
	
	.h1-1 {
		padding-top: 80px;
	}

	.desktop-prison {
		max-width: 1200px;
		margin: 0 auto;   /* centers horizontally */
		width: 100%;      /* makes it responsive */
	}
	
	.desktop-prison-footer {
		max-width: 1200px;
		margin: 0 auto;   /* centers horizontally */
		width: 100%;      /* makes it responsive */
	}

	.img-1 {
		margin-top: 10px;
		width: 50%;
		height: auto;
	}

}

@media (min-width: 1620px) {
	
	/* Header */

	.header-left-side {
		margin-left: 20vw;
	}
	
	nav ul li:last-child a {
		margin-right: 18vw;
	}

}