/* 헤더 스타일 - 기존의 스타일 유지 */
header {
    background-color: #161617;
    color: #fff;
    padding: 20px;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: padding 0.3s ease, background-color 0.3s ease;
}

header.scrolled {
    padding: 3px;
}

/* 드롭다운 스타일 */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    max-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    transition: max-height 0.3s ease;
    overflow: hidden;
    width: 160px;
    /* 드롭다운 메뉴의 너비를 조정합니다. */
    left: 50%;
    /* TEAMS 글자의 중앙으로 이동하기 위해 left 값을 50%로 설정합니다. */
    /* transform: translateX(-50%); */
    /* left 값을 기준으로 왼쪽으로 50%만큼 이동합니다. */
    top: 100%;
    /* TEAMS 글자의 아래로 이동합니다. */
}

.dropdown-content.show {
    display: block;
    height: 530px;
    /* 드롭다운 메뉴의 최대 높이 */
}

.dropdown-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-content ul li a{
    padding-left: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: large;
    color: #333;
    transition: background-color 0.3s ease;
    margin-left: 20px;
    /* 왼쪽 마진 없음 */
    position: relative;
    /* |를 위치시키기 위해 상대적 위치 지정 */
}

/* .dropdown-content ul li::before {
    content: '||||';
    font-size: x-large;
    font-weight: 2000;
    position: absolute;
    left: 1%;
    color: transparent;
    transition: color 0.3s ease;
    letter-spacing: -0.41em;
} */

/* 팀별 색상에 맞추어 | 색상 변경 */
/* 각 팀별 색상 설정 */
.dropdown-content ul li:nth-child(1):before {
    color: #27F4D2;
    /* Mercedes */
}

.dropdown-content ul li:nth-child(2):before {
    color: #3671C6;
    /* Red Bull Racing */
}

.dropdown-content ul li:nth-child(3):before {
    color: #E8002D;
    /* Ferrari */
}

.dropdown-content ul li:nth-child(4):before {
    color: #FF8000;
    /* McLaren */
}

.dropdown-content ul li:nth-child(5):before {
    color: #FF87BC;
    /* Alpine */
}

.dropdown-content ul li:nth-child(6):before {
    color: #6692FF;
    /* RB */
}

.dropdown-content ul li:nth-child(7):before {
    color: #229971;
    /* Aston Martin */
}

.dropdown-content ul li:nth-child(8):before {
    color: #64C4FF;
    /* Williams */
}

.dropdown-content ul li:nth-child(9):before {
    color: #52E252;
    /* Kick Sauber */
}

.dropdown-content ul li:nth-child(10):before {
    color: #B6BABD;
    /* Haas */
}

.dropdown-content ul li a {
    color: black;
    /* 기본 글자 색상 */
}

.dropdown-content ul li a:link,
/* 방문 전 링크 */
.dropdown-content ul li a:visited,
/* 방문 후 링크 */
.dropdown-content ul li a:hover,
/* 호버 상태 */
.dropdown-content ul li a:active {
    /* 활성 상태 */
    color: black;
    /* 모든 상태에서 글자 색상을 검은색으로 설정 */
}

body {
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    background-color: #f4f4f4; /* 배경색 추가 */
}

/* 네비게이션 스타일 - 기존의 스타일 유지 */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 28px;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    color: #000;
    text-decoration: underline;
    transform: scale(1.1);
}

/* 메인 섹션 스타일 */
main {
    padding: 100px 20px 70px; /* 상단에 헤더 고정으로 인한 패딩 추가 */
    text-align: center;
}

.release-notes {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 10px;
    min-height: 80vh;
}

.release-notes h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 20px;
}

.release-notes article {
    margin-top: 20px;
    text-align: left;
    padding: 20px;
}

.release-notes article h2 {
    font-size: 1.8rem;
    color: #222;
}

.release-notes ul {
    list-style-type: square;
    padding-left: 20px;
    margin-top: 10px;
}

.release-notes ul li {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    padding: 5px 0;
}

/* 푸터 스타일 - 기존의 스타일 유지 */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    border-top: 2px solid #444;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-content {
    margin-bottom: 20px;
}

.footer-content h3 {
    margin-bottom: 10px;
}

.footer-content ul {
    list-style: none;
    padding: 0;
}

.footer-content ul li {
    display: inline;
    margin-right: 10px;
}

.footer-content a {
    color: #fff;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

.footer-bottom p {
    font-size: 0.8em;
}

.f1-logos ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.f1-logos li {
    display: inline-block;
    margin: 1% 1%;
}

.f1-logos img {
    width: auto;
    height: 50px;
    vertical-align: middle;
}
