@import "nav.css";
@import "fonts.css";

body,
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
}

.hero-image {
    width: 100%;
    position: absolute;
    z-index: 1;
    height: 420px;
    object-fit: cover;
    left: 0;
}

.hero-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-family: 'Avenir Next Bold', sans-serif;
    color: white;
    height: 420px;
    background: rgba(0, 0, 0, 0.3);
}

.page-links {
    display: flex;
    justify-content: center;
    height: 60px;
    background-color: #F2F2F2;
    margin-bottom: 70px;
}

.page-link {
    display: inline-flex;
    height: 100%;
    background-color: transparent;
    font-family: 'Avenir Next Medium', sans-serif;
    font-size: 14px;
    color: #083A55;
    padding-top: 2px;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    margin: 0 5%;
    border-bottom: 2px solid transparent;
}

.page-link--active {
    border-color: #FF576B;
    font-family: 'Avenir Next Bold', sans-serif;
}

.grid {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    grid-column-gap: 50px;
    padding: 0 8% 100px;
}

.benefits-header {
    font-family: "Avenir Next Medium", sans-serif;
    color: #333333;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.benefits-split-line {
    width: 100%;
    height: 2px;
    display: flex;
    margin-bottom: 14px;
    background-color: #0eaaed;
}

.benefits-text {
    font-family: "Avenir Next Regular", sans-serif;
    font-size: 14px;
    color: #333333;
    line-height: 24px;
    margin-bottom: 14px;
}

.benefits-link {
    font-family: "Avenir Next Medium", sans-serif;
    font-size: 13px;
    color: #FF576B;
    line-height: 24px;
    text-decoration: none;
}

.body-text {
    font-family: "Avenir Next Regular", sans-serif;
    font-size: 16px;
    color: #333333;
    line-height: 24px;
}

.body-text + .body-text {
    margin-top: 40px;
}

.share-links {
    display: grid;
    grid-template-rows: repeat(2, 60px);
    grid-row-gap: 15px;
    grid-template-columns: 60px;
    padding: 20px 10px;
    position: absolute;
    top: 100px;
    right: 0;
    background-color: #FF576B;
}

.share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 450ms;
    color: white;
    cursor: pointer;
}

.share-link__icon {
    width: 50%;
}

.share-link:hover {
    background-color: white;
    color: #FF576B;
}

@media (max-width: 900px) {
    .share-links {
        grid-template-rows: repeat(2, 30px);
        grid-template-columns: 30px;
        padding: 20px 5px;
    }
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
        grid-row-gap: 30px;
        padding-bottom: 40px;
    }

    .share-links {
        grid-template-rows: 40px;
        grid-template-columns: repeat(2, 40px);
        position: relative;
        top: 0;
        width: fit-content;
        grid-column-gap: 10px;
        padding: 10px;
        grid-row: 2;
    }

    .benefits {
        grid-row: 3;
    }
}