/**
General styles
 */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

.oaf-font-primary {
    font-family: 'Montserrat', sans-serif;
}

.oaf-font-secondary {
    font-family: Arial, serif;
}

.oaf-font-tertiary {
    font-family: 'Italianno', cursive;
}

.oaf-font-quaternary {
    font-family: 'Athelas Regular', Arial, sans-serif;
}

.oaf-font-myriad {
}

.oaf-title {
    font-size: 25px;
}

.oaf-text {
    font-size: 18px;
    line-height: 30px;
}

.oaf-font-style-italic {
    font-style: italic;
}

.oaf-font-size-30 {
    font-size: 30px;
}

.oaf-font-size-25 {
    font-size: 25px;
}

.oaf-font-size-20 {
    font-size: 20px;
}

.oaf-font-size-18 {
    font-size: 18px;
}

.oaf-font-size-15 {
    font-size: 15px;
}

.oaf-font-size-12 {
    font-size: 12px;
}

.oaf-text-small {
    font-size: 12px;
}

.oaf-color-primary {
    color: #e37f89;
}

.oaf-color-green {
    color: #68ba3d;
}

.oaf-color-hover-green:hover {
    color: #68ba3d;
}

.oaf-text-underline {
    text-decoration: underline;
}

.oaf-bg-primary {
    background-color: #e37f89;
}

.oaf-border-primary {
    border-color: #e37f89;
}

.oaf-bg-secondary {
    background-color: #fbf4e2;
}

.oaf-section-container {
    max-width: 1366px;
    margin: auto
}

.oaf-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.oaf-hr {
    height: 4px;
    background-image: linear-gradient(to top, #f6f6f6, white);
}

/**
Buttons
 */

.oaf-btn {
    font-family: Arial, serif;
    font-size: 20px;
    padding-left: 23px;
    border-radius: 50px;
    text-decoration: none;
    border-bottom: 3px solid rgba(148, 145, 141, .6);
}

.oaf-btn:after {
    display: inline-block;
    vertical-align: middle;
    content: url("../icons/bouton.svg");
    width: 40px;
    height: 40px;
}

@media all and (max-width: 465px) {
    .oaf-btn {
        font-size: 14px;
        padding-left: 23px;
        border-radius: 50px;
        text-decoration: none;
        border-bottom: 3px solid rgba(148, 145, 141, .6);
    }

    .oaf-btn:after {
        display: inline-block;
        vertical-align: middle;
        content: url("../icons/bouton.svg");
        width: 32px;
        height: 32px;
    }
}

.oaf-btn-primary {
    background-color: #e37f89;
    color: white;
}

.oaf-btn-primary:hover {
    text-decoration: none;
    color: white;
}

.oaf-btn-primary:active {
    text-decoration: none;
    color: white;
    border-bottom: none;
}


.oaf-btn-secondary {
    background-color: white;
    color: #e37f89;
}

.oaf-btn-secondary:hover {
    text-decoration: none;
    color: #e37f89;
}

.oaf-btn-secondary:active {
    text-decoration: none;
    color: #e37f89;
    border-bottom: none;
}

/**
Post card styles
 */
.oaf-post-card-img-container {
    position: relative;
}

.oaf-post-card-img-container img {
    width: 100%;
    height: auto;
    display: block;
}

.oaf-post-card-date-container {
    position: absolute;
    bottom: 0;
    left: 0;
}

.oaf-post-card-date {
    background-color: #e37f89;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.oaf-post-card-year {
    background-color: #cc727b;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.oaf-post-card-title {
    font-family: Arial, serif;
    font-size: 25px;
    text-transform: capitalize;
    margin: .8rem 0 0 0;
}

.oaf-post-card-excerpt {
    color: #b3b3b3;
    font-family: Arial, serif;
    font-size: 18px;
    margin-bottom: 0;
}

.oaf-post-card-excerpt-permalink {
    font-family: Arial, serif;
    font-size: 18px;
    color: #5eb530;
    text-decoration: underline;
}

.oaf-post-card-excerpt-permalink:hover {
    color: #5eb530;
    text-decoration: underline;
}

.oaf-post-card-pill {
    font-family: Arial, serif;
    font-size: 15px;
    color: black;
    text-decoration: none;
    background-color: #fbf4e8;
    padding: .4rem;
}

.oaf-post-card-pill:hover {
    color: black;
    text-decoration: none;
}

/**
Footer
 */

.oaf-footer {
    font-size: 12px;
    padding: 1.6rem 0 1.6rem 0;
}

.oaf-footer a {
    color: black;
    text-decoration: underline;
}

.oaf-footer a:hover {
    color: black;
}
