:root{
    --main-gold-color: #C29F6A;
    --main-blue-color: #16ECF7;
    --main-grey-color: #707372;
    --main-black-color: #313031;
    --main-black2-color: #2E2D2E;
}
  
body{
    background-color: white!important;
    font-family: 'Montserrat-Regular';
}
  
.payment-section{
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100vw;
    gap: 10px;
    overflow: hidden;
}

.payment-section h1{
    font-size: 50px;
    text-transform: uppercase;
    font-family: 'Montserrat-Bold';
    margin-bottom: 0;
}

.payment-section:first-child {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.payment-section .sections{
    width: 40vw;
}
  
p  a{
    padding: 0;
}
  
#allPayments{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    -moz-box-shadow: inset 0 0 10px var(--main-grey-color);
    -webkit-box-shadow: inset 0 0 10px var(--main-grey-color);
    box-shadow: inset 0 0 10px var(--main-grey-color);
    padding: 20px;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.3);
}

.payments{
    border-radius: 28px;
    border: 1px solid white;
    display: flex;
    flex-direction: row;
    padding: 10px;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    width: 100%;
}

.payments .texts{
    width: 100%;
}

.payments:hover, .payments.active{
    border-color: var(--main-blue-color);
}

.payments:hover .circle-selection, .payments.active .circle-selection{
    background-color: var(--main-blue-color);
    border-color: white;
}

.payments h3{
    font-size: 16px;
    color: var(--main-grey-color);
}

.payments .contents{
    margin: 0;
    line-height: 20px;
}

.circle-selection{
    border: 1px solid var(--main-grey-color);
    border-radius: 50%;
    padding: 10px;
}

.background-circle {
    position: static;
    display: block;
    overflow: hidden;
  }
  .circle{
    position: fixed;
    right: 40%;
    bottom: -10%;
    background: aqua;
    filter: blur(300px);
    height: 30vmin;
    width: 30vmin;
    border-radius: 50%;
    overflow: hidden;
    z-index: -1;
  }
  
  .circle:nth-of-type(1){
    animation: light-pulse 5s 2s linear infinite;
  }
  .circle:nth-of-type(2){
    animation: light-pulse 5s linear infinite;
  }
  .circle:nth-child(1){
      left: -5%;
      top: 30%;
      background: #c29f6a;
      filter: blur(100px);
      opacity: 0.2;
      height: 50vmin;
      width: 50vmin;
      border-radius: 50%;
  }

.sections #description{
    font-size: 14px;
    margin: 20px 0 0 10px;
}

.sections .marianne{
    position: absolute;
    top: 0;
    right: 0px;
    height: 100%;
    z-index: -6;
    opacity: 0.5;
 
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 0.5; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 0.5; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 0.5; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 0.5; }
}

.parallax{
    position: absolute;
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: -8;
}

.layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top center;
}

.source-layer1 {
    background-image: url("../img/papiers-peints-colonne-pierre-grecque-classique.jpg.png");
    background-position: bottom 0px left 130px;
    background-size: 10%;
    transform: rotate(15deg);
    filter: blur(8px);
    z-index: -4;
}

.source-layer2 {
    background-image: url("../img/papiers-peints-colonne-pierre-grecque-classique.jpg.png");
    background-position: bottom -280px left 120px;
    background-size: 20%;
    transform: rotate(-15deg);
    filter: blur(5px);
    z-index: -4;
}

.source-layer3 {
    background-image: url("../img/papiers-peints-colonne-pierre-grecque-classique.jpg.png");
    background-position: top 300px right 940px;
    background-size: 5%;
    transform: rotate(4deg);
    filter: blur(15px);
    z-index: -4;
}

.source-layer4 {
    background-image: url("../img/papiers-peints-colonne-pierre-grecque-classique.jpg.png");
    background-position: bottom 110px left 650px;
    background-size: 5%;
    transform: rotate(-10deg);
    filter: blur(0px);
    z-index: -4;
    opacity: 0.1;
}

.source-layer5 {
    background-image: url("../img/assets/Anim_2_sansfond/anim 2_1920x1080SF_00124.png");
    background-position: top 0px right 0px;
    background-size: cover;
    z-index: -6;
    opacity: 0.5;
    height: 100%;
}

.documentsPayment{
    display: none;
}

.sections p a{
    color: var(--main-gold-color);
    text-decoration: none;
}

.sections h1{
    margin-bottom: 10px;
}

@media screen and (max-width: 1440px){
    .payment-section .sections{
        width: 45vw;
    }
}

@media screen and (max-width: 1280px){
    .payment-section .sections{
        width: 65vw;
        margin-top: 60px;
    }
    .source-layer5{
        opacity: 0.3;
    }
}


@media screen and (max-width: 1100px){
    .payment-section{
        justify-content: start;
        padding-left: 30px;
    }
    .payment-section .sections{
        width: 80vw;
        margin-top: 60px;
    }
    #allPayments{
        background-color: rgba(255, 255, 255, 0.9)
    }
    .marianne{
        opacity: 0.2;
    }
}

@media screen and (max-width: 768px){
    .payment-section .sections{
        width: 90vw;
    }
    .source-layer1, .source-layer2, .source-layer3, .source-layer4{
        display: none;
    }
    .marianne{
        opacity: 0.3;
    }
    .payment-section h1{
        font-size: 45px;
        margin-top: 30px; 
    }
}

@media screen and (max-width: 645px){
    .payment-section h1{
        font-size: 40px;
    }
    .payment-section p, .sections #description{
        font-size: 14px;
    }
    .payment-section{
        overflow-y: auto;
    }
    .parallax{
        display: none;
    }
}

@media screen and (max-width: 430px){
    .payment-section h1{
        font-size: 35px;
    }
}

@media screen and (max-width: 425px){
    .payment-section h1{
        font-size: 35px;
        margin-top: 30px; 
    }
    .payment-section p, .sections #description{
        font-size: 12px;
    }
    .sections #description{
        margin: 10px 0 10px 0;
    }
    .payment-section{
        padding: 10px;
    }
    .payment-section .sections{
        width: 100%;
    }
}

@media screen and (max-width: 320px){
    .payments{
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
}

@media screen and (min-width: 820px) and (max-width: 850px) and (min-height: 1180px) and (max-height: 1200px) {
    .marianne{
        opacity: 0.1;
    }
}