body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: url('../media/photos/pool_edited.jpg') no-repeat;
    background-size: cover;
    backdrop-filter: blur(5px);
}

header {
    height: 150px; 
    background-color: #020321;
    color: #ECF0F9;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.language-selector {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
}

@media (max-width: 550px) {
    .language-selector {
        flex-direction: column;
    }
}

.language-selector a {
    color: #ECF0F9;
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid #ECF0F9;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.language-selector a:hover {
    background-color: #ECF0F9;
    color: #020321;
}

.logo-container {
    text-align: center;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.header-text {
    text-align: left;
}

.header-text h1 {
    margin: 0;
    font-size: 1.5em;
}

.header-text p {
    margin: 5px 0 0;
    font-size: 1em;
}

.topnav {
    background-color: #020321;
    display: flex;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.topnav a {
    float: left;
    display: flex;
    color: #ECF0F9;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    justify-content: center;
    align-items: center;
}

.topnav a:hover {
    background-color: #ECF0F9;
    color: black;
}

.topnav a.active {
    background-color: #020321;
    color: #ECF0F9;
}

.topnav .icon {
    display: none;
}

@media screen and (max-width: 900px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 900px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
        display: block;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .topnav {
        display: block;
    }
}

/*_____Content______*/

#design-materials {
    padding: 5% 5%;
    color: #020321c9;
    text-align: center;
}

#design-materials h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

#back {
    padding: 10% 3%;
    background: linear-gradient(#02032156, rgba(255, 255, 255, 0.304));
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    margin: 1%;
}

.accordion {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.accordion-item {
    width: 90%;
    max-width: 800px;

    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.accordion-button {
    width: 100%;
    padding: 15px 20px;
    background-color: #02032175;
    color: #ECF0F9;
    border: none;
    text-align: left;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accordion-button:hover {
    background-color: #020321ad;
}

.accordion-content {
    display: none;
    padding: 20px;
    background-color: #ecf0f997;
    text-align: left;
}

.accordion-button.active + .accordion-content {
    display: block;
}

.accordion-button::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s;
}

.accordion-button.active::after {
    transform: rotate(45deg);
}

#hero {
    background-size: cover;
    background-attachment: fixed;
    color: #ECF0F9;
    text-align: center;
    padding: 150px 20px;
}

footer {
    background-color: rgba(2, 3, 33, 0.8);
    color: #B2BFC7;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 10px;
    margin: 20px;
    margin-bottom: 0;
}

footer p {
    margin: 0;
}
