@font-face {
    font-family: 'metric-medium';
    src: url('../assets/TestMetric-Medium-BF663c3a8333b93.otf') format('opentype');
    font-weight: normal;
    font-style: normal; 
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
}


header{
    background-color: #1d2327 !important;
}

nav{
    width: 90%;
    margin-left: 5%;
    display: grid;
    grid-template-columns: 1fr 0.5fr 0.5fr;
}

.logo-hotel{
    display:flex;
}

.logo-hotel a{
    align-self: center;
}

.languages{
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    align-items: center;
    
}

header nav a{
    color: white;
    font-weight: bold;
    text-decoration: none;
}

header nav a img{
    margin-top: 10px;
    max-height: 40px;
    margin-bottom: 10px;
}

h1{
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-family: 'metric-medium', Arial;
}

.title{
    text-align: center;
}

.accordion {
    border-radius: 5px;
    overflow: hidden;
    width: 93%;
    margin-left: 3.5%;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.accordion-item {
    border: 1px solid #ccc;
    background-color: rgba(0, 0, 0, 0.03);
}

.accordion-header{
    cursor: pointer;
    padding: 8px;
    text-align: left;
    font-size: 25px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 1px;
}


.accordion-header h2{
    font-size: 1.3rem;
    font-family: 'metric-medium', Arial;
    letter-spacing: 3px;
    color: #1d3649;
}

.accordion-header .arrow {
    transition: transform 0.7s ease;
}

.accordion-header .arrow.open {
    transform: rotate(90deg);
}

.accordion-content {
    max-height: 0px;
    overflow: hidden;
    background-color: #fff;
    line-height: 1.4;
    margin-top: 0px;
    transition: max-height 0.3s;
    display: flex;
    flex-direction: column;
}

.accordion-content div h2{
    margin-left: 5%;
    font-size: 20px;
}

.accordion-content p{
    font-family: sans-serif;
    font-size: 1rem;
    margin-left: 5%;
    margin-bottom: 15px;
    margin-right: 15px;
}

.accordion-content a{
    align-self: center;
    text-decoration: none;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid black;
    border-radius: 16px;
    width: fit-content;
    padding: 8px;
    color: black;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.accordion-content ul{
    margin-left: 15%;
}

.accordion-content ul li p{
    margin: 0;
}

.no-margin {
    margin-bottom: 0 !important;
}

.accordion-content.open {
    max-height: 5500px; /* Adjust as needed */
}

.container-restauration{
    display:flex;
    flex-direction: column;
}

.container-telecopies{
    display:flex;
    flex-direction: column;
    gap:2%;
}


@media (prefers-color-scheme: dark) {
    body {
        background-color: #000000de;
        color: #ffffff;

    }

    h2{
        color: white !important;
    }

    .accordion-content, .accordion-header{
        background-color: #1d3649 !important;
        color: white !important;
    }

    p{
        opacity: 0.5;
    }
}

@media screen and (min-width: 850px) {
    .accordion-header h2 {
        font-size: 20px;
    }

    .accordion-content p{
        font-size: 17px;
    }
}

@media screen and (min-width: 650px) and (max-width: 849) {
    .accordion-header h2 {
        font-size: 25px;
    }

    .accordion-content p {
        font-size: 12px;
    }
}
