:root {
    --primary-light: #520000;
    --primary-dark: #000000;
    --black: #000000;
    --white: #efefef;
}

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

#about {
    width: 100%; 
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/about/old_vigan_plaza_salcedo.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-main{
    margin-top:200px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.about-container{
    width:35%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap:30px;
}

.about-header{
    border:2px solid #fff;
    padding:10px 15px;
    border-radius: 5px;
}
.about-container h4{
    color:#fff;
    font-weight: 800;
    text-align: center;
}
.about-container p{
    color:#fff;
    font-size:18px;
    margin: 0;
    text-align: center;
}
.about-container img{
    height: 350px;
    border-radius: 5px;
}
.about-container img:hover{
    transform:scale(1.02);
    transition: ease-in-out 0.5s;
    border:1px solid var(--primary-light);
}

.about-page-special {
    padding: 40px 0;
}


.about-page-special h3 {
    font-size:35px;
    margin-bottom: 20px;
}

.about-page-special h3 a{
    color: var(--primary-light);
    text-decoration: none;
}
.about-page-special h3 span{
    color: var(--primary-light);

}

.about-page-special img {
    margin-bottom: 20px;
    height: 300px;
    width: 450px;
    border-radius: 5px;
}
.about-page-special img:hover{
    transform: scale(1.02);
    transition: 0.3s;
    border: 2px solid var(--primary-light);
}

.about-page-special p {
    font-size: 22px;
    line-height: 1.6;
}

.about-page-special .btn-primary {
    background-color: var(--primary-light);
    border: none;
    padding: 10px 20px;
    font-size: 17px;
}


@media(max-width:800px){
    .about-container{
        width:100%;
    }

    .about-page-special h3 {
        font-size:23px;
        margin-bottom: 20px;
    }
    
    .about-page-special img {
        height: 300px;
        width: 450px;
    }
    
    .about-page-special p {
        font-size: 18px;
    }

    .about-page-special .btn-primary {
        padding: 7px 14px;
        font-size: 15px;
    }
}