.blog-main{
    max-width: 100%;
    margin: 4rem 2rem 8rem 2rem;
    box-sizing: border-box;
}

.blog-body{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    width: 100%;
    padding: 4rem 0; 
}
.blog-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 45%;
    position: relative;
    margin: 2rem auto;
}

.beszamolo{
    background-color: #305F3F;
}

.meghivo{
    background-color: #90B800;
}

.b-row{
    display: flex;
    justify-content:space-evenly;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
}

.br-first{
    justify-content: space-between;
    padding: 0 2rem;
    margin: 1rem;
    border-bottom: .2rem solid #000;
}

.blog-title{
    color: #A6D1F2;
    font-size: 4rem;
    padding: 0 1rem;
    box-sizing: border-box;
    text-shadow: .1rem .2rem .3rem #EBB433;
    width: 70%;
    text-align: center;
}

.esemeny-ideje{
    font-size: 2.5rem;
    font-style: italic;
    color: #EEC158;
    text-align: right;
    align-self: flex-end;
    padding: .2rem 8rem .2rem 0;
}

.br-second{
    justify-content: space-evenly;
    padding: 1rem 1rem;
    margin-bottom: .2rem;
    border-bottom: .2rem solid #000;
}

.b-photo-wrapper{
    width: 30%;
    text-align: center;
}

.blog-photo{
    width: 85%;
    height: auto;
}

.blog-content{
    max-width: 60%;
    font-size: 3.2rem;
    font-weight: 100;
    color: #EEC158;
    text-shadow: .1rem .1rem .2rem #113322;
}

.br-third{
    font-size: 2.3rem;
    font-style: italic;
    color: #A6D1F2;
    justify-content: space-between;
    width: 60%;
}

.direct{
    opacity: 70%;
    width: max-content;
    color: #fff;
    background-color: #2225d677;
    margin-bottom: 2rem;
    font-size: 2.7rem;
    padding: 0 1rem;
    border-radius: 2rem;
    font-style: italic;
}

.direct:hover{
    opacity: 90%;
    background-color: #2225d699;
    font-style:normal;
    cursor: pointer;
}

.close{
    opacity: 70%;
    padding: 0 1rem;
    border-radius: 2rem;
    background-color: #22559988;
    margin-bottom: 2rem;
    color: #fff;
    width: max-content;
    bottom: 0;
    text-align: center;
    font-style: italic;
    font-size: 2.7rem;
}

.close:hover{
    opacity: 90%;
    cursor: pointer;
    font-style: normal;
}

.open-br{
    flex-direction: column;
}

.open-photo-wrapper{
    margin: 2rem auto;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.open-photo{
    width: 40%;
    margin: 1rem;
    height: auto;
}

.open-content{
    text-align:center;
}
@media (max-width:1500px) {
    .blog-title{
        font-size: 3.8rem;
    }
    .esemeny-ideje{
        font-size: 2.3rem;
    }
    .br-second{
        justify-content: space-evenly;
        padding: 1rem .6rem;
    }
    .b-photo-wrapper{
        width: 30%;
        text-align: center;
    }
    .blog-content{
        font-size: 2.8rem;
    }
    .br-third{
        font-size: 2rem;
    }
    .open-photo-wrapper{
        margin: 2rem auto;
        padding: 1rem 0;
    }
    .open-photo{
        width: 60%;
        margin: 1rem 0;
        height: auto;
    }
}
@media (max-width:1200px) {
    .b-row{
        justify-content:space-evenly;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .br-first{
        text-align: center;
        justify-content: space-between;
        padding: 0;
        margin: 0 auto;
    }
    .br-second{
        justify-content: space-evenly;
        padding: 0;
        margin-bottom: 1rem;
        border-bottom: .2rem solid #000;
    }
    .blog-title{
        font-size: 3.4rem;
        padding-bottom: .5rem;
        padding-top: 1rem;
    }
    .esemeny-ideje{
        font-size: 2rem;
        text-align: center;
        align-self: center;
        padding: 0;
        padding-bottom: .5rem;
        margin: 0;
    }
    .b-photo-wrapper{
        margin-top: 1rem;
        width: 30%;
        text-align: center;
    }
    .blog-content{
        text-align: center;
        max-width: 100%;
        width: 80%;
        font-size: 2.4rem;
    }
    .br-third{
        font-size: 1.5rem;
    }
    .direct{
        font-size: 2rem;
        margin-top: 1rem;
    }
    .close{
        font-size: 2rem;
        margin-top: 1rem;
    }
    .open-photo-wrapper{
        margin: 2rem auto;
        padding: 1rem 0;
    }
    .open-photo{
        width: 70%;
        margin: 1rem .5rem;
        height: auto;
    }
}
@media (max-width:1000px) {
    .blog-body{
        display: flex;
        flex-direction: column;
        align-items: baseline;
        width: 100%;
        padding: 4rem 0; 
    }
    .blog-container{
        margin-bottom: 3rem;
    }
    .blog-title{
        font-size: 3.6rem;
        padding-bottom: .5rem;
        padding-top: 1rem;
    }
    .esemeny-ideje{
        font-size: 2.2rem;
        text-align: center;
        align-self: center;
        padding: 0;
        padding-bottom: .5rem;
        margin: 0;
    }
    .blog-content{
        width: 80%;
        font-size: 2.6rem;
    }
    .br-third{
        font-size: 2rem;
    }
    .direct{
        font-size: 2.5rem;
        margin-top: 1rem;
    }
}
@media (max-width:940px) {
    .blog-container{
        width: 60%;
    }
    .blog-title{
        font-size: 3.4rem;
        padding-bottom: .5rem;
        padding-top: 1rem;
    }
    .esemeny-ideje{
        font-size: 2rem;
        text-align: center;
        align-self: center;
        padding: 0;
        padding-bottom: .5rem;
        margin: 0;
    }
    .blog-content{
        width: 90%;
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    .br-third{
        font-size: 1.5rem;
    }
    .direct{
        font-size: 2rem;
        margin-top: 1rem;
}
}
@media (max-width:700px) {
    .blog-container{
        width: 70%;
    }
}
@media (max-width:600px) {
    .blog-container{
        width: 80%;
    }
}
@media (max-width:500px) {
    .blog-container{
        width: 90%;
    }
}