@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    border: none;
    outline: none;
}

:root {
    --bg-color: #081b29;
    --second-bg-color: #112e42;
    --text-color: #ededed;
    --main-color: #00abf0;
    --third-bg-color: yellowgreen;
    --fourth-bg-color: yellow;
}

/*html {
    font-size: 62.5%;
    overflow-x: hidden;
}*/

header {
    z-index: 999;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    transition: 0.5s ease;
    /*background: var(--bg-color);
    opacity: 0.6;*/
    
}

header .brand {
    color: #000;
    font-size: 1.5em;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

header .navigation {
    position: relative;
}

header .navigation .navigation-items a {
    position: relative;
    font-size: 1.6em;
    font-weight: 500;
    text-decoration: none;
    margin-left: 30px;
    transition: 0.3s ease;
    color: yellow;
}

header .navigation .navigation-items a:before {
    content: '';
    position: absolute;
    background: var(--main-color);
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    transition: 0.3 ease;
}

header .navigation .navigation-items a:hover:before {
    width: 100%;
}


section {
    padding: 100px 200px;
}

.home {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: #081b29;
    background-position: right;
    overflow-x: hidden;
}

.home:before {
    z-index: 777;
    content: '';
    position: absolute;
    /*background: rgba(3, 96, 251, 0.3);*/
    /*background: rgba(86, 86, 92, 0.3);*/
    background: rgba(0, 3, 1, 0.58);
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
}

.home .content {
    z-index: 888;
    color: white;
    width: 70%;
    margin-top: 50px;
}

.home .content h1 {
    font-size: 5em;
    font-weight: 700;
    /*text-transform: uppercase;*/
    letter-spacing: 3px;
    line-height: 75px;
    margin-bottom: 40px;
    color: yellow;
}

.home .content h1 span {
    font-size: 0.9em;
    font-weight: 500;
}

.content .text-animate {
    position: relative;
    width: 32.8rem;
}

.content .text-animate h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: .7px var(--third-bg-color);
    background-image: linear-gradient(var(--third-bg-color), rgb(0, 255, 17));
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-position: -33rem 0;
    animation: homeBgText 6s linear infinite;
    animation-delay: 2s;
}

.content .text-animate h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    border-right: 2px solid var(--third-bg-color);
    z-index: -1;
    animation: homeCursorText 6s linear infinite;
    animation-delay: 2s;
}

.home .content p {
    margin-bottom: 65px;
    font-size: 1.9rem;
    color: ghostwhite;
}

.home .content a {
    background: gainsboro;
    padding: 15px 35px;
    color: #126383;
    font-size: 1.1em;
    font-weight: 500;
    text-decoration: none;
    border-radius: 2px;
}

.home .media-icons {
    z-index: 888;
    position: absolute;
    right: 30px;
    display: flex;
    flex-direction: column;
    transition: 0.5s ease;
}

.home .media-icons a {
    color: white;
    font-size: 1.6em;
    transition: 0.3s ease;
}

.home .media-icons a:not(:last-child) {
    margin-bottom: 20px;
}

.home .media-icons a:hover {
    transform: scale(1.3);
}

.home video {
    z-index: 000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-navigation {
    z-index: 888;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(80px);
    margin-bottom: 12px;
}

.slider-navigation .nav-btn {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
    transition: 0.3 ease;
}

.slider-navigation .nav-btn.active {
    background: #2696E9;
}

.slider-navigation .nav-btn:not(:last-child) {
    margin-right: 20px;
}

.slider-navigation .nav-btn:hover {
    transform: scale(1.2);
}

/*.video-slide {
    position: absolute;
    width: 100%;
    clip-path: circle(0% at 0 50%);
}

.video-slide.active {
    clip-path: circle(150% at 0 50%);
    transition: 2s ease;
    transition-property: clip-path;
}*/

/* Footer */

footer {
    background-color: var(--bg-color);
    position: relative;
    width: 100%;
    min-height: 350px;
    padding: 3rem 1rem;
    font-size: small;
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.col {
    min-width: 250px;
    color: white;
    font-family: poppins;
    padding:0 2rem;
}

.col .logo {
    width: 250px;
    margin-bottom: 25px;
}

.col h3 {
    color: yellow;
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
}

.col h3::after {
    content: '';
    height: 3px;
    width: 0px;
    background-color: red;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 0.3s ease;
}

.col h3:hover::after {
    width: 30px;
}

.col .social a i {
    color: yellowgreen;
    margin-top: 2rem;
    margin-right: 5px;
    transition: 0.3s ease;
}

.col .social a i:hover {
    transform: scale(1.5);
    filter:grayscale(25);
}

.col .links a {
    display: block;
    text-decoration: none;
    color: beige;
    margin-bottom: 5px;
    position: relative;
    transition: 0.3s ease;
}

.col .links a:before {
    content: '';
    height: 16px;
    width: 3px;
    position: absolute;
    top: 5px;
    left: -10px;
    background-color: red;
    transition: 0.5s ease;
    opacity: 0;
}

.col .links a:hover::before {
    opacity: 1;
}

.col .links a:hover {
    transform: translateX(-8px);
    color: red;
}

.col .contact-details {
    display: inline-flex;
    justify-content: space-between;
}

.col .contact-details a {
    color: #00abf0;
}

.col .contact-details i {
    margin-right: 15px;
}

.footer-row .footer-copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    color: gray;
}

/*.footer-row .footer-form input {
    background-color: var(--second-bg-color);
    border: 0;
    outline: none;
    padding: 14px 20px;
    border-radius: 6px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.footer-form button {
    padding: 14px 20px;
    border: 0;
    border-radius: 6px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: yellowgreen;
    cursor: pointer;
}*/

/*------------------------------------------------------------*/
/* breakpoints */

/*@media screen and (max-width: 768px) {
    .home {
        width: 100%;
        overflow: hidden;
    }
}*/

@media (max-width: 1040px) {
    header {
        padding: 12px 20px;   
    }

    section {
        padding: 100px 20px;
    }

    /*.home .media-icons {
        right: 15px;
    }*/

    header .navigation {
        display: none;
    }

    header .navigation.active {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(1, 1, 1, 0.5);
    }


    header .navigation .navigation-items a {
        color: #222;
        font-size: 1.2em;
        margin: 20px;
    }

    header .navigation .navigation-items a:before {
        background: #222;
        height: 5px;
    }

    header .navigation.active .navigation-items {
        background: white;
        width: 600px;
        max-width: 600px;
        margin: 20px;
        padding: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 5px;
        box-shadow: 0 5px 25px rgba(1 1 1 / 20%);
    }

    .menu-btn {
        background: url('/images/menu.png') no-repeat;
        background-size: 30px;
        background-position: center;
        background-color: yellowgreen;
        width: 40px;
        height: 40px;
        cursor: pointer;
        transition: 0.3s ease;
    }

    .menu-btn.active {
        z-index: 999;
        background: url('/images/close.png') no-repeat;
        background-size: 25px;
        background-position: center;
        transition: 0.3s ease;
    }
}

@media (max-width: 900px) {
    .footer-row {
        flex-direction: column;
    }

    .col {
        width: 100%;
        text-align: left;
        margin-bottom: 25px;
    }
}

@media (max-width: 520px) {
    .home {
        overflow: hidden;
    }

    html {
        font-size: 60%;
    }

    header {
        .logo {
            width: 85%;     
        }

        .logo img{
            width: 90%;
        }
    }

    .home-content {

        display: flex;
        flex-direction: column;
    }

    .home .content h1 {
        position: relative;
        bottom: -35px;
        font-size: 4em;
        font-weight: 700;
        /*text-transform: uppercase;*/
        letter-spacing: 3px;
        line-height: 50px;
        margin-bottom: 0px;
        color: yellow;
    }
    
    .home .content h3 {
        position: relative;
        bottom: -35px;
    }

    .home .content p {
        position: relative;
        bottom: -45px;
    }
}

/* KEYFRAMES ANIMATION */
@keyframes homeBgText {
    0%,10%,100% {
        background-position: -33rem 0;
    }
    65%,85% {
        background-position: 0 0;
    }
}

@keyframes homeCursorText {
    0%,10%,100% {
        width: 0;
    }
    65%,78%,85% {
        width:100%;
        opacity: 1;
    }

    75%,81% {
        opacity: 0;
    }
}
    
