
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "le-monde-livre-classic-byol", serif;
    font-weight: 300;
    font-style: normal;
    color: #2B2B2B;
}

.main-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: auto;
    padding: 0 5%;
    padding-bottom: 120px;
}

.full {
    background-color: #f2f2f2;
}

.row { flex-direction: row; }
.col { flex-direction: column; }

.container {
    padding-top: 60px;
}

.text-block {
    max-width: 60%;
    /* border: green dashed 1px; */
}

.text-block h2 {
    padding: 0px;
    margin-top: 0px;
    margin-bottom: 60px;
}

/* .link {
    border: red dashed 1px;
} */

.image-block {
    width: 100%;
}
.caption {
    border-left: rgb(162, 162, 162) solid 1px;
}

/* Video block */

.content-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: white;
}

.content-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Type */

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 300,
        'GRAD' 0,
        'opsz' 48;
}

h2 {
    font-size: 55px;
    font-weight: 300;
    font-style: italic;
    margin: 8px;
}

h3 {
    font-size: 16px;
    font-family: canada-type-gibson, sans-serif;
    font-weight: 200;
    font-style: normal;
    padding: 0 16px;
}

p {
    font-size: 28px;
    line-height: 40px;
    margin: 0;
    margin-bottom: 26px;
}

p:last-child {
    margin-bottom: 0px;
}

a {
    color: black;
}

.primary {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* border: black solid 1px; */
    font-size: 16px;
    font-family: canada-type-gibson, sans-serif;
    font-weight: 400;
    padding: 6px 8px;
    transition: .6s;
}
.primary span {
    margin-left: 8px; 
}
.primary:hover {
    background: #f2f2f2;
}

ul {
    padding: 0;
    margin: 0;
}

ul li {
    border-bottom: rgb(162, 162, 162) solid 1px;
    list-style: none;
}

ul li a{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    padding: 40px 10% 40px 10%;
    transition: .6s;
}

ul li a:hover {
    background-color: #f2f2f2;
    padding-left: 12%;
}

.arrow{
    opacity: 0;
    margin-right: 20px;
    transition: .6s;
}

ul li:hover .arrow {
    opacity: 1;
    margin-right: 0px;
}

.fade-off {
    transition: .6s;
}

.fade-on, .fade-on a {
    color: lightgray;
    transition: .6s;
}

.footer {
    text-align: center;
    padding: 80px 0;
}

@media (max-width: 840px) {

    .main-content {
        padding: 0 8%;
        padding-bottom: 80px;
    }

    .row {
        flex-direction: column-reverse;
        align-items: flex-end;
     }

    .container {
        padding-top: 40px;
        margin-bottom: 24px;
    }

    .text-block {
        max-width: 100%;
    }
    .caption {
        margin-top: 16px;
        padding-left: 16px;
    }


    p {
        font-size: 25px;
    }
        h2 {
            font-size: 30px;
            margin: 2px;
        }

        h3 {
            font-size: 14px;
            padding: 0px;
            margin: 4px;
        }
    
        ul li a {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            text-decoration: none;
            padding: 24px 5% 24px 10%;
            transition: .6s;
        }
    
        ul li a:hover {
            background-color: #ebf2f6;
            padding-left: 12%;
        }
    
        .arrow {
            opacity: 1;
            margin: 0px;
            transition: .6s;
        }

        .arrow img {
            width: 50px;
        }

}
