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

body {
    font-family: Arial, sans-serif;
    background-color: #c9f8fe;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

main {
    display: flex;
    align-items: center;
    width: 900px;
    height: 500px;
    border-radius: 3px;
    margin: 0;
    padding: 0px;
}

.left-panel {
    background-image: linear-gradient(
        rgba(0, 0, 0, 0.4),  /* semi-transparent black */
        rgba(0, 0, 0, 0.4)
      ),
    url(./img/background.jpg);
    padding: 30px;
    width: 45%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-align: left;
}

.left-content {
    width: 70%;          
    max-width: 360px;    
    text-align: left;   
}

.media-btn { 
    display: inline-flex;
    align-items: center;
    background-color: rgba(0, 128, 0, 0.5);
    color: #fff;
    padding: 6px 14px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.media-btn:hover {
    background-color: rgb(0, 128, 0);
}

.left-panel h1 {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 8px;
}

.left-panel p {
    color: #fff;
    font-size: 14px;
    margin: 0 0 14px;
}

.right-panel {
    position: relative;
    width: 55%;
    height: 100%;
    background-color: #fff;
    padding: 27px;
    display: flex;
    flex-direction: column;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-right: 40px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    position: relative;
}

header h2 {
    font-size: 24px;
    color: black;
    font-weight: bold;
}

.file-icon {
    display: flex;
    flex-direction: column; 
    align-items: flex-end;  
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 20px;
}

.file-icon span {
    display: block;
    width: 14px;
    height: 2px;
    background-color: black;
    margin: 1px 0; 
}

.years {
    position: relative;
    color: #fff;
    font-size: 15px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    flex-direction: row;
    font-size: 18px;
    gap: 15px;
    margin-bottom: 20px;
    margin-top: 20px;
    overflow-x: visible;
    cursor: pointer;
    padding-left: 20px;
}

.year1 {
    color: black;
}

.year2 {
    color: #dddddd;
}

.year2:hover {
    color: black;
}

.articles {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.article {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 18px;
    margin: 0;
}

.article p {
    font-weight: 100;
    font-size: 7px;
}

.article-left {
    display: flex;
    flex-direction: row;
    gap: 3px;
}

.article-left > p {
    position: relative;
    top: 6px;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 12px;
}

.date {
  display: flex;
  align-items: center;
}

.day {
    font-family: 'Roboto', sans-serif;
    font-size: 31px;
    font-weight: 100;
    color: black;
    margin-right: 8px;
}

.month-year {
  display: flex;
  flex-direction: column;
}

.month {
  font-size: 0.8rem; /* smaller */
  font-weight: 500;
}

.year {
  font-size: 0.65rem; /* smallest */
  color: black;
}

.article p {
    font-size: 14px;
    color: black;
}