body {
    margin: 0;
}

a  {
    text-decoration: none;
}

a:hover {
    cursor: pointer;
}


.top-container-bg {
    background-image: radial-gradient(circle at 36% 68%, #04233c, #052239 24%, #13191b 110%);
    width: 100%;
}

/* Header Styles */
header {
    width: 100%;
}

.header-container {
    align-items: center;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 4fr 3fr 1fr;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0px 80px;
}

.header__logo img {
    width: 145px;
}

nav ul {
    display: flex;
    justify-content: flex-end;
    list-style-type: none;
    padding: 0 50px 0 0;
}

nav ul li {
    display: inline-block;
    padding: 5px 10px;
    transform: skewX(-20deg);
}

nav ul li+li {
    border-left: 1px solid #af9364;
}

nav a {
    color: white;
    display:block;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 900;
    transform: skewX(20deg);
}

.header__social-media {
    display: flex;
    justify-content: flex-end;
}

.header__social-media img {
    height: 18px;
    margin-left: 20px;
}

.header__get-app-mobile-container {
    display: none;
}

/* Hero Styles */
#hero-section {
    position: relative;
}

.hero-section__wrapper {
    align-items: center;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0px 0px 0px 80px;
}

.hero__content {
    margin-bottom: 60px;
}

.hero__content {
    color: white;
    max-width: 60%;
}

.hero__content h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 42px;
    margin: 0px;
}

.hero__content p {
    font-family: "Roboto";
    font-size: 22px;
    font-weight: normal;
    margin-bottom: 35px;
    margin-top: 10px;
}

.hero__img-container {
    margin-right: 15px;
}

.hero__img-container img {
    display: block;
    height: auto;
    margin-bottom: -15.5%;
    width: 100%;
}

figure {
    margin: 0;
    overflow: hidden;
}

button {
    background-color: #39A9BC;
    border: none;
    border-radius: 3px;
    color: white;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 700;
    padding: 8px 17px
}

button:focus {
    outline: none;
}

button:hover {
    background-color: white;
    border-color: #39A9BC;
    color: #39A9BC;
}

button:active {
    transform: translateY(1px);
    filter: saturate(150%);
}

.hero__content-container {
    align-items: center;
    display: flex;
    height: 100%;
    padding-top: 50px;
    position: relative;
}

.hero__content-container img {
    filter:  brightness(40%) sepia(100%) hue-rotate(-50deg) saturate(600%) contrast(0.8);
    margin-right: -45px;
    max-height: 100%;
    position: absolute;
    right: 0;
    top: 0;
}

/* Partners Styles */
#partners-section {
    background-color: #d73728;
}

.partners__container {
    align-items: center;
    background-color: #d73728;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 1200px;
    padding: 80px;
}

.partners__container h1 {
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    font-weight: normal;
    letter-spacing: 7px;
    margin-top: 0px;
    text-align: center;
}

.partners__logos-row {
    display: flex;
    justify-content: space-around;
}

.partners__partner-container {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 30px 20px;
    width: 120px;
}

.partners__partner-container img {
    height: auto;
    max-width: 100px;
}

/* Info Styles */
#info-section {
    background-color: #ECE9E4;
}

.info-container {
    background-color: #ECE9E4;
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px 40px 20px 80px;
}

.info-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
}

.info__images-container {
    align-items: center;
    display: flex;
    padding-top: 80px;
}

.info__images-container img {
    width: 100%;
}

.info__content-container div {
    width: 65%;
}

.info__content-container h1 {
    color: #04233c;
    font-family: 'DM Serif Display', serif;
    font-weight: 600;
    font-size: 36;
}

.info__content-container p {
    color: #04233c;
    font-family: 'Roboto', sans-serif;
    font-size: 14.4px;
    font-weight: normal;
    margin-bottom: 0;
    margin-top: 0;
    padding: 18px 0;
}

.info__content-container p+p {
    border-top: 1px solid rgba(4, 35, 60, 0.2);
}

/* Reviews Styles */
#reviews-section {
    background: rgb(4,35,60);
    background: radial-gradient(circle at top, rgba(4,35,60,1) 0%, rgba(4,34,59,1) 15%, rgba(0,19,33,1) 100%);   
}

.reviews-section-container {
    align-items: center; 
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 1200px;
    padding: 50px 80px 0 80px;
}

.reviews-section__title {
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: normal;
    letter-spacing: 8px;
    margin-bottom: 80px;
}

.reviews__grid {
    column-gap: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    max-width: 80%;
    row-gap: 30px;
}

.review__container {
    border-left: 1px solid rgba(95, 109, 120, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-left: 15px;
}

.review__container-text h2 {
    color: #eae8e2;
    letter-spacing: 2px;
    font-family: 'Roboto', sans-serif;
    font-size: 12.8px;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 10px;
}

.review__container-text p {
    color: #eae8e2;
    font-family: 'Roboto', sans-serif;
    font-size: 12.8px;
    font-weight: 300;
    line-height: 1.5;
}

.review__container-extra a {
    color: #af9364;
    font-family: 'Roboto', sans-serif;
    font-size: 12.8px;
    font-weight: 700;
    margin-bottom: 5px;
}

.reviews__app {
    background: rgb(27,169,188);
    background: radial-gradient(100% 155% ellipse at 50% 110%, rgba(27,169,188,0.4) 0%, transparent 40%, transparent 100%);
    padding-bottom: 50px;
    width: 100%;
}

.reviews__app-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reviews__app-content h1 {
    color: #eae8e2;
    font-family: 'Roboto', sans-serif;
    font-size: 28.8px;
    font-weight: 900;
    margin: 0;
}

.reviews__app-content p {
    color: #eae8e2;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    max-width: 400px;
    text-align: center;
}

.reviews__app-content img {
    width: 170px;
}

/* Footer Styles */
footer {
    background-color: #13191b;
}

.footer-container {
    align-items: center;
    background-color: #13191b;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    grid-template-rows: 1fr 1fr;
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px 80px 70px 80px;
}

footer ul {
    display: flex;
    list-style-type: none;
    padding: 0;
}

.footer__first-row-list ul {
    justify-content: space-around;
}

.footer__first-row-list li {
    padding: 5px 10px;
}

.footer__first-row-list  a {
    color: #eae8e2;
    font-family: 'Roboto', sans-serif;
    font-size: 12.8px;
    font-weight: 900;
}

.footer__haystack-inc {
    color: #eae8e2;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 500;
}

footer img {
    height: 15px;
}

.footer__haystack-logo {
    align-items: center;
    display: flex;
}

.footer__social-media {
    display: flex;
    justify-content: flex-end;
}

.footer__social-media img {
    margin-left: 15px;
}


.footer__second-row-list li {
    padding: 5px 10px;
    transform: skewX(-20deg);
}

.footer__second-row-list li+li {
    border-left: 1px solid #af9364;
}

.footer__second-row-list  a {
    color: #eae8e2;
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: normal;
    transform: skewX(20deg);
}

.footer__second-row-list ul {
    justify-content: center;
}


@media screen and (max-width: 1100px) {
    /* Header Styles */
    nav ul {
        padding-right: 0;
    }
    nav a {
        font-size: 12px;
    }

    /* Partners Styles */
    .partners__partner-container img {
        max-width: 70px;    
    }

    .partners__partner-container img {
        font-size: 26px;
    }

    /* Info Styles */
    .info__content-container div {
        width: 75%;
    }

    /* Reviews Styles */
    .reviews__grid {
        max-width: 100%;
    }
}

@media screen and (max-width: 1000px) {
    /* Header Styles */
    .header-container {
        padding: 0 30px;
    }

    /* Hero Styles */
    .hero-section__wrapper {
        padding-left: 30px;
    }

    .hero__content h1 {
        font-size: 32px;
    }

    .hero__content p {
        font-size: 18px;
    }

    /* Partners Styles */
    .partners__container {
        padding: 80px 30px;
    }

    /* Info Styles */
    .info-container {
        padding-left: 30px;
    }

    .info__content-container p {
        font-size: 13px;
    }

    /* Footer Styles */
    .footer-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    footer img {
        height: 14px;
    }

    .footer__first-row-list a {
        font-size: 11px;
    }

    .footer__haystack-inc {
        font-size: 10px;
    }

    .footer__second-row-list a {
        font-size: 10px;
    }

}

@media screen and (max-width: 850px) {
    .top-container-bg {
        background-image: radial-gradient(circle at 50% 39%, #04233c, #052239 26%, #13191b 118%);
    }

    /* Header Styles */
    .header-container {
        grid-template-columns: 1fr 1fr;
        padding-top: 20px;
    }

    .header__logo img {
        max-width: 250px;
        width: 100%;
    }

    .header__get-app-mobile-container {
        display: flex;
        justify-content: flex-end;
    }

    .header__get-app-mobile {
        border: 2px solid white;
        border-radius: 5px;
        display: block;
        padding: 5px 10px;
    }

    .header__get-app-mobile a {
        color: white;
        font-family: 'Roboto', sans-serif;
        font-size: 18px;
        font-weight: 700;
    }

    nav, .header__social-media {
        display: none;
    }

    /* Hero Styles */
    .hero-section__wrapper {
        display: block;
        padding-top: 15px;
        padding-left: 0;
    }

    .hero__content-container {
        display: flex;
        height: auto;
        justify-content: center;
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 0;
        margin-top: -100px;
    }

    .hero__img-container {
        margin: 0;
        overflow: hidden;
        position: relative;
    }

    .hero__img-container:after {
        background-image: linear-gradient(to top, #062237 10%, rgba(6, 34, 55, 0.03) 45%, rgba(6, 34, 55, 0) 75%);
        bottom: 0;
        content:'';
        left: 0;
        position:absolute;
        right: 0;
        top:0;
        width: 100%;
    }

    .hero__img-container img {
        margin: 0;
        width: 110%;
    }

    figure {
        padding-left: 30px;
        width: 100vw;
    }

    .hero__content {
        align-items: center;
        display: flex;
        flex-direction: column;
        max-width: 90%;
    }

    .hero__content h1 {
        font-size: 42px;
        line-height: 40px;
        margin-bottom: 5px;
        text-align: center;
    }

    .hero__content p {
        font-size: 24px;
        text-align: center;
    }

    button {
        font-size: 24px;
        padding: 15px 0;
        width: 70%;
    }

    /* Partners Styles */
    .partners__container h1 {
        font-size: 24px;
    }

    /* Info Styles */
    .info-grid {
        display: flex;
    }

    .info__images-container {
        display: none;
    }

    .info__content-container div{
        width: 100%;
    }

    .info__content-container p {
        font-size: 21px;
        padding: 30px 0;
    }

    /* Reviews Styles */
    .reviews-section-container {
        padding: 50px 30px 0 30px;
    }
    
    .reviews__grid {
        display: flex;
        flex-direction: column;
    }

    .review__container-text h2 {
        font-size: 16px;
    }

    .review__container-text p {
        font-size: 20px;
    }

    .review__container {
        border-left: none;
        border-bottom: 1px solid #eae8e2;
        margin-bottom: 20px;
    }

    .review__container-extra a {
        display: block;
        font-size: 20px;
        margin-bottom: 25px;
        margin-top: 30px;
    }   

    .reviews__app-content h1 {
        font-size: 29px;
    }

    .reviews__app-content p {
        font-size: 20px;
        line-height: 2;
        max-width: 280px;
    }

    /* Footer Styles */
    .footer-container {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer__haystack-logo {
        margin-bottom: 10px;
        margin-top: 25px;
        order: 0;
    }

    .footer__haystack-inc {
        font-size: 12px;
        margin-bottom: 30px;
        order: 1;
    }

    .footer__social-media {
        justify-content: space-around;
        margin-bottom: 30px;
        order: 2;
        width: 70%;
    }

    .footer__first-row-list {
        order: 3;
    }

    .footer__second-row-list {
        order: 4;
    }

    footer img {
        height: 22px;
    }

    .footer__first-row-list ul {
        align-items: center;
        flex-direction: column;
    }

    .footer__first-row-list a {
        font-size: 18px;
    }

    .footer__second-row-list ul {
        flex-wrap: wrap;
    }

    .footer__second-row-list a {
        font-size: 14px;
        transform: none;
    }

    .footer__second-row-list li {
        transform: none;
    }

    .footer__second-row-list li+li {
        border-left: none;
    }

    .footer-container {
        padding-bottom: 20px;
    }
}

@media screen and (max-width: 450px) {
    .hero__content h1 {
        font-size: 36px;
        line-height: 36px;
        margin-bottom: 9px;
    }

    .hero__content p {
        margin-bottom: 25px;
    }

    .hero__content-container {
        margin-top: -75px;
    }

    .hero__content {
        margin-bottom: 40px;
    }
}