/* ----------------  global ----------------  */
body {
    overflow-x: hidden;
    background-color: #01bcd4;
    font-family: "Cairo", sans-serif;
}
.section {
    padding: 8em 0;
}
.section.light {
    background-color: #ffffff;
}
.section.grey {
    background-color: #f5f5f5;
}
.section.dark {
    background-color: #01bcd4;
}

.up-curve {
    border-top-left-radius: 50% 12%;
    border-top-right-radius: 50% 12%;
}
.down-curve {
    border-bottom-left-radius: 50% 12%;
    border-bottom-right-radius: 50% 12%;
}

a {
    text-decoration: none !important;
}
h2 {
    position: relative;
}
h2.light {
    color: #ffffff;
}

h4 {
    color: #494343;
}
h2::before {
    content: '';
    position: absolute;
    display: block;
    bottom: -0.5em;
    right: 0;
    background-color: #0c7a88;
    height: 0.1em;
    width: 1.5em;
}
h2.text-center::before {
    right: 50%;
    transform: translateX(50%);
}
.mobile-view {
    max-width: 100%;
}

/* ----------------  navbar ----------------  */
.navbar {
    background-color: #0c7a88;
}
.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
}
.navbar-dark .navbar-nav .active>.nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show>.nav-link {
    color: #8efff6;
}

/* ----------------  home ----------------  */
.home {
    min-height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: contain;
    background-position: center;
    background-repeat: repeat-x;
    background-image: linear-gradient(0deg, #01bcd4 10%, #0c7a88 80%)
}

.home h1 {
    font-weight: 900;
    color: #fff;
    font-size: 3.5em;
}

.home p {
    color: #fff;
    font-size: 1.3em;
}

.home img.home-image {
    position: relative;
    left: 3em;
    z-index: 3;
    max-height: 30em;
    max-width: 100%;
    transform: rotate(24deg) translatey(0px);
    transform-origin: center;
    /* box-shadow: 0 0 2em rgba(255,255,255, 0.2);
    background: rgba(255,255,255, 0.2); */
    border-radius: 3em;
    margin-top: 5em;
	/* animation: float 6s ease-in-out infinite; */
}
.home img.home-image.back {
    position: absolute;
    z-index: 1;
    left: 0;
    transform: none !important;
}

@keyframes float {
	0% {
		box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
		transform: rotate(23deg) translatey(0px);
	}
	50% {
		box-shadow: 0 25px 15px 0px rgba(0,0,0,0.2);
		transform: rotate(21deg) translatey(-15px);
	}
	100% {
		box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
		transform: rotate(23deg) translatey(0px);
	}
}

img.download-app-btn {
    height: 4em;
}

/* ----------------  about ----------------  */
.about {
    margin-top: -100px;
    clip-path: url(#wave);
    padding-top: 200px;
}
.about .about-image {
    max-width: 100%;
}

.about p {
    line-height: 2;
    color: #888;
}

.about ul li {
    line-height: 3;
    color: #666666;
}
.about ul li i {
    color: #52b5e5;
}

/* ----------------  features ----------------  */
.section.features {
    background-color: rgba(255,255,255,0.95);
}
.section.features img {
    width: 9em;
}

/* ----------------  screenshoots ----------------  */
.section.screenshoots .screens-stage img.mobile-view {
    box-shadow: 0 0 0;
}

/* ----------------  contact ----------------  */
.contact {
    background-image: linear-gradient(0deg, #0c7a88 -10%, #01bcd4 95%)
}
.contact .social-links a {
    color: #f5f5f5;
    font-size: 1.2em;
}
.contact .form-control {
    color: #111111 !important;
    box-shadow: 0 0 0 !important;
    background-color: #ffffff !important;
}

.footer {
    background: rgba(0,0,0,0.6);
}

/* ----------------  terms ----------------  */
.terms {
    text-align: left;
    background-color: #f5f5f5;
    padding: 2em 1em;
    color: #6a6e71;
    border-radius: 0.5em;
}
.terms-page {
    height: auto;
    min-height: 400px;
}

/* ----------------  media ----------------  */
@media(max-width: 992px)
{
    img.download-app-btn {
        height: 3em;
    }

    .about {
        padding-top: 100px;
    }

    #wave {
        display: none;
    }
}

@media(max-width: 767px)
{
    body {
        font-size: 0.9rem;
    }
    .section {
        padding: 5em 0;
    }

    .up-curve, .down-curve {
        border-radius: 0;
    }

    .home {
        min-height: 1000px;
    }
}
