/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi-child/
Version: 4.19.5
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Author: Elegant Themes
Template: Divi
Author URI: http://www.elegantthemes.com
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  divi-child
*/



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Juana Medium It';
    src: url('fonts/juana-mediumit.otf');
    src: url('fonts/juana-mediumit.otf') format('opentype');
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Juana Pro';
    src: url('fonts/juana-regular.otf');
    src: url('fonts/juana-regular.otf') format('opentype');
    font-display: swap;
    font-weight: normal;
}

@font-face {
    font-family: 'Juana Pro';
    src: url('fonts/juana-light.otf');
    src: url('fonts/juana-light.otf') format('opentype');
    font-display: swap;
    font-weight: normal;
}

.container-main {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-main {
    display: flex;
    justify-content: space-between;
    padding: 120px 140px;
    position: relative;
}
.blog-img img {
    max-width: 330px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 4px 4px 7px 0px rgba(0, 0, 0, 0.45);
}

.blog-txt {
    width: calc(64% - 20px);
    border: 1px solid rgb(17 19 20);
    padding: 20px 50px 50px 50px;
    position: relative;
    min-height: 485px;
}

.blog-txt h2 {
    padding: 0 0 85px 0;
}

.blog-txt a.button-main {
    font-family: 'Juana Light';
    color: white;
    font-size: 12px;
    line-height: 32px;
    text-decoration: none;
    letter-spacing: 3px;
    text-transform: uppercase;
    background-color: rgba(17,19,20,1);
    padding: 10px 40px;
    display: inline-block;
    border: 1px solid rgba(17,19,20,1);
    transition: .3s all;
    z-index: 1;
}
a.button-main {
    position: absolute;
    right: -84px;
    bottom: 30px;
}

.blog-txt a.button-main:hover{
    color: rgba(17,19,20,1);
    border: 1px solid rgba(17,19,20,1);
    background: white;
}

.blog-img {
    width: calc(36% - 10px);
}

.blog-main-wrap h2 {
    font-family: 'Juana Regular';
    text-transform: uppercase;
    font-style: italic;
    color: #333333;
    font-size: 34px;
    font-weight: normal;
}
.blog-txt h2 a {
    text-decoration: none;
    color: #333333;
}
.blog-txt h2 a:hover {
    opacity: 0.8;
}
.blog-main-wrap p {
    font-family: 'Juana Light';
    color: #333333;
    font-size: 15px;
    line-height: 32px;
    letter-spacing: 0.8px;
}

.blog-txt h2 span {
    font-size: 12px;
    font-style: normal;
    letter-spacing: 1px;
    padding-left: 8px;
    position: relative;
    color: #262a2d;
}
.blog-txt h2 span::before {
    content: "";
    top: 7px;
    position: absolute;
    right: 100%;
    left: auto;
    bottom: 0;
    background: #111314;
    z-index: -1;
    width: 100vw;
    height: 1px;
    z-index: 1;
}
p.date-main {
    position: absolute;
    transform: rotate(270deg);
    right: -450px;
    top: 52px;
    font-size: 20px;
    font-style: italic;
}
.blog-main-wrap div.for-blg-clr:nth-child(even) {
    background: #eeedeb;
}

@media only screen and (max-width: 1199px){
    .blog-txt h2 {
        padding: 0 0 30px 0;
    }
    .blog-txt {
        padding: 30px 50px 40px 50px;
    }
    p.date-main {
        position: unset;
        transform: unset;
        right: 0;
        top: 0;
        font-size: 15px;
        font-style: italic;
    }
}
@media only screen and (max-width: 1024px){
    .blog-main {
        display: flex;
        justify-content: space-between;
        padding: 120px 20px;
    }
}
@media only screen and (max-width: 800px){
    .blog-main-wrap p {
        padding-right: 50px;
    }
}
@media only screen and (max-width: 767px){
    .blog-main {
        display: flex;
        flex-direction: column-reverse;
        padding: 50px 20px;
        align-items: center;
    }
    .blog-txt {
        width: 100%;
        padding: 30px 50px 50px 50px;
        min-height: unset;
    }
    .blog-img {
        width: 100%;
    }
    .blog-img img {
        max-width: 100%;
        height: 100%;
        max-height: 340px;
        object-fit: cover;
    }
    a.button-main {
        position: unset !important;
        margin: 30px 0 0 0;
    }
    .blog-main-wrap p {
        padding-right: 0 ;
    }
}
@media only screen and (max-width: 479px){
    .blog-txt {
        width: 100%;
        padding: 10px 20px 30px;
    }
}