@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inria+Serif:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Poppins', sans-serif; */
    font-family: 'Inria Serif', serif;
    scroll-behavior: smooth;
}
.content .banner-detail{
    font-size: 25px;
    text-decoration: none;
    color: white;
    display: inline-block;
    padding: 0px 70px;
    margin-top: 5px;
    font-family: 'Inria Serif', serif;
}
.content h1 a {
    font-size: 80px;
    color: white;
    font-weight: 600;
}
::-webkit-scrollbar {
    background: transparent;
    width: 3px;

}

::-webkit-scrollbar-thumb {
    background: rgb(84, 84, 84);
    border-radius: 4px;
}

::-webkit-scrollbar-corner {
    border-radius: 4px;
}

/* .container{
    display: flex;
    flex-direction: column;
} */

body {
    background-color: rgb(239, 239, 239);
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(12, 3, 51, 0.3), rgba(12, 3, 51, 0.3));
    width: 100%;
    height: 100vh;
    padding: 0 5%;
}

.header-holder {
    width: 100%;
    background-color: #16181C;
    z-index: 4;
    overflow: hidden;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 40px;
    z-index: 5;
    -webkit-transition: background-color 0.4s ease-out;
    transition: background-color 0.4s ease-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {

    width: 114px;
    height: 25px;
    margin-left: 20px;
    display: block;
    /* background-image: url("https://yalantis.com/assets/v2/content/logo-561d8b053527f336d4b144c2d60a45de0f919f9fb10b1f49f8553b2bc5189ba7.svg"); */
    background-size: 100% auto;
    background-repeat: no-repeat;
    order: 1;
    font-size: 25px;
    color: white;
    list-style: none;
    text-decoration: none;
}

.search-mobile {
    /*     display: none; */
    position: absolute;
    top: -5px;
    right: 50px;
    z-index: 6;
}

.search-mobile a {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    text-align: center;
    width: 100px;
    height: 60px;
    position: relative;
}


.search-mobile a .icon_search {
    /* background: url("https://yalantis.com/assets/icon-search-eb2d80fde29a4eb86770580f52872b64097df105b39901d39abcea6dbc372969.svg") no-repeat 0 0; */
    width: 25px;
    height: 25px;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: -webkit-transform .4s ease;
    transition: -webkit-transform .4s ease;
    transition: transform .4s ease;
    transition: transform .4s ease, -webkit-transform .4s ease;
}



.header-nav {
    order: 2;
}

.header-nav {
    display: none;
}

.header-nav.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.97);
    z-index: 10;
    opacity: 1;
    -webkit-transition: opacity 0.6s linear;
    transition: opacity 0.6s linear;
}

.header-nav.active .header-nav__inner {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-flow: row wrap;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    align-content: center;
    height: 100%;
    overflow: auto;
    
}

nav.active ul {
    width: 100%;
    text-align: center;
    padding: 0;
    overflow: hidden;
    display: block;
}

nav.active ul li {
    padding: 10px 0;
}

nav ul {
    padding: 8px 0 0 0;
    display: flex;
}

nav ul li {
    padding: 0 0 0 13px;
    list-style: none;
}

nav ul li a {
    display: inline-block;
    position: relative;
    font-size: 40px;
    line-height: 50px;
    color: rgb(0, 0, 0);
    text-transform: uppercase;
    padding: 5px 8px;
    line-height: 60px;
    letter-spacing: 0.9px;
    position: relative;
    text-decoration: none;
    transition: color .5s ease-in-out;
}

nav ul li:nth-child(1) a::before {
    content: 'HOME';
    color: rgb(0, 0, 0);
    position: absolute;
    opacity: 0;
    font-size: 80px;
    left: 50%;
    top: 0;
    margin-top: 40px;
    transform: translate(-50%, -50%);
    z-index: -1;
}

nav ul li:nth-child(2) a::before {
    content: 'ABOUT';
    color: rgb(0, 0, 0);
    position: absolute;
    opacity: 0;
    font-size: 80px;
    left: 50%;
    top: 0;
    margin-top: 40px;
    transform: translate(-50%, -50%);
    z-index: -1;
}

nav ul li:nth-child(3) a::before {
    content: 'SERVICES';
    color: rgb(0, 0, 0);
    position: absolute;
    opacity: 0;
    font-size: 80px;
    left: 50%;
    top: 0;
    margin-top: 40px;
    transform: translate(-50%, -50%);
    z-index: -1;
}

nav ul li:nth-child(4) a::before {
    content: 'PORTFOLIO';
    color: rgb(0, 0, 0);
    position: absolute;
    opacity: 0;
    font-size: 80px;
    left: 50%;
    top: 0;
    margin-top: 40px;
    transform: translate(-50%, -50%);
    z-index: -1;
}

nav ul li:nth-child(5) a::before {
    content: 'BLOGS';
    color: rgb(0, 0, 0);
    position: absolute;
    opacity: 0;
    font-size: 80px;
    left: 50%;
    top: 0;
    margin-top: 40px;
    transform: translate(-50%, -50%);
    z-index: -1;
}
nav ul li:nth-child(6) a::before {
    content: 'CONTACT';
    color: rgb(0, 0, 0);
    position: absolute;
    opacity: 0;
    font-size: 80px;
    left: 50%;
    top: 0;
    margin-top: 40px;
    transform: translate(-50%, -50%);
    z-index: -1;
}

nav ul li a:hover::before {
    font-size: 110px;
    opacity: 0.1;
    transition: .5s ease-in-out;
}

nav ul li:nth-child(1) a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    height: 2px;
    margin: 0;
    left: 0;
    right: 0;
    width: 0;
    transition: .5s;
}
nav ul li:nth-child(2) a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    height: 2px;
    margin: 0;
    left: 0;
    right: 0;
    width: 0;
    transition: .5s;
}
nav ul li:nth-child(3) a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    height: 2px;
    margin: 0;
    left: 0;
    right: 0;
    width: 0;
    transition: .5s;
}
nav ul li:nth-child(4) a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    height: 2px;
    margin: 0;
    left: 0;
    right: 0;
    width: 0;
    transition: .5s;
}
nav ul li:nth-child(5) a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    height: 2px;
    margin: 0;
    left: 0;
    right: 0;
    width: 0;
    transition: .5s;
}

nav ul li a:hover::after {
    width: 100%;
    background: rgb(0, 0, 0);
}

nav ul li a:hover {
    /* text-decoration: underline; */
    transition: color .3s ease-in-out;
}

.device-menu {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 55px;
    height: 50px;
    z-index: 11;
    background-color: transparent;
    width: 45px;
    height: 40px;
    display: block;
}


.device-menu .device-menu__inner {
    width: 24px;
    height: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.device-menu span {
    position: absolute;
    width: 100%;
    height: 3px;
    left: 0;
    background-color: black;
    top: 5px;
    left: 0;

}

.device-menu span:nth-child(1) {
    top: 0;
    -webkit-transition: rotate, 0.3s;
    transition: rotate, 0.3s;
}

.device-menu span:nth-child(2) {
    top: 50%;
}

.device-menu span:nth-child(3) {
    top: 100%;
    -webkit-transition: rotate, 0.3s;
    transition: rotate, 0.3s;
}

.device-menu.open span:nth-child(1) {
    top: 10px;
    right: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.device-menu.open span:nth-child(2) {
    opacity: 0;
}

.device-menu.open span:nth-child(3) {
    top: 10px;
    right: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.content {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
}

.content-0 {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: linear-gradient(rgba(12, 3, 51, 0.4), rgb(12, 3, 51, 0.4));
}

.content h1 {
    font-size: 80px;
    color: white;
    font-weight: 600;
}

.content-0 h1 {
    font-size: 80px;
    color: white;
    font-weight: 600;
}

.content-0 p {
    font-size: 22px;
    text-decoration: none;
    color: white;
    display: inline-block;
    line-height: 1.6;
    font-weight:300;
    padding: 10px 70px;
    margin-top: 15px;
    font-family: 'Lato', sans-serif;
}

.content a {
    font-size: 25px;
    text-decoration: none;
    color: white;
    display: inline-block;
    padding: 0px 70px;
    margin-top: 5px;
    font-family: 'Lato', sans-serif;

}
/* .back-video{
    object-fit: cover;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
    height: 100%;
    width: 100%
} */
.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section-image {
    height: 100%;
    overflow: hidden;
    position: relative;
}
.back-video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.container2 {
    width: 1080px;
    margin: 0 10%;
}
.about-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 100px;
}
.about-content .about-c p{
    font-family: 'Lato', sans-serif;
    font-size: 20px !important;
    line-height:1.8;
    font-weight:300;
    margin:15px 0;
}
.about-content h1{
    font-size: 6rem;
    margin-top:50px;
}
.contents p{
    font-family:'Lato', san-serif;
}
a{
    text-decoration:none;
}

.scroll-down {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
}

.full-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    z-index: 4;
}

.scroll-down span:nth-child(2) {
    animation-delay: -0.2s;
}

.scroll-down span:nth-child(3) {
    animation-delay: -0.4s;
}

.scroll-down span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

#about {
    background-color: #16181C;
    color: #fafafa
}

.about-content h3 {
    font-size: 32px;

}

.about-content p {
    font-size: 24px;
    margin: 32px 0;
}

.about-content h2 {
    font-size: 64px;

}

.about-main {
    z-index: 10;
    display: flex;
    height: 100vh;
    background-color: black;
    color: white;
    /* font-family: 'Poppins', sans-serif; */
    text-align: left;
    border-bottom: 2px solid;
    justify-content: space-between;
}

.about-main h1 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.about-content {

    /*margin-top: 3rem;*/
    display: flex;
    background-color: white;
    color: black;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    align-content: center;

}

.about-content span {
    font-size: 1.5rem;

}
.ending-text h1{
    font-size: 35px !important;
}

/* .about-main img {
    width: 450px;
    height: 400px;
    margin-top: 8.5rem;
} */

.about-main p {
    line-height: 2rem
}

.services h1 {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.services {
    z-index: 10;
    display: inline-block;
    height: 100vh;
    background-color: black;
    color: white;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    width: 100%;
    border-bottom: 2px solid white;

}

.services-content {
    width: 45%;
    right: 24%;
    margin-top: 5rem;
}

.card-wrapper {
    width: 1100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-gap: 15px;
    margin: 0 auto;
}

.card-wrapper .card {
    position: relative;
    width: 300px;
    height: 400px;
    margin: 0 auto;
    background: #fff;
    transition: 0.5s;
}

.card-wrapper .card:hover {
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
}

.card-wrapper .card .face {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-wrapper .card .face.face1 {
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
    background: black;
    color: white;
}

.card-wrapper .card .face.face1 h2 {
    margin-top: 80px;
}

.card-wrapper .card .face.face1 a {
    display: inline-block;
    padding: 5px 10px;
    margin-top: 20px;
    text-decoration: none;
    color: white;
    border: 2px solid white;
    transition: 0.5s;
}

.card-wrapper .card .face.face1 a:hover {
    color: black;
    background: white;
}

.card-wrapper .card .face.face2 {
    background: lightgray;
    transition: 0.5s;
    border-radius: 10px;
}

.card-wrapper .card:hover .face.face2 {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    border: 2px solid white;
}

.card-wrapper .card .face.face2 img {
    margin: 0px;
    padding: 0;
    width: 10em;
    color: #fff;
    transition: 0.5s;
}

.card-wrapper .card:hover .face.face2 img {
    color: white;
    width: 2em;
}

.contact h1 {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.contact {
    z-index: 10;
    display: inline-block;
    height: 100vh;
    background-color: black;
    color: white;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    width: 100%;

}

.contact-content {
    width: 45%;
    right: 24%;
    margin-top: 5rem;
}


/* h1 {
    font-family: 'Poppins', sans-serif, 'arial';
    font-weight: 600;
    font-size: 72px;
    color: white;
    text-align: center;
}

*/

/* ///// inputs /////*/
h4 {
    font-family: 'Poppins', sans-serif, 'arial';
    font-weight: 400;
    font-size: 20px;
    color: #9b9b9b;
    line-height: 1.5;
}

input:focus~label,
textarea:focus~label,
input:valid~label,
textarea:valid~label {
    font-size: 0.75em;
    color: black;
    top: -5px;
    -webkit-transition: all 0.225s ease;
    transition: all 0.225s ease;
}

.styled-input {
    float: left;
    width: 293px;
    margin: 1rem 0;
    position: relative;
    border-radius: 4px;
}

/* 
@media only screen and (max-width: 768px) {
    .styled-input {
        width: 100%;
    }
} */

.styled-input label {
    color: black;
    padding: 0.5rem 30px 1rem 30px;
    position: absolute;
    top: 10px;
    left: 0;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    pointer-events: none;
}

.styled-input.wide {
    width: 650px;
    max-width: 100%;
}

input,
textarea {
    padding: 30px;
    border: 0;
    width: 100%;
    font-size: 1rem;
    background-color: white;
    color: black;
    border-radius: 4px;
}

input:focus,
textarea:focus {
    outline: 0;
}

input:focus~span,
textarea:focus~span {
    width: 100%;
    -webkit-transition: all 0.075s ease;
    transition: all 0.075s ease;
}

textarea {
    width: 100%;
    min-height: 15em;
}

.input-container {
    width: 650px;
    max-width: 100%;
    margin: 20px auto 25px auto;
}

.submit-btn {
    float: left;
    padding: 7px 35px;
    border-radius: 60px;
    display: inline-block;
    background-color: white;
    color: black;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.06),
        0 2px 10px 0 rgba(0, 0, 0, 0.07);
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;


}

.submit-btn:hover {
    /* transform: translateY(1px);
    box-shadow: 0 1px 1px 0 rgba(0,0,0,0.10),
              0 1px 1px 0 rgba(0,0,0,0.09); */
    border: 2px solid white;
    background: none;
    color: white;
}

/* @media (max-width: 768px) {
    .submit-btn {
        width: 100%;
        float: none;
        text-align: center;
    }
} */

input[type=checkbox]+label {
    color: #ccc;
    font-style: italic;
}

input[type=checkbox]:checked+label {
    color: #f00;
    font-style: normal;
}

footer {
    height: 100%;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: space-between;
    /* height: 100vh;
    position: relative;
    margin-top: 13rem;
    padding-top: 7rem;
    border-top: 2px solid white; */
}

footer .upper {
    padding-top: 120px;
}

footer .upper .title h1 {
    color: white;
    width: 300px;
    line-height: 6rem;
    font-size: 6rem;
}

footer .upper {
    display: flex;
    justify-content: space-around;
}

footer .upper .linkss li a {
    font-size: 2.2rem;
    line-height: 3rem;

}

.lower span {
    color: white;
    text-align: center;
    margin: 4rem auto;
    display: block;
}

.linkss a {
    color: white;
    list-style: none;
    text-decoration: none;

}

.linkss a:hover {
    text-decoration: underline;
    transition: .5s ease;
}

/* MediaQueries */
@media (max-width: 480px) and (min-width:320px) {
    .content-0 h1 {
        font-size: 60px;
    }

    .content a {
        font-size: 1rem;
    }

    .back-video-2 {
        object-fit: cover;
        height: 100vh;
    }

    .back-video-3 {
        object-fit: cover;
        height: 100vh;
    }

    .back-video-4 {
        object-fit: cover;
        height: 100vh;
    }

    .back-video-5 {
        object-fit: cover;
        height: 100vh;
    }

    .back-video-6 {
        object-fit: cover;
        height: 100vh;
    }

    .back-video-7 {
        object-fit: cover;
        height: 100vh;
    }

    .about-main {
        width: 100vw;
        margin-left: -40px;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .services {
        width: 100vw;
        margin-left: -40px;
        height: 1325px;
    }

    .services-content {
        width: 100vw;
        text-align: center
    }

    .card-wrapper {
        width: 100vw;
        display: flex;
        flex-direction: column;
    }

    .card-wrapper .card {
        width: 300px;
        height: 340px;
        margin-bottom: 1rem;
    }

    .container3 {
        width: 80vw;

    }

    .styled-input {
        float: none;
        width: 80vw;
    }

    .styled-input .number {
        float: none;
    }

    .styled-input.wide {
        width: 80vw;
    }

    #styled-input {
        float: none;
    }

    #label {
        top: 120px;
    }

    .contact-content {
        width: 100%;
    }

    .container2 {
        width: 80vw;
    }

    footer {
        margin-top: 4rem;
    }

    footer .upper {
        flex-direction: column;
        text-align: center;
        margin: 0 3rem;
    }

    footer .upper h1 {
        margin-bottom: 3rem;
    }
}

@media (min-width: 481px) and (max-width:945px) {
    .content h1 {
        font-size: 2rem;
    }

    .content a {
        font-size: 1rem;
    }

    .back-video-2 {
        object-fit: cover;
        height: 100vh;
    }

    .back-video-3 {
        object-fit: cover;
        height: 100vh;
    }

    .back-video-4 {
        object-fit: cover;
        height: 100vh;
    }

    .back-video-5 {
        object-fit: cover;
        height: 100vh;
    }

    .back-video-6 {
        object-fit: cover;
        height: 100vh;
    }

    .back-video-7 {
        object-fit: cover;
        height: 100vh;
    }

    .about-main {
        width: 100vw;
        margin-left: -40px;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .services {
        width: 100vw;
        margin-left: -40px;
        height: 1325px;
    }

    .services-content {
        width: 100vw;
        text-align: center
    }

    .card-wrapper {
        width: 100vw;
        display: flex;
        flex-direction: column;
    }

    .card-wrapper .card {
        width: 300px;
        height: 340px;
        margin-bottom: 1rem;
    }

    .container3 {
        width: 80vw;
        margin-left: 8%;

    }

    .styled-input {
        float: none;
        width: 80vw;
    }

    .styled-input .number {
        float: none;
    }

    .styled-input.wide {
        width: 80vw;
    }

    #styled-input {
        float: none;
    }

    #label {
        top: 120px;
    }

    .contact-content {
        width: 100%;
        text-align: center;
        margin-left: 10%;
    }

    .container2 {
        width: 80vw;
        padding: 0px 5.2%;
        margin: 0;
    }

    footer {
        margin-top: 4rem;
    }

    footer .upper {
        flex-direction: column;
        text-align: center;
        margin: 0 15rem;
    }

    footer .upper h1 {
        margin-bottom: 3rem;
    }
}