:root {
    --text: #0C1E50;
    --accent: #7463E4;
    --title-bg: #6980bf40;
    --shadow: 0px 8px 24px 0px rgba(0,0,0,0.1);
    --icons: #C4C4C4;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: linear-gradient(320deg,#e4e4e4 0,#dbe9f7 100%);
    max-width: 100%;
}

h1 {
    font-size: 103px;
    font-weight: 700;
    line-height: 100px;
}

h2 {
    font-size: 50px;
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
    left: 20px;
    z-index: 2;
}

a {
    text-decoration: inherit;
    color: var(--text);
}

.slogan {
    margin-top: 25px;
    font-size: 16px;
    margin-bottom: 50px;
    line-height: 30px;
}

header {
    background: url("../img/headerBG.svg");
    background-size: cover;
    background-position: top;
}

.header-img-container {
    display: flex;
    justify-content: right;
    align-items: flex-end;
}

header img {
    width: 50%;
}

.title-bg {
    font-size: 100px;
    position: absolute;
    color: var(--title-bg);
    left: -19px;
    top: -40px;
    z-index: -1;
    white-space: nowrap;
}

.main-button {
    position: relative;
    margin: auto;
    padding: 12px 50px;
    transition: all .2s ease;
    border: none;
    background: 0 0;
}

.main-button span {
    position: relative;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--accent);
    top: 15px;
}

.main-button:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 30px;
    background: #fff;
    width: 80px;
    height: 75px;
    transition: all .3s ease;
}

.main-button:hover:before {
    width: 100%;
    background: #fff;
}

.main-button:active {
    transform: scale(.95);
}

.title-section {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 50px;
}

.contact-box {
    width: 100%;
    background: #f1f6fb;
    box-shadow: var(--shadow);
    margin-top: 15px;
    border-radius: 15px;
    overflow: hidden;
}

.contact-left, .contact-right {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.contact-right {
    background: #e8f0f8;
    padding: 50px 0;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.contact-box input {
    background: #fff;
    height: 67px;
    width: 100%;
    border: inherit;
    border-radius: 15px;
    padding: 15px 25px;
    font-size: 16px;
    font-family: Poppins,sans-serif;
}

.contact-box input:focus-visible {
    outline: 5px solid var(--accent);
}

.contact-box label {
    font-weight: 700;
    margin-top: 25px;
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-box textarea {
    background: #fff;
    width: 100%;
    border: inherit;
    border-radius: 15px;
    min-width: 100%;
    max-width: 100%;
    padding: 15px 25px;
    font-size: 16px;
    font-family: Poppins, sans-serif;
}

.contact-box button {
    background: var(--accent);
    width: 100%;
    border: inherit;
    outline: inherit;
    color: #fff;
    margin-top: 35px;
    height: 62px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: 3px solid var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: Poppins,sans-serif;
    transition: .3s ease;
}

.contact-box form {
    display: flex;
    width: 80%;
    flex-direction: column;
}

footer {
    margin-top: 100px;
    margin-bottom: 50px;
}

footer p {
    font-size: 18px;
    font-weight: 600;
}

.contact-box a {
    display: flex;
    align-items: center;
    margin: 5px 0;
    padding: 5px 20px;
    border-radius: 15px;
    transition: .3s ease;
    position: relative;
    left: 0;
    height: 90px;
    width: 430px;
}

.contact-box a:hover {
    background: #e8f0f8;
    transition: .3s ease;
    position: relative;
    left: -10px;
}

.contact-box i {
    font-size: 64px;
    color: var(--accent);
    width: 70px;
    margin-right: 15px;
}

.contact-box a p {
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 0;
}

nav {
    text-align: right;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.navLink {
    font-size: 20px;
    padding: 10px 15px;
    color: var(--text);
    transition: .3s ease;
    position: relative;
    z-index: 1;
    transition: .3s ease;
}

.active {
    font-weight: 700;
}

.active:before {
    content: "";
    background: var(--accent);
    position: absolute;
    opacity: 45%;
    width: 50px;
    height: 15px;
    z-index: -1;
    margin-top: 12px;
    margin-left: -5px;
}

.mobileLink {
    display: none;
}

::-webkit-scrollbar {
    width: 10px
}

::-webkit-scrollbar-track {
    background: #f1f1f1
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    transition: .3s ease
}

::-webkit-scrollbar-thumb:hover {
    background: #6980bf;
    transition: .3s ease
}

.mobile-img {
    display: none;
    width: 200px !important;
    margin-left: 20px !important;
}

@media only screen and (max-width: 960px) {

    nav {
        position:fixed;
        bottom: 0;
        width: 100%;
        z-index: 100000;
        justify-content: center;
        background: #fff;
        height: 100px;
    }

    .navLink {
        display: none;
    }

    .mobileLink {
        display: flex;
        font-size: 28px;
        height: 100%;
        padding: 24px;
        color: var(--icons);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column
    }

    .mobileLink small {
        font-size: 12px;
        margin-top: -5px
    }

    .active {
        color: var(--accent);
    }

    .active:before {
        display: none;
    }

    header {
        padding: 100px 0px;
    }

    h1 {
        font-size: 80px;
        line-height: 85px
    }

    .main-button {
        padding: 12px 30px;
    }

    .main-button:before {
        width: 100%;
        height: 50px
    }

    .main-button span {
        font-size: 16px;
        top: 0
    }

    .contact-box a {
        background: #ebeff3;
        width: 100%;
        margin: 15px 0
    }

    .header-img-container {
        display: none;
    }

    .mobile-img {
        display: block !important;
        float: right;
    }

    .about-img {
        display: none;
    }

    .about-info {
        margin-top: 20px;
        text-align: justify !important;
    }

    .about-btn {
        width: 100% !important;
    }

    h2 {
        font-size: 55px !important;
    }

    .title-bg {
        font-size: 80px;
        top: -22px;
    }
}

.about, .portfolio, .contact, .reviews {
    margin-top: 100px;
}

.about-info {
    color: #0c1e50;
    line-height: 30px;
    font-size: 18px;
}

.about-img {
    width: 70%;
}

.about-btn {
    background: var(--accent);
    height: 57px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
    margin-right: 15px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    letter-spacing: 3px;
    transition: .3s ease;
}

.about-btn:hover {
    transition: .3s ease;
    background: 0 0;
    color: var(--accent);
    border: 3px solid var(--accent);
}

.text-right {
    text-align: right;
}

.review {
    border-radius: 15px;
    padding: 15px;
    box-shadow: var(--shadow);
    min-height: 400px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin-bottom: 20px;
}

.review-odd {
    background-color: #f1f6fb;
}

.review-even {
    background-color: #e8f0f8;
}

.review img {
    border-radius: 100%;
    width: 100%;
}

.img-wrapper img {
    width: 100%;
    object-fit: cover;
    object-position: top;
    height: 250px;
    opacity: 1;
    transition: .5s ease;
    backface-visibility: hidden;
    border-radius: 15px;
}

.img-wrapper:hover {
    cursor: pointer;
}

.img-wrapper:hover img {
    opacity: 0.3;
}

.img-wrapper:hover .inner {
    opacity: 1;
}

.inner {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text);
    font-weight: 700;
    font-size: 18px;
}

.img-wrapper {
    position: relative;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    padding: 0;
    border-radius: 15px;
}

input#website { display: none; }

@media only screen and (max-width: 500px) {
    h1 {
        font-size: 60px;
        line-height: 60px;
    }
}