body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #16193B;
    color: white;
    position: relative;
    overflow-x: hidden;
}

.background-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    transition: opacity 1.5s ease-in-out;
    opacity: 0;
}

.show {
    opacity: 1 !important;
}

header {
    display: flex;
    align-items: center;
    background-color: rgba(12, 17, 49, 0.8);
    padding: 10px 20px;
}

.logo img {
    height: 50px;
}

nav {
    flex-grow: 1;
    text-align: right;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

nav ul li a:hover {
    text-decoration: underline;
}

main {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
}

main h1 {
    font-size: 48px;
    margin-bottom: 20px;
}
.intro-section, .purpose-section, .goal-section, .content-section {
    background-color: rgba(12, 17, 49, 0.95); 
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
    border-radius: 10px;
    text-align: left;
}

.intro-section h2, .purpose-section h2, .goal-section h2, .content-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.intro-section p, .purpose-section p, .goal-section p, .content-section p {
    font-size: 16px;
    line-height: 1.6;
}

.teams {
    display: grid;
    gap: 40px;
    justify-content: center;
}

.team {
    background-color: rgba(12, 17, 49, 0.95);
    padding: 20px;
    border-radius: 10px;
    text-align: left;
}

.team h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.team p {
    font-size: 16px;
    line-height: 1.6;
}

.about {
    background-color: rgba(12, 17, 49, 0.95); 
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
    border-radius: 10px;
    text-align: left;
}

.about h2, .about h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.about p {
    font-size: 16px;
    line-height: 1.6;
}

.personal-links {
    list-style: none;
    padding: 0;
}

.personal-links li {
    margin-bottom: 10px;
}

.personal-links a {
    color: #1E90FF;
    text-decoration: none;
}

.personal-links a:hover {
    text-decoration: underline;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

form label {
    font-size: 16px;
}

form input, form textarea, form button {
    padding: 10px;
    border: none;
    border-radius: 5px;
}

form input, form textarea {
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

form button {
    background-color: #1E90FF;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

form button:hover {
    background-color: #1C86EE;
}

footer {
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 20px 0;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.ims {
    color: white;
}

footer span {
    margin: 0 5px;
}

.copyright {
    font-size: 14px;
}

.info {
    padding: 15px;
    text-align: center;
}

.info-text {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #18191F;
}

.info p {
    font-size: 16px;
    color: #6C6C6C;
}

.bottom {
    display: flex;
    justify-content: space-between;
    padding: 70px 180px;
    width: 100%;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px;
    padding: 20px;
    background-color: rgba(12, 17, 49, 0.8);
    border-radius: 10px;
}

.history-item {
    background-color: rgba(30, 34, 62, 0.8);
    padding: 20px;
    border-radius: 10px;
    text-align: left;
}

.history-item h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.history-item p {
    font-size: 16px;
    line-height: 1.6;
}

@media only screen and (max-width: 688px) {
    .container, .top-section{
        width: 100%;
    }
    .top-part{
        flex-direction: column;
    }
    .players{
        grid-template-columns: repeat(1, 1fr);
        justify-items: center;
    }
}

@media only screen and (min-width: 668px) and (max-width: 992px) {
    .container, .top-section{
        width: 100%;
    }
    .players{
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
}