@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

* {
    padding: 0px;
    margin: 0px;
    font-family: sans-serif; 
}
html {
    scroll-behavior: smooth;
  }
main {
    overflow-x: hidden;
}
/* Start of Header Section */
.orange {
    color: orangered;
}

.title {
    font-size: 26px;
    text-decoration: none;
    color: white;
}

.title:hover {
    color: orangered;
}
header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 80px;
    background-color: #222;
    z-index: 999;
}
.logo {
    height: 40px;
}
.title-and-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.navigation a{
    text-decoration: none;
    color: white;
    border: 2px solid transparent;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
}

.navigation a:hover {
    border-bottom: 2px solid orangered;
}

.navigation a:nth-child(2) {
    margin-right: 20px;
    margin-left: 20px;
}

.navigation a:nth-child(4) {
    margin-right: 20px;
    margin-left: 20px;
}

.navigation .order {
    border: 2px solid transparent;
    background-color: orangered;
    color: #222;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 7px;
    padding-top: 7px;
}

.navigation .order:hover {
    background-color: white;
    border-bottom: 2px solid white;
}



/* Start of Main Section */

.background {
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(Images/background.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
     
}

.background-text{
    width: 500px;
    height: 200px;
    color: rgb(238, 231, 231);
    text-align: center;
    font-size: 32px;
}

.background-text p {
    margin-bottom: 15px;
}

.about-us-button {
    color: orangered;
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.about-us-button:hover {
    border-bottom: 2px solid orangered;
    cursor: pointer;
}

.white {
    font-weight: bold;
    color: white;
}

.line {
    margin-left: 20%;
    margin-right: 10%;
    height: 2px;
    width: 300px;
    background-color: gray;
    margin-top: 15px;
    margin-bottom: 15px;
}

.rdc {
    font-size: 46px;
    color: white;
    font-weight: bold;
}


/* Start of Contents */

.contents {
    background-color: white;
    width: 80vw;
    margin-left: 10vw;
    margin-right: 10vw;
    border: 2px solid #adabab;
    border-top: 2px solid orangered;
    position: relative;
    margin-top: -60px;
}

.section-divider {
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 2.5vw;
    margin-right: 2.5vw;
    height: 2px;
    width: 75vw;
    background-color: #adabab;
}

.section-divider2 {
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 10vw;
    margin-right: 10vw;
    height: 2px;
    width: 80vw;
    background-color: #adabab;
}

.circle {
    height: 60px;
    width: 60px;
    border-radius: 10000px;
    background-color: black;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.small-section .circle img {
    height: 35px;
    margin-top: 0px;
    width: 35px;
}


.circle-text {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: black;
    font-weight: bold;
    font-size: 18px;
}
.services-work {
    font-size: 14px;
    color: rgb(128, 122, 122);
    display: flex;
    column-gap: 20px;
    justify-content: space-around;
    align-items: center;
    margin-left: 3vw;
    margin-right: 1vw;
}

.small-section {
    height: 200px;
    width: 250px;
}


.big-text {
    margin-top: 15px;
    font-size: 30px;
    margin-bottom: 15px;
    color: rgb(128, 122, 122);
}

.small-text {
    margin-bottom: 40px;
}

.view-more{
    padding: 10px 20px;
    background-color: black;
    color: white;
    text-decoration: none;
}

.view-more:hover {
    background-color: orangered;
}

.small-section img {
    width: 200px;
    height: 140px;
    margin-top: 20px;
}

/* Testimonial section */
.testi-text{
    margin-top: 15px;
    font-size: 30px;
    margin-bottom: 30px;
    color: rgb(128, 122, 122);
    margin-left: 20px;

}

.testimonials {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
}

.testimonials img {
    height: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.testimonials img:nth-child(1) {
    transform: rotate(180deg);
}

/* Footer Section */
.footer {
    margin-top: 30px;
    border-top: 3px solid orangered;
    background-color: #222;
    
}

.footer-under {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    flex-direction: row;
    color: rgb(197, 191, 191);
    margin-bottom: 30px;
    margin-left: 2vw;
    column-gap: 20px;

}
.footer-title {
    font-weight: bold;
    color: white;
    margin-top: 30px;
    margin-bottom: 30px;
}
.social {
    width: 300px;
}
.social img {
    margin-top: 30px;
    height: 30px;
    width: 30px;
    background-color: orangered;
    padding: 5px;
}

.social img:hover {
    transform: scale(110%);
    
}
.contactFooter p:nth-child(3) {
    margin-bottom: 30px;
    margin-top: 30px;
}
.contactFooter {
    width: 300px;
}
.gallery {
    width: 300px;
}

.gallery img {
    width: 56px;
    height: 56px;
}

.gallery img:hover {
    transform: scale(120%);
}

.by-me{
    color: white;
    margin-bottom: 30px;
}

.by-me-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.by-me-container a{
    text-decoration: none;
    color: orangered;
}

.by-me-container a:hover {
    text-decoration: underline;
}


/* Orange Ball */
.orange-ball {
    height: 40px;
    width: 40px;
    border-radius: 1000px;
    background-color: orangered;
}

.orange-ball-container {
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Header Separator */

.header-separator {
    height: 80px;
}



/* Gallery Section */

.categories {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}

.categories button {
    border: 2px solid transparent;
    background-color: transparent;
    color: #222;
    font-size: 26px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 7px;
    padding-top: 7px;
}

.categories button:nth-child(2) {
    margin-left: 20px;
    margin-right: 20px;
}

.categories button:hover {
    border-bottom: 2px solid orangered;
    cursor: pointer;
    color: orangered;
}
.gallery-section-container {
    margin-top: 50px;
    margin-bottom: 50px;
    
}

#fences-gallery, #decks-gallery, #patios-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80vw;
    margin-left: 10vw;
    margin-right: 10vw;
    display: none;
}

#fences-gallery {
    display: flex;
}

.fences-gallery:nth-child(2) {
    margin-top: 60px;
    margin-bottom: 60px;
}

.gallery-images {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 30px;
    margin-bottom: 30px;
    row-gap: 30px;
}
.gallery-images img {
    height: 400px;
    width: 350px;
}

.gallery-images img:hover {
    cursor: pointer;
    transform: scale(1.2);
    transition: 0.3s;
}




/* Hamburger Menu */

#hamburger-icon {
    display: none;
    cursor: pointer;
}
  
#bar1, #bar2, #bar3 {
    height: 2px;
    width: 20px;
    background-color: #222; 

    z-index: 999;
}

#bar1, #bar2 {
    margin-bottom: 3px;
}

.barContainer {
    background-color: white;
    margin-right: 30px;
    padding: 15px;
    border-radius: 15px;
    position: fixed;
    top: 25px;
    right: 15px;
    z-index: 2;
}

.open #bar1 {
    -webkit-transform: rotate(-45deg) translate(-3px, 4px);
    transform: rotate(-45deg) translate(-3px, 4px);
  }
  
  .open #bar2 {
    opacity: 0;
  }
  
  .open #bar3 {
    -webkit-transform: rotate(45deg) translate(-3px, -4px);
    transform: rotate(45deg) translate(-3px, -4px);
  }
  
  .open #mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }




#mobile-menu {
    background-color: #222;
    border-top: 1px solid black;
    display: none;
    position: fixed;
    top: -1px;
    width: 100vw;
    height: 100vh;
    right: 0;
    z-index: 1;
}

.mobile_book {
    width: 400px;
    background-color: white;
    padding: 20px 20px;
    text-align: center;
    color: #222;
    text-decoration: none;
    margin-top: 40px;
    border-radius: 10px;
    font-size: 25px;
}

.mobile_media img{
    height: 30px;
    width: 30px;
    margin-right: 10px;
}

.mobile_media {
    display: flex;
    justify-content: flex-start;
    width: 400px;
}


.mobileLinks {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 100px;
}

.mobileLinks a {
    width: 400px;
    padding: 15px;
    color: white;
    text-decoration: none;
    font-size: 30px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    border-radius: 10px;
    
}

.mobileLinks a:hover {
    cursor: pointer;
    background-color: orangered;
    color: white;
}



/* Mobile Stuff */
@media only screen and (max-width: 1050px){
    .services-work {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        row-gap: 30px;
        justify-content: space-around;
        align-items: center;
    }
}
@media only screen and (max-width: 900px) {
    #hamburger-icon {
      display: block;
    }
    .navigation {
        display: none;
    }
}


@media only screen and (max-width: 500px) {
    .mobile_book {
        width: 80vw;
    }
    
    .mobileLinks a {
        width: 80vw;
    }

    .mobile_media {
        width: 80vw;
    }
}

@media only screen and (max-width: 400px) {
    .categories button {
        border: 2px solid transparent;
        background-color: transparent;
        color: #222;
        font-size: 18px;
        padding-left: 7px;
        padding-right: 7px;
        padding-bottom: 7px;
        padding-top: 7px;
    }
}



/* Contact Form */



.contact 
{
	padding: 50px 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	color: #222;
    width: 80vw;
    margin-left: 5vw;
    margin-right: 10vw;
    z-index: 0;
}
.contact .content 
{
	max-width: 800px;
	text-align: center;
}
.contact .content h2 
{
	font-size: 3em;
	font-weight: 500;
}
.contact .content p 
{
	font-size: 1.1em;
	font-weight: 300;
}
.container 
{
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 50px;
	margin-top: 30px;
}
.container .contactInfo 
{
	width: 50%;
	display: flex;
	flex-direction: column;
}
.container .contactInfo .box 
{
	position: relative;
	padding: 20px 0;
	display: flex;
}
.container .contactInfo .box .icon 
{
	position: relative;
	min-width: 60px;
	height: 60px;
	
	background: repeating-conic-gradient(from 27.5deg,orangered 0%, orangered 10%,transparent 10%,transparent 50%);
	display: flex;
	justify-content: center;
	align-items: center;
}

.container .contactInfo .box .icon::before 
{
	content: '';
	position: absolute;
	inset: 0;
	
	background: repeating-conic-gradient(from 117.5deg,orangered 0%, orangered 10%,transparent 10%,transparent 50%);

} 
.container .contactInfo .box .icon::after 
{
	content: '';
	position: absolute;
	inset: 2px;
	background: #222;
} 
.container .contactInfo .box .icon b 
{
	position: absolute;
	inset: 8px;
	background: orangered;
	z-index: 2;
}
.container .contactInfo .box .icon i
{
	position: relative;
	z-index: 1000;
	color: #333;
	font-size: 1.25em;
	transition: 0.5s;
}
.container .contactInfo .box .text 
{
	display: flex;
	flex-direction: column;
	margin-left: 20px;
	font-size: 1.1em;
	font-weight: 300;
}
.container .contactInfo .box .text h3 
{
	font-weight: 500;
	color: orangered;
}
.container .contactInfo .txt
{
	margin-top: 50px;
	font-weight: 500;
	padding-left: 10px;
	border-left: 50px solid orangered;
	line-height: 1em;
}
.sci 
{
	position: relative;
	display: flex;
	gap: 30px;
	margin: 20px 0;
}

.sci img {
    height: 30px;
}
.sci li 
{
	list-style: none;
}
.sci li a 
{
	font-size: 1.5em;
	transition: 0.5s;
}
.sci li a:hover 
{
	color: orangered;
	filter: drop-shadow(0 0 7px orangered);
}

@property --a
{
	syntax: '<angle>';
	inherits: false;
	initial-value: 0deg;
}
.container .contactForm
{
	position: relative;
	width: 40%;
    margin-right: 5vw;
	background: repeating-conic-gradient(from var(--a),orangered 0%, orangered 10%,transparent 10%,transparent 50%);
	animation: animate 6s linear infinite;
	min-height: 100px;
	padding: 60px;
} 
@keyframes animate 
{
	0% 
	{
		--a: 0deg
	}
	100% 
	{
		--a: 360deg
	}
}
.container .contactForm::before 
{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: repeating-conic-gradient(from var(--a),orangered 0%, orangered 10%,transparent 10%,transparent 50%);
	animation: animate 6s linear infinite;
	animation-delay: -1.5s;
}
.container .contactForm::after 
{
	content: '';
	position: absolute;
	inset: 2px;
	border: 20px solid #222;
	background: #333;
} 
.container .contactForm form 
{
	position: relative;
	z-index: 10;
}
.container .contactForm h2 
{
	font-size: 2em;
	color: #fff;
	font-weight: 500;
}
.container .contactForm .inputBox 
{
	position: relative;
	width: 100%;
	margin-top: 20px;
}
.container .contactForm .inputBox input, 
.container .contactForm .inputBox textarea 
{
	width: 100%;
	padding: 5px 0;
	font-size: 1.1em;
	margin: 10px 0;
	border: none;
	background: transparent;
	border-bottom: 2px solid orangered;
	color: #fff;
	outline: none;
	resize: none;
}
.container .contactForm .inputBox span 
{
	position: absolute;
	left: 0;
	pointer-events: none;
	padding: 5px 0;
	margin: 10px 0;
	font-size: 1.1em;
	color: #fff;
	transition: 0.5s;
}
.container .contactForm .inputBox input:focus ~ span, 
.container .contactForm .inputBox textarea:focus ~ span,
.container .contactForm .inputBox input:valid ~ span, 
.container .contactForm .inputBox textarea:valid ~ span 
{
	color: orangered;
	font-size: 0.9em;
	transform: translateY(-24px);
}
.container .contactForm .inputBox input[type="submit"]
{
	width: 100px;
	background: orangered;
	color: #222;
	border: none;
	cursor: pointer;
	padding: 10px;
	font-size: 1.1em;
	font-weight: 500;
}

/* lets make it responsive */
@media (max-width: 991px)
{
	.contact
	{
		padding: 50px;
	}
	.container
	{
		flex-direction: column;
	}
	.container .contactInfo,
	.container .contactForm
	{
		width: 100%;
	}
	.container .contactForm form 
	{
		padding: 30px;
	}
	.container .contactForm
	{
		padding: 50px 30px;
	}
}

@media (max-width: 600px) {
    .contact {
        margin-left: 0vw;
        margin-right: 0vw;
    }
    .container .contactForm{
        margin-left: 5vw;
    }
}

@media (max-width: 450px) {
    .container .contactForm{
        margin-left: -1vw
    }
    .footer-under {
        text-align: center;
    }
}

@media (max-width: 400px) {
    .container .contactForm{
        margin-left: -2vw
    }
}

@media (max-width: 370px) {
    .container .contactForm{
        margin-left: -3vw
    }
}