@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&family=Open+Sans:wght@300;400&display=swap');

* {
    box-sizing: border-box;
}

html, body {
    font-family: 'Open Sans', sans-serif;
    padding: 0;
    margin: 0;
    font-size: 18px;
}

img {
    width: 100%;
    display: block;
}

.d-large {
    display: none;
}
.d-small {
    display: block;
}

.container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

.small-container {
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
    line-height: 1;
}

h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 30px;
    font-weight: 400;
}

h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 40px;
    font-weight: 400;
}

h3 {
    font-size: 30px;
    font-weight: 400; 
}

h4 {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 1em;
    line-height: 1.5;
}

.center {
    text-align: center;
}

.black {
    color: #000;
}

.btn {
    display: block;
    text-transform: uppercase;
    padding: 10px 20px;
    max-width: 150px;
    margin: 0 auto;
    text-decoration: none;
    text-align: center;
    border: 0px;
}
.btn-lg {
    max-width: 200px;
}
.btn-blue {
    background-color: #455467;
    color: #FFF;
}

.section {
    margin: 100px auto;
    padding: 0 20px;
}

.no-padding {
    padding: 0 !important;
}

.margin-bottom {
    margin-bottom: 20px;
}

.section h3 {
    margin-top: 20px;
    line-height: 1.2;
}

.section h4 {
    margin-bottom: 5px;
}

a.simple-link {
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
}

a.simple-link::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 8px;
    transform-origin: center;
    width: 8px;
    height: 8px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    rotate: 45deg;
}

.d-break::after {
    content: " ";
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 50px;
}
.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 50px;
}

.form-group {
    margin-bottom: 20px;
}

input.form-control {
    margin-top: 5px;
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #DDD;
    font-size: 16px;
}

textarea.form-control {
    margin-top: 5px;
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #DDD;
    height: 200px;
    font-size: 16px;
}

button.form-control {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    max-width: 500px !important;
}

@media screen and (min-width:760px){
    .d-large {
        display: block;
    }
    .d-small {
        display: none;
    }
    h1 {
        font-size: 36px;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 48px;
    }
    
    h3 {
        font-size: 36px;
    }
    
    h4 {
        font-size: 24px;
    }
    
    p {
        font-size: 1em;
    }

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

    .flex {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .gap {
        gap: 20px;
    }
    .flex-reverse {
        flex-direction: row-reverse;
    }
    .flex a {
        width: 50%;
    }
    .flex-content {
        padding: 0px 40px;
        width: 50%;
    }
    .flex-reverse .flex-content {
        text-align: right;
    }
    .flex-reverse .flex-content a {
        position: relative;
        right: 15px;
    }
    .d-break {
        display: block;
    }
    .d-break::after {
        content: "";
    }
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 20px;
    }
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
        column-gap: 20px;
    }
}

@media screen and (max-width:759px){
    h2 {
        line-height: 1.2;
    }
}