* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

html, body, h1, h2, h3, h4, h5, h6 {
    padding: 0;
    margin: 0;
}

body {
    background-color: #F8F9ED;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #364356;
    min-height: 100%;
    padding: 10px;
    font-family: 'Roboto';
    font-weight: 400;
}

p {
    font-size: 16px;
    line-height: 34px;
}

a {
    color: #364356;
    text-decoration: none;
}

a:not(.btn):hover {
    color: #CCDB2D;
}

img, div {
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    font-family: 'Bebas Neue';
    font-weight: 400;
}

h1 {
    font-size: 35px;
    margin-bottom:16px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 29px;
}

main {
    max-width: 1200px;
    margin: auto;
    padding: 56px;
    border-radius: 10px;
    width: 100%;
    text-align: center;
    position: relative;
}

main>*:not(.main-bg) {
    z-index: 1;
}

.main-bg {
    background: url('images/main-bg.png');
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background-size: cover;
    border-radius: 10px;
    border: 0.5px solid rgba(255, 255, 255, 0.63);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.btn {
    font-family: 'Bebas Neue';
    font-size: 24px;
    background: #CCDB2D;
    padding: 14px 40px;
    box-shadow: 0px 2px 8px rgba(45, 44, 44, 0.1);
    border-radius: 5px;
    text-align:center;
}

.btn.btn-outline {
    background: none;
    border: 1px solid #364356;
}

.offset-bg {
    width: 100%;
    height: auto;
    position: relative;
    max-width: 340px;
    margin: 0 auto 60px auto;
}

.offset-bg .bg {
    background: #CCDB2D;
    border-radius: 2.72932px;
    position: absolute;
    bottom: -21px;
    right: -21px;
    height: 100%;
    width: 100%;
    z-index: 0;
}

.headshot-container {
    border-radius: 2.72932px;
    position: relative;
    z-index: 1;
}

.headshot-container .headshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.headshot-container .leaf {
    position: absolute;
    left: 4px;
    top: 6px;
    width: 80px;
}

.person-info {
    margin-bottom: 50px;
}

.special {
    color: #CCDB2D;
}

/* links section */

.links-section {
    display: flex;
    justify-content: center;
}

.links-section h4{
    font-size:24px;
}

.with-icon {
    display: flex;
    align-items: center;
}

.with-icon>svg {
    margin-right: 20px;
    display: flex;
    height:22px;
}

svg.fill {
    fill: #364356;
}

svg.stroke {
    stroke: #364356;
}

.with-icon:hover>svg.fill {
    fill: #CCDB2D;
}

.with-icon:hover>svg.stroke {
    stroke: #CCDB2D;
}

.half-column>* {
    margin-bottom: 30px;
}

.content-main h3 {
    margin-bottom: 40px;
}

.content-main .text-content {
    margin-bottom: 70px;
}

.buttons-contain .btn {
    display: block;
    margin-bottom: 30px;
}

.buttons-contain .btn:last-of-type {
    margin-bottom: 0;
}

.content-side {
    margin-bottom: 60px;
}

.leaf-accent {
    display: block;
    max-width: 100%;
    position: absolute;
    margin: auto;
    right: 0;
    left: 0;
    top: auto;
    bottom: 30px;
    opacity: 0.4;
}

@media only screen and (min-width:768px) {
    .half-column {
        display: flex;
        flex-wrap: wrap;
    }
    .half-column>* {
        flex: 0 1 45%;
        margin-right: 10%;
    }
    .with-icon {
        justify-content: center;
    }
    .half-column>*:nth-of-type(even), .half-column>*:last-of-type {
        margin-right: 0;
    }
    .half-column>div:nth-last-of-type(-n+2) {
        margin-bottom: 0;
    }
    .buttons-contain {
        display: flex;
        justify-content: center;
    }
    .buttons-contain>.btn {
        margin-right: 45px;
        margin-bottom: 0;
    }
    .buttons-contain>.btn:last-of-type {
        margin-right: 0;
    }
    h1 {
        font-size: 48px;
    }
    h2 {
        font-size: 38px;
    }
    h3 {
        font-size: 32px;
    }
}

@media only screen and (min-width:1200px) {
    .content-side {
        margin-bottom: 0;
    }
    .offset-bg {
        margin: 0 0 60px 0;
    }
    main {
        display: flex;
        flex-wrap: wrap;
        text-align: left;
    }
    main>.content-side {
        flex: 0 1 480px;
        margin-right: 40px;
    }
    main>.content-main {
        flex: 1;
    }
    .buttons-contain {
        display: flex;
        justify-content: flex-start;
    }
    .leaf-accent {
        display: block;
        position: absolute;
        margin: 0;
        right: 30px;
        left: auto;
        top: auto;
        bottom: 30px;
        opacity: 1;
    }
    .with-icon{
        justify-content:flex-start;
    }

}

@media only screen and (min-width:1200px){
    .btn{
        min-width:210px;
    }
}