@import url(defaultSetting.css);

/* ### Banner ### */
.banner {
    height: 70vh;
    width: 100%;
    background: url(../img/surveillanceBanner.jpg);
    object-fit: cover;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.bannerText {
    color: white;
    position: absolute;
    top: 50%;
    right: 100px;
    transform: translateY(100px);
}

.bannerText h1 {
    font-size: 4rem;
}

.bannerText p {
    font-size: 22px;
    line-height: 2rem;
    margin-top: 80px;
}

/* ### Main ### */

main {
    width: 100%;
}

.panel1 {
	display: flex;
	justify-content: space-evenly;
	text-align: center;
	width: 100%;
	padding: var(--spacing);
	margin: auto;
	font-size: var(--fontSize);
	line-height: var(--lineHeight);
	background: linear-gradient(var(--black), white);
	overflow: hidden;
}

.panel1Text {
	width: var(--margin);
	margin: auto;
	padding-right: 40px;
	padding-top: 20px;
}

.panel1Text h2 {
    margin: auto;
    color: white;
}

.panel1Text p{
    text-align: justify;
    margin-top: 20px;
    color: black
}

.panel1Form {
	flex: 2;
	width: var(--margin);
	background: white;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	padding-top: var(--spacing);
	padding-bottom: var(--spacing);
	box-shadow: 10px 10px 50px;
}

.formContainer input {
    width: var(--margin);
    height: 25px;
    margin-top: 5px;
    padding-left: 5px;
    font-size: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    
}

.formContainer textarea {
    width: var(--margin);
    height: 60px;
    margin-top: 5px;
    padding-left: 5px;
    font-size: 1rem;
    resize: vertical;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.formBtn {
    width: var(--margin);
    height: 40px;
    margin-top: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    background-color: rgb(107, 107, 243);
    color: white;
    border-radius: 10px;
}

.formBtn:hover {
    background-color: rgb(26, 26, 248);
}

.title {
    font-size: var(--title);
    padding-top: var(--spacing);
    padding-bottom: 20px;
    text-align: center;
}

.videoUl {
    line-height: var(--lineHeight);
    font-size: var(--fontSize);
    padding-top: 20px;
    margin: 0 20%;
}

.videoUl h4 {
    margin: 0 20%;
}

.panel3Text img {
    float: right;
    padding-right: 160px;
}

.accessControl {
    /* this is for parallax effect for background-attachment
    fixed = parallax 
    scroll = normal */
	background: linear-gradient(
        rgba(0, 0, 0, 0.4), 
        rgba(0, 0, 0, 0.4)
    ),url(/img/accessBanner2.jpg);
	background-attachment: fixed;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	height: 300px;
    color: rgb(255, 255, 255);
    margin-top: var(--spacing);
}


/* add something here for different dot */
.videoUl li {
    list-style: url();
}

main p {
    width: 80%;
    margin: auto;
    text-align: justify;
    font-size: var(--fontSize);
    line-height: var(--lineHeight);
}

/* ### Faq ### */

.panel4 {
	width: var(--margin);
	margin: auto;
}

.faqContainer {
	margin-bottom: 5px;
}

.faqBtn {
	display: block;
	width: 100%;
	padding: 15px;
	font-size: 1rem;
	border: none;
	outline: none;
	cursor: pointer;
	background: #333;
	text-align: left;
	color: white;
	transition: background 0.2s;
}

/* add arrow at end */
.faqBtn::after {
	content: '\25be';
	float: right;
	transform: scale(1.5);
}

/* has to have both of these classes active for code to work. so javascript will enable or disable the first class to show or hide content */
.faqBtn--active + .faqContent {
	display: block;
}

/* will change color when active */
.faqBtn--active {
	background: #555;
}

/* will change arrow to up */
.faqBtn--active:after {
	content: '\25b4'
}

/* to hide content and then show when using javascript */
.faqContent {
	display: none;
	overflow: auto;
	padding: 10px 15px;
	background: #eee;
}

.faqContent p {
	width: 100%;
}

/* ### Footer ### */

footer {
	margin-top: 100px;
}

.footerContainer {
	display: flex;
	justify-content: space-around;
	text-transform: capitalize;
	background-color: rgb(223, 223, 223);
	padding-top: var(--spacing);
	padding-bottom: var(--spacing);
	font-size: var(--fontSize);
	line-height: var(--lineHeight);
}

.social ul {
	display: flex;
	font-size: 2rem;
}

.social ul li {
	padding: 10px;
}

.social a:hover {
	color: rgb(34, 34, 252);
}

.footerContainer h4 {
	font-size: 1.5rem;
}

.footerContainer a {
	color: rgb(51, 51, 51);
}

.footerLinks {
	display: flex;
	justify-content: space-around;
    column-gap: 30px;
}

.footerBottom {
	background-color: rgb(32, 32, 32);
	color: white;
	text-align: center;
	padding: 15px;
}

/* ### Media ### */

@media all and (max-width: 700px) {
	:root {
		--mediaFont: .8rem;
		--mediaTitle: 1.1rem;
	}
	h2 {
		font-size: var(--mediaTitle);
	}
	p {
		font-size: var(--mediaFont);
	}

	.heading {
		display: none;
	}

	.banner {
		height: 70vh;
		object-fit: cover;
		position: relative;
	}

    .bannerText {
		position: absolute;
		top: 50%;
		right: 50%;
    }
    .bannerText h1 {
        font-size: 2rem;
        text-align: center;
    }

	.navLinks {
		display: none;
		flex-direction: column;
		width: 100%;
	}
	.navLinks.show {
		display: flex;
	}
	.navLinks ul {
		flex-direction: column;
		text-align: center;
	}
	.hamburger {
		display: block;
	}

	.panel1 {
		flex-direction: column;
		align-items: center;
	}
	.panel1Text {
		padding-right: 0;
		width: 100%;
	}
	.panel1Text p {
		text-align: left;
	}

	.panel1Form {
		margin-top: 20px;
		width: 100%;
	}

    .panel3Text img {
        float: none;
    }

    .accessControl {
        height: 120vh;
    }

    footer {
		margin-top: 180px;
	}
	.footerContainer {
		flex-direction: column;
	}
	.social ul {
		justify-content: center;
	}
	.footerContact,
    .footerContact p {
		text-align: center;
	}
	.footerContainer img {
		max-width: 200px;
	}
}