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

body {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/portal/home/resources/assets/cookies_background.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

a {
    color: #00B5E5;
}

ul {
  list-style-type: disc; 
  color: black;
  margin-left: 5%;
}

.container-cookies {
    width: 70%;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    height: 100vh;
    padding: 20px;
}

.text-box {
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-color: grey transparent;
    padding: 0% 10% 40px 5%;
    margin: 2% 0 0 0;
}

.box {
    max-width: 55%;
    max-height: 80vh;
    /*overflow-y: auto;*/
    padding: 4% 2% 0 2%;
    margin: 0 0 0 5%;
}
.section{
    height: 90vh !important;
}

.content {
    width: 70%;
    display: flex;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

.preferences {
    display: flex;
    align-items: center;
    margin: 2% 5% 5% 5%;
    max-height: 10vh;
    justify-content: flex-end;
}

.preferences-text {
    color: #333;
}

.spacing-box{
    width: 40%;
}


h2 {
    font-size: 24px;
    color:#2C537F;
    margin-bottom: 20px;
}


p:not(.preferences-text, .switch-language p, .item p) {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}


.text-box::before, .text-box::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 20px;
    pointer-events: none;
}


.text-box::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
}

.scroll-container{
    display: none !important;
}

@media(min-height: 800px){
    .container-cookies {
        align-items: center;
    }
}

@media (max-width: 1024px){
    .container-cookies {
        width: 80%;
    }
    
    .box {
        max-width: 100%;
        padding: 0 10%;
        margin: 0;
    }

    .text-box{
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .spacing-box{
       display: none;
    }

    .preferences {
        margin: 2% 0 0 0;
    }
  }
  
  @media (max-width: 480px){
    body{
        background-position: 50%;
    }
    
    .container-cookies {
        width: 90%;
    }
    
    .box {
        max-width: 100%;
        margin: 0;
        padding: 0;
        max-height: 80vh;
    }

    .text-box {
        max-width: 100%;
        padding: 0 5%;
        margin: 0;
        height: 60vh;
    }
    
    .spacing-box{
       display: none;
    }
    .subtitle-privacy {
        font-size: 16px;
    }

    .preferences {
        margin-top: 1.5rem;
        justify-content: center;
    }
    
  }

@media (max-height: 700px){
    .box{
        margin-bottom: 3rem;
    }

    .text-box {
        max-height: 50vh;
        overflow-y: auto;
        padding: 0;
    }
}

@media(min-height: 200px) and (max-height: 400px) and (min-width: 1024px){
    .section{
        max-height: 60vh !important;
    }
}