/* Header */

#header{
    background-image: url("/images/building.jpg");
    background-color: rgba(255,255,255,.5);
    background-blend-mode: lighten;

    
    background-size: cover;
    background-position: center;

    position: relative;
    padding-bottom: 150px;
    min-height: 50vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Alert */
.alert {
    display: flex;
    z-index: 1;
    padding: 5px 15px;
    background-color: rgba(217,83,79,.5);
    color: black;
    width: 100%;
    margin-bottom: 0px;
    align-items: center top;
    max-width: 900px;
    top:0;
    margin: 0 auto;
    border: 3px solid rgb(217,83,79);
}

.alert p{
    margin: 0;
    align-items: center;
    font-size: 16px;
}

.closebtn {
    cursor: pointer;
    padding-left: 1rem;
    flex: 1;
    text-align: right;
    transition: 0.3s;
    color: black;
}

.closebtn:hover {
    color: white;
}

/* About */

#about{
    font-size: 20px;
    padding: 0 1rem;
    padding-top: 5rem;
}

#about .image{
    max-width: 500px;
}

#about .image img{
    max-width: 100%;
}

.col-3{
    width: 100%;
}

@media(min-width:768px){
    #about .info{
        flex-basis: 66%;
    }

    #about .image{
        flex-basis: 33%;
        min-width: 300px;
    }

    .col-3{
        flex-basis: 33%;
        min-width: 300px;
    }
}

/* Contact */

#contact{
    font-size: 20px;
}

#contact .content{
    padding: 1rem;
}

/* Blog */

#blog{
    padding: 100px 0;
    background-color: var(--dark-primary-color);
    position: relative;
}

.post{
    box-shadow: 2px 2px 10px rgba(0,0,0,.2);
    padding: 0 .5rem;
    margin: .5rem 0;
    background-color: #FFFFFF;
}

.post p{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post p a{
    text-decoration: none;
    color: black;
}

.post p a:hover{
    text-decoration: underline;
    color: var(--secondary-text-color)
}

/* Shapes */

.tilt {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.tilt svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.tilt .shape-fill {
    fill: #FFFFFF;
}

/** For mobile devices **/
@media (max-width: 767px) {
    .tilt svg {
        width: calc(100% + 1.3px);
        height: 92px;
    }
}

.tilt-top{
    top: 0;
}

.tilt-bottom{
    bottom: 0;
    transform: rotate(180deg);
}

.curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.curve svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.curve .shape-fill {
    fill: #FFFFFF;
}

/** For mobile devices **/
@media (max-width: 767px) {
    .curve svg {
        width: calc(100% + 1.3px);
        height: 150px;
    }
}