:root{
    /* CSS HEX */
    --azure: #0080ffff;
    --navyblue: #202A44ff;
    --navybluetrans: #212b45f4;
    --honeydewtrans1: #CEEDDB22;
    --honeydewtrans2: #CEEDDB33;
    --seegreen: #69927a;
    --seegreentrans: #69927a44;
    --oldrose: #C78283;
    scroll-behavior: smooth;
}
*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 'Verdana', sans-serif;
}
/*--------Navigation-----------------*/
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 20px;
    position: relative;
}
.nav-links ul li a{
    color: white;
    text-decoration: none;
    font-size: 18px;
}
/*--------Header---------------------*/
header{
    height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(../images/header_background.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
}
nav{
    display: flex;
    padding: 1% 6%;
    justify-content: space-between;
    align-items: center;
}
nav svg{
    width: 180px;
}
@keyframes arc {
    0%{opacity: 1;}
    10%{opacity: 1;}
    20%{opacity: 1;}
    30%{opacity: 0;}
    40%{opacity: 0;}
    50%{opacity: 1;}
    60%{opacity: 1;}
    70%{opacity: 0;}
    80%{opacity: 0;}
    90%{opacity: 1;}
    100%{opacity: 1;}
}
svg:hover #arc1{
    animation: arc 2s infinite normal;
}
svg:hover #arc2{
    animation: arc 2s infinite normal;
    animation-delay: 0.2s;
}
.text-box{
    width: 90%;
    color: white;
    position: absolute;
    top: 50%;
    left:50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-weight: 600;
    font-size: 62px;
}
.text-box p{
    display: table;
    margin: 10px auto 30px;
    padding: 10px 10px;
    font-weight: 300;
    font-size: 16px;
    background-color: rgba(0,0,0,0.7);
    border-radius: 10px;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: white;
    background: var(--navybluetrans);
    border: 2px solid white;
    padding: 12px 34px;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    cursor: pointer;
    border-radius: 5px;
}
.hero-btn:hover{
    border: 2px solid var(--azure);
    background: var(--azure);
    transition: 0.5s;
}
.scrolldown{
    left: 50%;
    transform:translateX(-25px);
    background-color: transparent;
    z-index: 80;
    position: absolute;
    bottom: 65px;
    scale: 100% 90%;
}
@keyframes scrolldown{
    0%{
        transform: translateY(20%);
        opacity: 0.7;
    }
    50%{
        transform: translateY(0%);
        opacity: 0.2;
    }
    100%{
        transform: translateY(20%);
        opacity: 0.7;
    }
}
#scrolldown1{
    animation: scrolldown 1.2s ease-in-out infinite;
}
#scrolldown2{
    animation: scrolldown 1.2s ease-in-out infinite 0.15s;
}
/*--------Sections-------------------*/
section{
    color: white;
    background: var(--navyblue);
    width: 80%;
    padding-left: 10%;
    padding-right: 10%;
    margin: auto;
    text-align: center;
    cursor: default;
}
.head-img{
    padding-top: 10px;
    opacity: 60%;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 0px 10px 10px;
}
.h3-cursive{
    font-style: italic;
    font-weight: 300;
}
p{
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}
.row{
    display: flex;
    justify-content: space-between;
}
/*--------Business solutions---------*/
.solutions{
    padding-top: 75px;
}
.solutions .sol-summary{
    width: 50%;
    padding-left: 25%;
    padding-right: 25%;
}
.solutions-col{
    flex-basis: 31%;
    background: var(--honeydewtrans2);
    border-radius: 15px;
    margin-top: 20px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
.solutions-col:hover{
    box-shadow: 0 0 20px 0px rgba(255, 255, 255, 0.75);
    background: var(--honeydewtrans1);
}
/*--------Web development------------*/
.webdevelopment{
    padding-top: 50px;
}
.webdev-col{
    flex-basis: 100%;
    background: var(--honeydewtrans2);
    border-radius: 15px;
    margin-top: 20px;
    margin-bottom: 10px;
    margin-left: 20%;
    margin-right: 20%;
    padding: 20px 12px;
    box-sizing: border-box;
}
/*--------App development------------*/
.appdevelopment{
    padding-top: 50px;
}
.appdev-col{
    flex-basis: 100%;
    background: var(--honeydewtrans2);
    border-radius: 15px;
    margin-top: 20px;
    margin-bottom: 10px;
    margin-left: 20%;
    margin-right: 20%;
    padding: 20px 12px;
    box-sizing: border-box;
}
/*--------Team-----------------------*/
.team{
    padding-top: 50px;
}
.team .row{
    border-radius: 10px;
    background: var(--honeydewtrans1);
    display: flex;
    justify-content: space-between;
    max-width: 360px;
    min-width: 300px;
    padding-left: auto;
    padding-right: auto;
    margin: auto;
}
.team-col{
    flex-basis: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 20px;
    padding-bottom: 5px;

    display: flex;
}
.team h1{
    padding-bottom: 10px;
}
.team p{
    font-size: 14px;
}
.team img{
    height: 90px;
    border-radius: 50%;
}
.team .name-title h3{
    line-height: 22px;
    font-size: 20px;
    margin: 0px;
    padding-left: 10px;
    text-align: left;
}
.team .name-title h4{
    font-size: 20px;
    font-weight: 200;
    font-style: normal;
    margin: 0px;
    padding-left: 10px;
    text-align: left;
}
.team .name-title p{
    line-height: 18px;
    font-style: italic;
    margin: 0px;
    padding: 0px;
    padding-left: 10px;
    text-align: left;
}
/*--------Contact--------------------*/
.contact{
    padding-top: 0px;
}
/*--------Contact form---------------*/
form{
    padding: 0px;
    color:whitesmoke;
    background-color: var(--navyblue);
}
form p{
    padding-top: 5px;
    padding-bottom: 5px;
}
form p label{
    display: block;
}
form input{
    width: 50%;
    background-color: whitesmoke;
    border-radius: 5px;
    font-size: medium;
}
form textarea{
    width: 50%;
    height: 100px;
    background-color: whitesmoke;
    border-radius: 5px;
    font-size: medium;
}
.error{
    font-size: medium;
    font-weight: 600;
    color: red;
}
.confirmation{
    font-size: medium;
    font-weight: 600;
    color: green;
}
/*--------Footer---------------------*/
footer{
    color: white;
    background-color: var(--navyblue);
    font-size: small;
    font-weight: 300;
    padding: 5px;
}
footer p{
    padding: 3px 15px;
    font-size: 10px;
}
/*--------Scrollup button------------*/
.scrollup{
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 3rem;
    height: 3rem;
    opacity: 0.6;
    scale: 100% 90%;
}
.scrollup:hover{
    opacity: 0.8;
}
.scrollup:focus{
    opacity: 0.9;
}
.scrollup:active{
    opacity: 1;
}
@keyframes scrollup{
    0%{
        transform: translateY(10%);
        opacity: 70%;
    }
    50%{
        transform: translateY(0%);
        opacity: 100%;
    }
    100%{
        transform: translateY(10%);
        opacity: 70%;
    }
}
#scrollup1{
    animation: scrollup 1.2s ease-in-out infinite 0.15s;
}
#scrollup2{
    animation: scrollup 1.2s ease-in-out infinite;
}
/*--------reCaptcha---------------------*/
.grecaptcha-badge { 
    visibility: hidden;
}
.recaptcha-notice{
    color: grey;
    font-size: 10px;
    text-decoration: none;
    line-height: 14px;
}
.recaptcha-notice a{
    color: var(--azure);
    font-size: 10px;
    text-decoration: none;
}
/*--------Media queries--------------*/
@media screen and (min-width: 950px) {
    .nav-links ul li a::after{
        content: '';
        width: 0%;
        height: 2px;
        background: var(--azure);
        display: block;
        margin: auto;
        transition: 0.6s;
    }
    .nav-links ul li a:hover::after{
        width: 100%;
    }
    .nav-links input{
        display: none;
    }
}
@media screen and (max-width: 950px) {
    header{
        background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(../images/header_background_small.jpg);
    }
    .text-box h1{
        font-weight: 600;
        font-size: 48px;
    }
    span.break1{
        display: block;
    }
    .nav-links ul li{
        display: block;
        right:0;
    }
    .nav-links ul li a:hover{
        text-decoration: underline;
    }
    .nav-links{
        flex: 0;
        display: block;
        position: absolute;
        top: 35px;
        right: 35px;
        z-index: 1;
        -webkit-user-select: none;
        user-select: none;
    }
    .nav-links input{
        display: block;
        width: 40px;
        height: 32px;
        position: absolute;
        top: -6px;
        left: -4px;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
        -webkit-touch-callout: none;
    }
    .nav-links span{
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        background: white;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 4px 0px;
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    opacity 0.55s ease;
    }
    .nav-links span:first-child{
        transform-origin: 0% 0%;
    }
    .nav-links span:nth-last-child(2){
        transform-origin: 0% 100%;
    }
    .nav-links input:checked ~ span{
        opacity: 1;
        transform: rotate(45deg) translate(-2px, -1px);
    }
    .nav-links input:checked ~ span:nth-last-child(3){
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }
    .nav-links input:checked ~ span:nth-last-child(2){
        transform: rotate(-45deg) translate(0, -1px);
    }
    #menu{
        position: absolute;
        right: -290px;
        width: 220px;
        top: -35px;
        padding-right: 30px;
        padding-top: 70px;
        padding-bottom: 25px;
        background: var(--navybluetrans);
        list-style-type: none;
        -webkit-font-smoothing: antialiased;
        transform-origin: 0% 0%;
        transform: translate(0%);
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    }
    .nav-links input:checked ~ #menu{
        transform: translate(-100%);
    }
    section{
        color: white;
        background: var(--navyblue);
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
    }
    .row{
        flex-direction: column;
    }
    .solutions-col{
        margin-left: 0px;
        margin-right: 0px;
    }
    form input{
        width: 90%;
    }
    form textarea{
        width: 90%;
        height: 100px;
    }
    .solutions p{
        width: 80%;
        padding-left: 10%;
        padding-right: 10%;
    }
    .solutions .sol-summary{
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
    }
    .webdev-col{
        margin-left: 0px;
        margin-right: 0px;
    }
    .webdev p{
        width: 80%;
        padding-left: 10%;
        padding-right: 10%;
    }
    .appdev-col{
        margin-left: 0px;
        margin-right: 0px;
    }
    .appdev p{
        width: 80%;
        padding-left: 10%;
        padding-right: 10%;
    }
}
@media screen and (max-width: 380px) {
    .team .name-title p{
        line-height: 16px;
        font-size: 12px;
    }
}
@media screen and (max-width: 650px) {
    span.break2{
        display: block;
    }
}
@media screen and (max-width: 300px) {
    span.break1{
        display: inline;
    }
    span.break2{
        display: inline;
    }
    .text-box h1{
        font-weight: 600;
        font-size: 48px;
    }
}
@media screen and (max-height: 600px) {
    .text-box h1{
        font-weight: 600;
        font-size: 32px;
    }
    .hero-btn{
        padding: 8px 24px;
        font-size: 16px;
    }
    .text-box p{
        display: table;
        margin: 10px auto 10px;
    }
    .scrolldown{
        bottom: 2px;
    }
}
@media screen and (max-height: 300px) {
    .text-box h1{
        font-weight: 600;
        font-size: 26px;
    }
    .hero-btn{
        padding: 8px 24px;
        font-size: 12px;
    }
    .text-box p{
        font-size: 12px;
        display: table;
        margin: 10px auto 10px;
    }
    .scrolldown{
        visibility: hidden;
    }
}