#blogpostviewer{
    overflow: hidden;
    max-height: 0em;
    transition: max-height 1s ease-in-out;
    /* border: 2px dashed white; */
    border-radius: 1em;
}


.blog{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/**************/

.blogpost_button{
    display: flex;
    flex-direction: column;
    color: white;
    margin: 0.1em;
    border: 0;
    border-radius: 2em;
    width: 30%;
    aspect-ratio: 1;
    overflow: hidden;
    justify-content: space-around;
    align-items: center;
}
.blogpost_button_video{
    display: flex;
    flex-direction: column;
    color: white;
    margin: 0.1em;
    border: 0;
    border-radius: 2em;
    width: 60%;
    aspect-ratio: 1;
    overflow: hidden;
    justify-content: space-around;
    align-items: center;
}
.blogpost_button_video:hover{
    cursor: pointer;
    border-radius: 10em;
    font-size: 1.1em;
    transition: border-radius 1s ease-in-out, font-size 0.5s ease-in-out;
}
.blogpost_button:hover{
    cursor: pointer;
    border-radius: 10em;
    font-size: 1.1em;
    transition: border-radius 1s ease-in-out, font-size 0.5s ease-in-out;
}


.blogHeader{
    display: flex;
    flex-direction: column;
    text-align: center;
}

.blog h1
{
    padding: 0;
    margin: 0;
}
.blog h2
{    
    text-shadow: 2px 2px black;
    font-size: 1.2em;
    padding: 0;
    margin: 0;
}
.blog h3
{
    font-style: normal;
    font-size: 0.6em;
    padding: 0;
    margin: 0;
}
.blog h4
{
    font-style: normal;
    font-size: 0.5em;
    padding: 0;
    margin: 0;
}

.blogContents{
    text-align: justify;
    max-width: 100%;
}

.blogContents iframe{
    max-width: 100%;
}

.blogpost img{
    width: 25%;
    object-fit: cover;
}


@media screen and (min-width: 100vh) {
    /* The width is greater than the height */
    main{
        max-width: 75%;
        margin: auto;
    }
  }