* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace, sans-serif;
}

body {
    background-image: url('./assets/background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    color: #f0ecdd;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px 40px;
    overflow: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 3px solid #02122F; 
}

.site-title {
    font-size: 20px;
    font-weight: bold;
}

nav a {
    text-decoration: none;
    color: #f0ecdd;
    font-weight: bold;
    margin-left: 20px;
    font-size: 16px;
}

nav a:hover {
    text-decoration: underline;
}

.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.top-row {
    display: flex;
    gap: 20px;
    height: 40%;
}

.bottom-row {
    display: flex;
    gap: 20px;
    height: 55%;
}

/* Khung cơ bản */
.box {
    border: 3px solid #02122F;
    background-color: #f0ecdd; 
    color: #4a3525; 
    padding: 15px;
    border-radius: 8px;
}

.box h2 {
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #02122F;
    padding-bottom: 5px;
    text-transform: lowercase;
}

.image-box {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.info-box {
    flex: 1;
    overflow-y: auto;
}


.three-boxes {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden; 
}

.three-boxes p {
    margin-bottom: 8px;
}


.three-boxes a {
    display: block;
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
    position: relative;
}


.three-boxes img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}