*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic+Coding&display=swap');
:root{
    --clr-dark: #000;
    --clr-light: #fff;
    --clr-grey:#a09ea2;
    --clr-accent: rgb(96, 55, 160);
}

html, body {
    overflow-x: hidden;
}

body{
    background-color: var(--clr-dark);
    color: var(--clr-light);
    line-height: 1.2;
    font-size: 18px;
    font-family: 'Nanum Gothic Coding', monospace;
    margin: 0;
}

.image-logo {
    height: 120px;
    width: auto;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 5px;
}

.logo {
    margin-top: 25px;
    margin-bottom: 15px;
}

.header-title {
    font-size: 55px;
    margin-bottom: 10px;
    color: var(--clr-accent);
    text-shadow: 2px 2px 2px var(--clr-dark);
}

.video-wrapper {
    /* Telling our absolute positioned video to 
    be relative to this element */
    position: relative;
    max-width: 100%;
    height: 500px;
    padding: 30px 30px; 
  
    /* Will not allow the video to overflow the 
    container */
    overflow: hidden;
  
    /* Centering the container's content vertically 
    and horizontally */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

 
video {
    /** Simulationg background-size: cover */
  object-fit: cover;
  position: absolute;
  height: 100%;
  width: 100%;
}

.overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(96, 55, 160, 0.3);
    width: 100vw;
    height: 100vh;
}

.header {
    position: relative;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--clr-light);
    border-radius: .5rem;
    padding: 15px 15px;
    width: 65%;   
    font-size: 25px; 
}

@media screen and (max-width: 812px) {
    .header {
        width: 100%;
    }
}

/* NEON BUTTON */
.btn{
    padding: 15px 30px;
    color: var(--clr-light);
    background-color: var(--clr-dark);
    text-transform: uppercase;
    letter-spacing: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    overflow: hidden;
    transition: 0.2s;
    border-radius: 1rem;
    cursor: pointer;
}

.btn:hover{
	color: var(--clr-accent);
    background: var(--clr-dark);
    box-shadow: 0 0 10px var(--clr-accent),0 0 40px var(--clr-accent),0 0 80px var(--clr-accent);
    transition-delay: .1s;

}

.btn span{
	position: absolute;
    display: block;
}

.btn span:nth-child(1){
	top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,transparent,var(--clr-accent));
}

.btn:hover span:nth-child(1){
	left: 100%;
	transition: .5s;
}

.btn span:nth-child(3){
	bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg,transparent,var(--clr-accent));
}

.btn:hover span:nth-child(3){
	right: 100%;
	transition: 1s;
    transition-delay: 0.5s;
}

.btn span:nth-child(2){
	top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,transparent,var(--clr-accent));
}

.btn:hover span:nth-child(2){
	top: 100%;
	transition: 1s;
    transition-delay: 0.25s;
}

.btn span:nth-child(4){
	bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg,transparent,var(--clr-accent));
}

.btn:hover span:nth-child(4){
	bottom: 100%;
	transition: 1s;
    transition-delay: 0.75s;
}

/*About*/
.about {
    text-align: center;
    margin-top: 20px;
    font-size: 34px;
}

.about span {
    display: inline-block;
    position: relative;
    margin-top: 50px;
    color: var(--clr-light);
}

.about span:before,
.about span:after {
    content: "";
    position: absolute;
    height: 22px;
    border-bottom: 1px solid var(--clr-accent);
    top: 0;
    width: 600px;
}

.about span:before {
    right: 100%;
    margin-right: 15px;
}

.about span:after {
    left: 100%;
    margin-left: 15px;
}

.about-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.about-box{
    max-width: 40%;
    padding: 20px;
    margin-top: 35px;
    text-align: center;
    color: var(--clr-light);
    cursor: pointer;
}

.about-icon{
    display: inline-block;
    width: 70px;
    height: 76px;
    border: 3px solid var(--clr-light);
    color: var(--clr-light);
    transform: rotate(45deg);
    margin-bottom: 30px;
    margin-top: 16px;
    transition: 0.3 linear;
}

.about-icon i{
    line-height: 65px;
    transform: rotate(-45deg);
    font-size: 30px;
}

.about-icon-img {
    height: 45px;
    width: 45px;
    transform: rotate(-45deg);
    filter: invert(100%) grayscale(100%); /*filter changes the color of the logo*/
    margin-bottom: 30px;
    margin-top: 16px;
}

.about-box:hover .about-icon {
    background:var(--clr-accent);
    color: var(--clr-dark);
    
}

.about-title{
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: bold;
    color:var(--clr-accent)
}

.about-desc{
    font-size: 24px;
    font-family: var(--clr-light);
    text-align: left;
}

@media screen and (max-width:960px) {
    .about-box{
        max-width: 45%;
    }
}

@media screen and (max-width:768px) {
    .about-box{
        max-width: 50%;
    }
    .header-title {
        font-size: 45px;
    }
}

@media screen and (max-width:480px) {
    .about-box{
        max-width: 100%;
    }
}

/* Services */
.services {
    text-align: center;
    margin-top: 20px;
    font-size: 34px;
}

.services span {
    display: inline-block;
    position: relative;
    margin-top: 50px;
    color: var(--clr-light);
}

.services span:before,
.services span:after {
    content: "";
    position: absolute;
    height: 22px;
    border-bottom: 1px solid var(--clr-accent);
    top: 0;
    width: 600px;
}

.services span:before {
    right: 100%;
    margin-right: 15px;
}

.services span:after {
    left: 100%;
    margin-left: 15px;
}

.services-section{
    padding: 60px 0;
    background-color: black;
 }
 
 .border{
     width: 160px;
     height: 2px;
     background: #ddd;
     margin: 40px auto;
 }
 
 .services-container{
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
 }
 
 .service-box{
     max-width: 40%;
     padding: 10px;
     margin-top: 35px;
     text-align: center;
     color: var(--clr-light);
     cursor: pointer;
 }
 
 .service-icon{
     display: inline-block;
     width: 70px;
     height: 76px;
     border: 3px solid #ddd;
     color: var(--clr-light);
     transform: rotate(45deg);
     margin-bottom: 30px;
     margin-top: 16px;
     transition: 0.3 linear;
 }
 
 .service-icon i{
     line-height: 65px;
     transform: rotate(-45deg);
     font-size: 30px;
 }
 
 .service-icon-img {
     height: 45px;
     width: 45px;
     transform: rotate(-45deg);
     filter: invert(100%) grayscale(100%); /* filter changes the color of the logo */
     margin-bottom: 30px;
     margin-top: 16px;
 }
 
 .service-box:hover .service-icon{
     background:var(--clr-accent);
     color: var(--clr-dark);
 }
 
 .service-title{
     font-size: 24px;
     text-transform: uppercase;
     margin-bottom: 20px;
     font-weight: bold;
     color:var(--clr-accent)
 }
 
 .service-desc{
     margin: 0 auto;
    font-size: 24px;
    font-family: var(--clr-light);
    text-align: left;
 }

 @media screen and (max-width:960px) {
     .service-box{
         max-width: 45%;
     }
 }
 
 @media screen and (max-width:768px) {
     .service-box{
         max-width: 50%;
     }
 }
 
 @media screen and (max-width:480px) {
     .service-box{
         max-width: 100%;
     }
 }
 
 /* END SERVICES SECTION */

 /* CONTACT */
 .contact {
    text-align: center;
    margin-top: 20px;
    font-size: 34px;;
}

.contact span {
    display: inline-block;
    position: relative;
    margin-top: 50px;
    color: var(--clr-light);
}

.contact span:before,
.contact span:after {
    content: "";
    position: absolute;
    height: 22px;
    border-bottom: 1px solid var(--clr-accent);
    top: 0;
    width: 600px;
}

.contact span:before {
    right: 100%;
    margin-right: 15px;
}

.contact span:after {
    left: 100%;
    margin-left: 15px;
}

.contact-subheader {
    margin-top: 30px;
    font-size: 25px;
}


.contact form {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    align-items: center;
    
}

input,
textarea {
    width: 65%;
    padding: 20px 10px;
    font-size: 20px;
    color: var(--clr-light);
    background: var(--clr-dark);
    border-radius: 4px;
    margin: 20px 20px;
    border: 1px solid var(--clr-light);
}

.social i {
    font-size: 45px;
    margin-top: 45px;
    margin-bottom: 20px;
}

.social i:hover {
    color: var(--clr-accent);
    cursor: pointer;
}

@media screen and (max-width:812px){
    input,
    textarea {
        width: 100%;
    }
}

@media screen and (max-width:1080px){
    input,
    textarea {
        width: 75%;
    }
}


/* Footer */
.footer-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 50px;
    padding: 10px;
}

.logo {
    display: flex;
    justify-content: center;
}

.footer-logo {
    height: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.copyright {
    display: flex;
    justify-content: center;
}

.copyright-text {
    color: var(--clr-light);
    font-size: 16px;
    word-spacing: -3px;
}

/* Mobile Friendly */
@media screen and (max-width:800px) {
    .header {
        font-size: 18px;
    }
    .header-title {
        font-size: 38px;
    }   
    .about-desc { 
        font-size: 20px;
        padding: 20px;
    }
    .service-desc{
        font-size: 20px;
        padding: 20px;
    }
    .about {
        font-size: 26px;
    }
    .contact {
        font-size: 28px;
    }
    .copyright {
        flex-direction: column;
        align-items: center;
    }
}