* {
    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/copyright_background.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


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

.text-box {
    max-width: 50%;
    max-height: 70vh;
    overflow-y: auto;
    padding: 0 5%;
    margin: 0 0 0 5%;
}

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

.spacing-box{
    width: 40%;
}


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

#title-copyright {
    margin-bottom: 20px;
}


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

.text {
    margin-top: 10px !important;
}


.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));
}

.subtitle-copy {
    font-size: 1.5rem !important;
}

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

@media (max-height: 650px) or ((max-width: 1000px) and (min-height: 100px)){
    .text-box {
        overflow-y: auto;
        height: 80%;
    }
}

@media (max-width: 1024px){
    .container-copyright {
        width: 70%;
    }
    
    .text-box {
        max-width: 80%;
        height: 80%;
        display: flex;
        flex-direction: column;
        /*justify-content: center;*/
    }
    
    .spacing-box{
       display: none;
    }

    .subtitle-copy {
        font-size: 1rem !important;
    }
  }
  
  @media (max-width: 440px){
    .content {
        width: 90%;
        height: 90% !important;
    }
    
    .text-box {
        max-width: 100%;
        height: 80%;
        padding: 10px;
        margin: 0;
    }
    
    .spacing-box{
       display: none;
    }
    .subtitle-privacy {
        font-size: 16px;
    }

    .subtitle-copy {
        font-size: 1rem !important;
    }
    
  }

@media(max-height: 700px) and (min-width: 600px){
    .text-box {
        max-height: 50vh;
        margin-bottom: 3rem;
    }
}

@media(min-width: 400px) and (max-width: 1024px) and (min-height: 750px){
    .text-box{
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body{
        background-position: 50%;
    }
}