@import url('./styles.css');

/* =========================================
   ABOUT PAGE LAYOUT
========================================= */

/* ---------- Main Section ---------- */
.main {
    padding: 160px 0 80px 0;
    margin: auto;
    max-width: 1000px;
    min-height: 500px;
    font-family: sans-serif;
    animation: appear 1s ease forwards;
}

.tagline {
    text-align: center;
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}

.tagline h1 {
    font-size: 22px;
    font-family: arial black, arial, sans-serif;
}

.tagline span {
    font-size: 22px;
    font-family: arial, sans-serif;
}

.detail_text {
    font-size: 22px;
    color: #53719D;
    text-align: justify;
    line-height: 1.4;
    font-family: droid-serif-w01-regular, droid-serif-w02-regular, droid-serif-w10-regular, serif;
    font-weight: bold;
}

.column-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.column-1 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-weight: bold;
}

.column-1 h1 {
    font-size: 48px;
    color: #9B0718;
    font-weight: bold;
}

.column-1 > hr {
    border-color: transparent;
    box-shadow: 0px 1px 3px rgba(20, 20, 100, 0.5);
    display: none;
    margin-top: 30px;
}

.column-2 {
    display: flex;
    flex-direction: column;
}

.row {
    padding-bottom: 20px;
}

.row > h3 {
    color: #1D498A;
}

.row > .detail_text {
    color: #1D498A;
    font-size: 15px;
}

/* ---------- Animations ---------- */
@keyframes appear {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 1399px) {
    .main { padding: 220px 20px 20px; }
}

@media (max-width: 1199px) {
    .main { padding: 220px 20px 20px; }
    .main h1 { font-size: 40px; }
}

@media (max-width: 991px) {
    .main { padding: 250px 20px 50px; }
    .main h1 { font-size: 36px; }
    .detail_text { font-size: 20px; }
    .column-container { grid-template-columns: 1fr; gap: 30px; }
    .column-1 > hr { display: flex; }
}

@media (max-width: 767px) {
    .main { padding: 240px 20px 40px; }
    .main h1 { font-size: 28px; margin-bottom: 15px; }
    .detail_text { font-size: 16px; }
}

@media (max-width: 575px) {
    .main { padding: 150px 20px 30px; }
    .main h1 { font-size: 24px; margin-bottom: 10px; }
    .detail_text { font-size: 13px; margin-bottom: 15px; line-height: 1.6; }
}
