:root {
    --black: #000;
    --white: #fff;
    --blue: #060724;
    --lightblue: #82d5fb;
    --gray: #8d8d8d;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0px;
    padding: 0px;
    font-family: 'Lato', sans-serif;
}

.boxes2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 500px;
}

@media all and (max-width: 1000px) {
    .boxes2 {
        grid-template-columns: 1fr;
    }
}

.header {
    width: 100%;
    height: 140px;
    background: linear-gradient(to right, var(--white) 50%, var(--blue) 50%);
}

.content {
    width: 96%;
    max-width: 1200px;
    margin: auto;
}

.head {
    height: 140px;
    background: linear-gradient(120deg, var(--white) 400px, var(--blue) 400px);
}

.logo {
    width: 50%;
    height: 140px;
    display: flex;
    align-items: center;
    float: left;
}

.logo a {
    height: auto;
    width: 300px;
    max-width: 100%;
}

.logo img {
    max-width: 100%;
}

.mobile-nav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: var(--blue);
    display: none;
    color: var(--white);
}

@media all and (max-width: 1000px) {
    .mobile-nav {
        display: flex;
    }
}

.mobile-nav a {
    color: var(--white);
    text-decoration: none;
}

.nav {
    width: 50%;
    height: 140px;
    float: left;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: var(--white);
}


@media all and (max-width: 1000px) {
    .nav-remove {
        display: none;
    }
}

.nav a {
    color: var(--white);
    text-decoration: none;
    transition: color .3s;
}

.nav a:hover {
    color: var(--gray);
}

.nav ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.nav ul li {
    display: inline-block;
    margin-left: 40px;
}

.nav ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color .3s;
}

.nav ul li a:hover {
    color: var(--lightblue);
}

.block {
    width: 100%;
    height: 500px;
}

@media all and (max-width: 1000px) {
    .block {
        height: 1000px;
    }
}

.blue {
    background-color: var(--blue);
}

@media all and (max-width: 1000px) {
    .blue {
        height: 500px;
    }
}

.white {
    height: 500px;
}

.top {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-text {
    color: var(--white);
    font-size: 80px;
    font-weight: 100;
    width: 300px;
    text-align: center;
}

.top-text button {
    background-color: var(--lightblue);
    border: 0px;
    border-radius: 5px;
    width: 150px;
    height: 50px;
    transition: background-color .3s;
    font-weight: 700;
    font-size: 16px;
}

.top-text button:hover {
    background-color: var(--white);
    cursor: pointer;
}

.left {
    font-size: 80px;
    font-weight: 400;
    display: flex;
    align-items: center;
}

.right {
    display: flex;
    align-items: center;
    font-size: 18px;
}

.half {
    background: linear-gradient(to right, var(--gray) 50%, var(--white) 50%);
    height: 700px;
    position: relative;
    display: none;
}

@media all and (max-width: 1400px) {
    .half {
        display: none;
    }
}

.newAbout {
    width: 100%;
    height: auto;
    background-color: var(--gray);
    color: var(--white);
}

.newAbout-content {
    width: 96%;
    max-width: 1200px;
    margin: auto;
}

@media all and (max-width: 1200px) {
    .newAbout-content {
        width: 96%;
        margin: auto;
    }
}


.about {
    height: auto;
    background: linear-gradient(-120deg, var(--white) 350px, var(--gray) 350px);
}

@media all and (max-width: 1200px) {
    .about {
        background: var(--gray);
    }
}

@media all and (max-width: 768px) {
    .aboutstory {
        height: 800px;
    }
}

.headertext {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    color: var(--white);
    font-size: 24px;
    font-weight: 400;
}

.aboutustext {
    height: 540px;
    color: var(--white);
    display: flex;
    align-items: center;
    font-size: 18px;
}

.picture {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 170px;
}

.picture img {
    border-radius: 5px;
}

.icons {
    height: 500px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
}

@media all and (max-width: 1000px) {
    .icons {
        grid-template-columns: 1fr;
        height: 1600px;
    }
}

@media all and (max-width: 1000px) {
    .iconsblock {
        height: 1600px;
    }
}


.centered {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.centered h3 {
    font-size: 50px;
    font-weight: 400;
}

.text {
    width: 80%;
}

.icon {
    height: 300px;
    display: flex;
    align-items: center;
}

.icontext {
    width: 80%;
    margin: auto;
    height: 100px;
}

.fullblue {
    margin-top: 100px;
    background-color: var(--blue);
    height: 750px;
}

.contact {
    color: var(--white);
    padding: 10px 0px 10px 0px;
    height: 600px;
}

.contact input[type=text] {
    height: 40px;
    width: calc(50% - 20px);
    border: 0px;
    outline: none; 
    border-radius: 5px;
    margin: 10px 0px 20px 0px;
    padding: 0px 10px 0px 10px;
}

@media all and (max-width: 1000px) {
    .contact input[type=text] {
        width: calc(100% - 20px);
    }
}

.contact textarea {
    height: 200px;
    width: calc(50% - 20px);
    border: 0px;
    outline: none; 
    border-radius: 5px;
    margin: 10px 0px 20px 0px;
    padding: 10px 10px 10px 10px;
}

@media all and (max-width: 1000px) {
    .contact textarea {
        width: calc(100% - 20px);
    }
}

.contact input[type=submit] {
    width: 25%;
    height: 40px;
    border-radius: 5px;
    border: 0px;
    outline: none;
    background-color: var(--lightblue);
    transition: background-color .3s;
    margin: 10px 0px 0px 0px;
}

.contact input[type=submit]:hover {
    background-color: var(--white);
    cursor: pointer;
}

.send {
    display: block;
    width: 100%;
    height: 40px;
    background-color: green;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
}

.error {
    display: block;
    width: 50%;
    height: 40px;
    background-color: red;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
}

@media all and (max-width: 1000px) {
    .error {
        width: 100%;
    }
    .success {
        width: 100%;
    }
}

.success {
    display: block;
    width: 50%;
    height: 40px;
    background-color: green;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
}

.exit {
    position: absolute;
    right: 20px;
    color: #fff;
    transition: color .3s;
}

.exit:hover {
    color: #000;
    cursor: pointer;
}

#scrollToTopButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
}

#scrollTop {
    background-color: #0077B5;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

#scrollTop:hover {
    background-color: #00558B;
}
