@import url('https://fonts.cdnfonts.com/css/product-sans');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500&display=swap');


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #19171A;
}

a {
    text-decoration: none;
    color: #4b1382;
}

/* main grid formating */

section {
    display: grid;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.c-screen {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.f-support {
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    font-family: 'Product Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: white;
}

h2 {
    font-family: 'Product Sans', sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.767);
}

p {
    font-family: 'Product Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: white;
    justify-content: justify;
}

button {
    padding: 12px 25px;
    background-color: transparent;
    border-radius: 45px;
    border: 2px dashed #7bc2be;
    color: white;
    cursor: pointer;
    font-family: 'Product Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease 0s;
}

button:hover {
    background-color: #7bc2be;
    transition: all 0.3s ease 0s;
}

/* container */

.container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: white;
    height: 90vh;
    background-image: url(images/homebg.png);
    box-shadow: -11px -58px 30px -39px rgba(25, 23, 26, 1) inset;
}

.container-button {
    border: none;
    background-color: white;
    color: black;
    padding: 0px 20px;
}

.container-img {
    height: 55vh;
    border-radius: 2px;
    opacity: 0.7;
}

/* navbar */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 70px;
    padding: 0px 10%;
    background-color: #EFEFEF;
}

.logo {
    text-decoration: none;
    color: #707070;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav__links a,
.cta,
.overlay__content a {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    text-decoration: none;
}

.nav__links {
    list-style: none;
    display: flex;
}

.nav__links li a {
    color: #707070;
    width: 205px;
    height: 70px;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease 0s;
}

.nav__links li a:hover {
    box-shadow: inset 0 -8px 0 #9C5AFF;
    transition: all 0.3s ease 0s;
    color: black;
}

#active {
    box-shadow: inset 0 -8px 0 #9C5AFF;
    background: linear-gradient(0deg, rgba(156, 90, 255, 1) 0%, rgba(239, 239, 239, 1) 65%);
    color: #0D0B0E;
}

.gradient-transition {
    opacity: 0.5;
    transition: all 0.3s ease 0s;
}

.gradient-transition:hover {
    opacity: 1.0;
    transition: all 0.3s ease 0s;
}

.cta {
    padding: 12px 50px;
    text-align: center;
    color: white;
    background: linear-gradient(90deg, rgba(117, 189, 214, 1) 0%, rgba(173, 166, 207, 1) 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
}

.cta:hover {
    background: linear-gradient(90deg, rgb(124, 222, 255) 0%, rgb(245, 140, 255) 100%);
}

/* Mobile Nav */

.menu {
    display: none;
    color: black;
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: #efefef;
    overflow-x: hidden;
    transition: width 0.5s ease 0s;
}

.overlay--active {
    width: 100%;
}

.overlay__content {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.overlay a {
    padding: 15px;
    font-size: 36px;
    display: block;
    transition: color 0.3s ease 0s;
}

.overlay a:hover,
.overlay a:focus {
    color: #0088a9;
}

.overlay .close {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    color: #000000;
    cursor: pointer;
}

/* footer */

.footer-container {
    max-width: 1170px;
    margin: auto;
    color: rgba(255, 255, 255, 0.258);
}

.footer {
    background-color: #302f31;
    padding: 20px 0;
    border-top: #4b4a4c 1px solid;
}

.footer-text {
    font-family: Arial;
    text-align: center;
    color: #919192;
}

.footer-text a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.258);
    transition: 0.3s ease 0s;
}

.footer-text a:hover {
    color: white;
    transition: 0.3s ease 0s;
}

/* responsive */

@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px;
    }

    .overlay .close {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

@media only screen and (max-width: 800px) {

    .nav__links,
    .cta {
        display: none;
    }

    .menu {
        display: initial;
    }

    .container-img {
        height: 40vh;
    }
}

@media screen and (min-width: 0px) and (max-width: 600px) {
    .container {
        flex-direction: column;

    }
}
