/* global */

* {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

body {
    background: #fff;
    margin: 0;
    padding: 0;
    font-family: brandon-grotesque, sans-serif;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* end of global */

@media(min-width: 1366px) {
    #left-quote {
        float: left;
        font-size: 2rem;
        margin: 5px;
        color: #bc8d35;
    }
    #right-quote {
        float: right;
        font-size: 2rem;
        margin: 5px;
        color: #bc8d35;
    }
    .story-section {
        width: 100%;
        padding: 100px 10%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .story-text p {
        margin: 10px 0;
        font-size: 20px;
        font-weight: 400;
        color: #555555;
        line-height: 1.5;
    }
    .story-text h3 {
        margin: 10px 0;
        font-size: 25px;
        font-weight: 500;
        color: #002244;
    }
    .story-image {
        margin: 0 0 0 50px;
        width: 600px;
        height: auto;
        background-size: cover;
        background-position: 50% 0%;
        background-repeat: no-repeat;
    }
    .image-section {
        width: 100%;
        padding: 50px 10%;
        display: grid;
        grid-gap: 50px;
    }
    .image-item {
        /* grid-area: -1 / 1; */
        min-height: 400px;
        height: auto;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: inset 0 0 40px 1000px rgba(0, 0, 0, 0.3);
        padding: 10px;
        text-align: center;
        transition: all 0.2s ease-in-out;
    }
    .image-item h3 {
        transform: translateY(40px);
        margin: 10px auto;
        font-size: 30px;
        font-weight: 500;
        color: #fff;
        text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.85);
        transition: all 0.2s ease-in-out;
    }
    .image-item h4 {
        position: relative;
        z-index: -1;
        font-size: 25px;
        opacity: 0;
        transform: translateY(400px);
        margin: 10px auto;
        font-weight: 500;
        color: #fff;
        text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.85);
        transition: all 0.2s ease-in-out;
    }
    .image-item a {
        position: relative;
        z-index: -1;
        opacity: 0;
        transform: translateY(400px);
        border: 2px solid #fff;
        border-radius: 3px;
        color: #fff;
        padding: 10px 20px;
        margin: 10px auto;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease-in-out;
    }
    .image-item:hover {
        box-shadow: inset 0 0 40px 1000px rgba(0, 0, 0, 0.6);
    }
    .image-item:hover h3 {
        transform: translateY(0);
    }
    .image-item:hover h4 {
        z-index: 0;
        opacity: 1;
        transform: translateY(0);
    }
    .image-item:hover a {
        z-index: 0;
        opacity: 1;
        transform: translateY(0);
    }
    .image-item a:hover {
        background: #fff;
        color: #002244;
    }
}

@media(max-width: 1366px) and (min-width: 1024px) {
    #left-quote {
        float: left;
        font-size:2rem;
        margin: 5px;
        color: #bc8d35;
    }
    #right-quote {
        float: right;
        font-size:2rem;
        margin: 5px;
        color: #bc8d35;
    }
    .story-section {
        width: 100%;
        padding: 100px 5%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .story-text p {
        margin: 10px 0;
        font-size: 20px;
        font-weight: 400;
        color: #555555;
        line-height: 1.5;
    }
    .story-text h3 {
        margin: 10px 0;
        font-size: 25px;
        font-weight: 500;
        color: #002244;
    }
    .story-image {
        margin: 0 0 0 50px;
        width: 500px;
        height: auto;
        background-size: cover;
        background-position: 50% 0%;
        background-repeat: no-repeat;
    }
    .image-section {
        width: 100%;
        padding: 50px 5%;
        display: grid;
        grid-gap: 50px;
    }
    .image-item {
        /* grid-area: -1 / 1; */
        min-height: 400px;
        height: auto;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: inset 0 0 40px 1000px rgba(0, 0, 0, 0.3);
        padding: 10px;
        text-align: center;
        transition: all 0.2s ease-in-out;
    }
    .image-item h3 {
        transform: translateY(40px);
        margin: 10px auto;
        font-size: 30px;
        font-weight: 500;
        color: #fff;
        text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.85);
        transition: all 0.2s ease-in-out;
    }
    .image-item h4 {
        position: relative;
        z-index: -1;
        font-size: 25px;
        opacity: 0;
        transform: translateY(400px);
        margin: 10px auto;
        font-weight: 500;
        color: #fff;
        text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.85);
        transition: all 0.2s ease-in-out;
    }
    .image-item a {
        position: relative;
        z-index: -1;
        opacity: 0;
        transform: translateY(400px);
        border: 2px solid #fff;
        border-radius: 3px;
        color: #fff;
        padding: 10px 20px;
        margin: 10px auto;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease-in-out;
    }
    .image-item:hover {
        box-shadow: inset 0 0 40px 1000px rgba(0, 0, 0, 0.6);
    }
    .image-item:hover h3 {
        transform: translateY(0);
    }
    .image-item:hover h4 {
        z-index: 0;
        opacity: 1;
        transform: translateY(0);
    }
    .image-item:hover a {
        z-index: 0;
        opacity: 1;
        transform: translateY(0);
    }
    .image-item a:hover {
        background: #fff;
        color: #002244;
    }
}

@media(max-width: 1024px) and (min-width: 769px) {
    #left-quote {
        float: left;
        font-size:2rem;
        margin: 5px;
        color: #bc8d35;
    }
    #right-quote {
        float: right;
        font-size:2rem;
        margin: 5px;
        color: #bc8d35;
    }
    .story-section {
        width: 100%;
        padding: 100px 5%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }
    .story-text p {
        margin: 10px 0;
        font-size: 20px;
        font-weight: 400;
        color: #555555;
        line-height: 1.5;
    }
    .story-text h3 {
        margin: 10px 0;
        font-size: 20px;
        font-weight: 500;
        color: #002244;
    }
    .story-image {
        margin: 25px 0 0 0;
        width: 400px;
        height: auto;
        background-size: cover;
        background-position: 50% 0%;
        background-repeat: no-repeat;
    }
    .image-section {
        width: 100%;
        padding: 50px 5%;
        display: grid;
        grid-gap: 50px;
    }
    .image-item {
        /* grid-area: -1 / 1; */
        min-height: 400px;
        height: auto;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: inset 0 0 40px 1000px rgba(0, 0, 0, 0.3);
        padding: 10px;
        text-align: center;
        transition: all 0.2s ease-in-out;
    }
    .image-item h3 {
        transform: translateY(40px);
        margin: 10px auto;
        font-size: 30px;
        font-weight: 500;
        color: #fff;
        text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.85);
        transition: all 0.2s ease-in-out;
    }
    .image-item h4 {
        position: relative;
        z-index: -1;
        font-size: 25px;
        opacity: 0;
        transform: translateY(400px);
        margin: 10px auto;
        font-weight: 500;
        color: #fff;
        text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.85);
        transition: all 0.2s ease-in-out;
    }
    .image-item a {
        position: relative;
        z-index: -1;
        opacity: 0;
        transform: translateY(400px);
        border: 2px solid #fff;
        border-radius: 3px;
        color: #fff;
        padding: 10px 20px;
        margin: 10px auto;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease-in-out;
    }
    .image-item:hover {
        box-shadow: inset 0 0 40px 1000px rgba(0, 0, 0, 0.6);
    }
    .image-item:hover h3 {
        transform: translateY(0);
    }
    .image-item:hover h4 {
        z-index: 0;
        opacity: 1;
        transform: translateY(0);
    }
    .image-item:hover a {
        z-index: 0;
        opacity: 1;
        transform: translateY(0);
    }
    .image-item a:hover {
        background: #fff;
        color: #002244;
    }
}

@media(max-width: 769px) {
    #left-quote {
        float: left;
        font-size:2rem;
        margin: 5px;
        color: #bc8d35;
    }
    #right-quote {
        float: right;
        font-size:2rem;
        margin: 5px;
        color: #bc8d35;
    }
    .story-section {
        width: 100%;
        padding: 50px 5%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }
    .story-text p {
        margin: 10px 0;
        font-size: 20px;
        font-weight: 400;
        color: #555555;
        line-height: 1.5;
    }
    .story-text h3 {
        margin: 10px 0;
        font-size: 20px;
        font-weight: 500;
        color: #002244;
    }
    .story-image {
        margin: 25px 0 0 0;
        width: 290px;
        height: auto;
        background-size: cover;
        background-position: 50% 0%;
        background-repeat: no-repeat;
    }
    .image-section {
        width: 100%;
        padding: 50px 5%;
        display: grid;
        grid-gap: 50px;
    }
    .image-item {
        grid-column: -1 / 1;
        min-height: 400px;
        height: auto;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: inset 0 0 40px 1000px rgba(0, 0, 0, 0.3);
        padding: 10px;
        text-align: center;
        transition: all 0.2s ease-in-out;
    }
    .image-item h3 {
        transform: translateY(40px);
        margin: 10px auto;
        font-size: 30px;
        font-weight: 500;
        color: #fff;
        text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.85);
        transition: all 0.2s ease-in-out;
    }
    .image-item h4 {
        position: relative;
        z-index: -1;
        font-size: 25px;
        opacity: 0;
        transform: translateY(400px);
        margin: 10px auto;
        font-weight: 500;
        color: #fff;
        text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.85);
        transition: all 0.2s ease-in-out;
    }
    .image-item a {
        position: relative;
        z-index: -1;
        opacity: 0;
        transform: translateY(400px);
        border: 2px solid #fff;
        border-radius: 3px;
        color: #fff;
        padding: 10px 20px;
        margin: 10px auto;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease-in-out;
    }
    .image-item:hover {
        box-shadow: inset 0 0 40px 1000px rgba(0, 0, 0, 0.6);
    }
    .image-item:hover h3 {
        transform: translateY(0);
    }
    .image-item:hover h4 {
        z-index: 0;
        opacity: 1;
        transform: translateY(0);
    }
    .image-item:hover a {
        z-index: 0;
        opacity: 1;
        transform: translateY(0);
    }
    .image-item a:hover {
        background: #fff;
        color: #002244;
    }
}
