
.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.jc-center {
    justify-content: center;
}

.jc-spacebw {
    justify-content: space-between;
}

.txt-center {
    text-align: center;
}

.bg-default{
    background-color: var(--clr-background);
}

.clr-bg-white {
    background-color: var(--clr-white);
}
.clr-bg-bonewhite {
    background-color: var(--clr-bonewhite);
}
.clr-bg-bluedark {
    background-color: var(--clr-bluedark);
}

.clr-txt-white {
    color: var(--clr-white);
}
.clr-txt-black {
    color: var(--clr-black);
}
.clr-txt-blue {
    color: var(--clr-blue);
}
.clr-txt-darkblue {
    color: var(--clr-bluedark);
}

/*
--------------
General styles
--------------
*/

.button {
    padding: 3px 30px;
}

.std-mt {
    margin-top:0px;
}

.hide-desktop { display: none; }
.hide-mobile { display: block; }

.font-light {
    font-weight: lighter !important;
}

.h1 {
    font-size: 42px;
    line-height: 52px;
    color: var(--clr-secondary);
    font-style: normal;
    font-weight: 400;

    margin-bottom: 12px;
}

.h2 {
    color: var(--clr-bluedark);
}

/*
--------------
General styles
--------------
*/


.underline-desktop-none::after {
    display: none;
}

.underline::after {
    content: "";
    position: absolute;
    left: -5px;
    bottom: -8px; /* This is your "100% + 10px" equivalent */
    width: 105%;
    height: 17px; /* Adjust based on image height */

    background-repeat: no-repeat;
    background-size: contain; /* or auto depending on the image */
    background-position: left center;
    pointer-events: none; /* So it doesn’t block interactions */
}
.underline_yellow::after {
    background-image: url('/img/main/underline_yellow.png');
}

.underline_yellow_short::after {
    background-image: url('/img/main/underline_yellow_short.png');
}

.underline_blue::after {
    background-image: url('/img/main/underline_blue.png');
}

.underline_blue_short::after {
    background-image: url('/img/main/underline_blue_short.png');
}
.underline {
    position: relative; /* Important for positioning the pseudo-element */
    display: inline-block; /* Optional: ensures the pseudo-element is sized to the text */
}

.std-mt {
    margin-top:60px;
}
.plr15 {
    padding:0 var(--padding-left-rigth);
}
.hide-desktop {
    display: none;
}

.button {
    padding: 9px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 42px;
    font-style: normal;
    text-align: center;
    align-items: center;
    text-wrap: nowrap;
}

.button-blue-blue-light {
    --btn-color: var(--clr-blue);
    background-color: var(--clr-blue);
    color: #FFF;
}
.button-blue-blue-dark {
    --btn-color: var(--clr-bluedark);
    background: var(--clr-bluedark);
    color: #FFFFFF;
}
.button-blue-yellow {
    --btn-color: var(--clr-accent);
    display: flex;
    border: 2px solid var(--clr-accent);
    color: var(--clr-accent);
}
/* .button-blue-yellow::before {
    content: "";
    width: 30px;
    height: 20px;
    background-image: url('/img/main/narrow-r-y.svg');
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    flex-shrink: 0;
} */
.button-blue-white {
    --btn-color: var(--clr-blue);
    display: flex;
    color: var(--clr-blue);
    border: 2px solid var(--clr-blue);
    justify-content: center;
    background-color: var(--clr-white);
}
/* .button-blue-white::before {
    content: "";
    width: 30px;
    height: 20px;
    background-image: url('/img/main/narrow-r-b.svg');
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    flex-shrink: 0;
} */

.btn-anmt {
    transition: all 0.1s  ease-in-out;
}
.btn-anmt:hover {
   filter: brightness(110%);
   transition: all 0.1s ease-in-out;
   /* transform: rotate(3deg) scale(1.08); */
   box-shadow: 1px 9px 18px -1px var(--btn-color);
}


.btn-anmt-ico {
    position: relative;
    display: flex;
    gap:10px;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    transition: all 0.4s  ease-in-out;
}

.btn-anmt-ico:active {
    transform: scale(0.95);
}

.btn-anmt-ico .img-wrapper {
    position: relative;
    z-index: 1;
    left:0;
    display: grid;
    place-items: center;
    transition: all 0.4s  ease-in-out;
}

.btn-anmt-ico .text {
    white-space: nowrap;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease-in-out;
}

.btn-anmt-ico:hover .text {
    transform: translateX(150%); /* move it out of view */
    transition: all 0.4s  ease-in-out;
}

.btn-anmt-ico:hover .img-wrapper {
    position: relative;
    /* animation: shake-1 0.6s ease-in-out infinite alternate; */
    left:50%;
    transition: all 0.4s  ease-in-out;
    transform: translateX(-15px) rotate(44deg) scale(1.1);
}

/* .btn-anmt-ico:hover img {
    animation: shake-1 0.5s ease-in-out infinite alternate; 
}  */

@keyframes shake-1 {
  from {
    transform: translateY(0.2em) translateX(0.2em);
  }
  to {
    transform: translateY(-0.2em) translateX(-0.2em);;
  }
}


.button-clndr-slct {
    transition: ease all .5s;
}
.button-clndr-slct:hover > button {
    color: var(--clr-accent) !important;
}
.button-clndr-slct svg > path {
     transition: ease all .5s;
}
.button-clndr-slct:hover svg > path {
    fill: var(--clr-accent);
    transition: ease all .5s;
}
/*
-----------
Menu
-----------
*/

.logo {
    height: 44px;
    vertical-align: middle;
    transition: ease all .5s;
}

.menu > a > .button {
    border-radius: 12px;
    background: var(--clr-bluedark);
    color: #FFFFFF;
    padding: 9px 30px;
    justify-content: center;
    transition: ease all .5s;
    display: flex;
    flex-wrap: nowrap;
    gap:10px;
}

.side-r .main-page{
    width: 525px !important;
    max-width: 525px !important;
}

.main-page .cards-container__card{
    gap: 6px;
}