/*NAVIGATION*/

header {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 50;

}

.navbar-nav {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.navbar-nav {
    background: rgba(20, 20, 20, 0.349);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.116);
}

.nav-link:hover,
.nav-link {
    color: white;
}

.kl-preheader {
    background: rgba(3, 3, 3, 0.532);
    backdrop-filter: blur(5px);
    display: flex;
    padding: 0 40px;
    /* Simplification de la syntaxe */
    justify-content: space-between;
    height: 50px;
    align-items: center;
}


.kl-icons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.kl-icons button {
    background: rgba(255, 255, 255, 0.486);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all .4s;
}

.kl-icons button:hover {
    transform: scale(1.05);
}

.kl-icons button svg {
    fill: white;
}

.kl-icons>span {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px 4px;
}

/*NAVIGATION FIN*/

body {
    background: rgb(0, 0, 0);
    color: white;
    overflow-x: hidden;
    font-family: "DM Sans", sans-serif;
}

/*GRI IMAGES*/

.kl-grid-image {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 10px;
    padding: 0;
    margin: 0;
}

.kl-item-image img {
    width: 100%;
    border-radius: 10px;
}

.kl-grid-image li {
    list-style-type: none;
}

/*GRI IMAGES FIN*/


/*Slider nom outils*/
.horizontal-scrolling-items {
    height: 100px;
    display: flex;
    align-items: center;
}

@keyframes infiniteScroll {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.container {
    width: 100%;
    overflow-x: hidden;
}

.horizontal-scrolling-items {
    display: flex;
    font-size: 40px;
    width: 2600px;
    animation-name: infiniteScroll;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.horizontal-scrolling-items__item {
    white-space: nowrap;
}

.horizontal-scrolling-items__item span {
    text-transform: uppercase;
    display: inline-block;
    margin: 10px;
}

/*Slider nom outils fin*/

.iachatporn-preheader {
    height: 60vh;
    padding-top: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iachatporn-preheader h1 {
    font-size: 80px;
    text-align: center;
    font-weight: bold;
    line-height: 80px;
    margin-bottom: 20px;
}

.iachatporn-text-content {
    /* height: 260px; */
    display: flex;
    align-items: center;
    padding: 60px 10px;
    text-align: center;
}

.iachatporn-text-content p {
    font-size: 25px;
    line-height: 35px;
}

.overlay-bottom {
    height: 200px;
    width: 100%;
    grid-column: span 5;
    position: relative;
    top: -203px;
}

.kl-grid-image::before {
    background: linear-gradient(rgb(0, 0, 0), rgba(255, 255, 255, 0));
    height: 200px;
    width: 100%;
    grid-column: span 5;
    position: relative;
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
}

.kl-grid-image::after {
    background: linear-gradient(rgba(177, 177, 177, 0), rgb(0, 0, 0));
    height: 200px;
    width: 100%;
    grid-column: span 5;
    position: relative;
    content: '';
    display: inline-block;
    position: absolute;
    bottom: 0;
}

.kl-grid-image {
    position: relative;
    margin-top: 100px;
}

.iachatporn-tools-ul li {
    background: rgba(20, 20, 20, 0.349);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.116);
    display: grid;
    grid-template-columns: 150px 1fr 2fr 2fr 2fr 60px;
    align-items: center;
    border-radius: 20px;
    padding: 0px 20px;
    height: 100px;
    margin: 10px 0;
}

.iachatporn-tools-ul li p {
    margin: 0;
    padding: 10px;

}

.iachatporn-tools-ul li p span {
    width: 60px;
    height: 60px;
    background: rgb(255, 64, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    border-radius: 15px;
}

.iachatporn-tools-ul li p button {
    padding: 18px 40px;
    border: none;
    border-radius: 15px;
    background: rgb(255, 64, 0);
    color: white;
    font-weight: bold;
    margin: 0;
}

.iachatporn-tools-ul li {
    transition: all .5s;
}

.iachatporn-tools-ul li:hover {
    transform: scale(1.01);
    cursor: pointer;
    border: 1px solid rgb(255, 64, 0);
}

h2 {
    font-size: 45px;
    margin: 100px 0;
    font-weight: bold;
    text-align: center;
}

.iachatporn-block-center {
    display: flex;
    justify-content: center;
}

.candy-ul {
    position: relative;
    width: 60%;
}

.candy-ul li {
    list-style-type: none;
    background: rgba(20, 20, 20, 0.349);
    backdrop-filter: blur(10px);
    width: 250px;
    padding: 15px 20px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.279);
    font-weight: bold;

}

.candy-ul li img {
    width: 300px;
    border-radius: 10px;
}

.candy-ul li:nth-child(1) {
    top: 17px;
    position: absolute;
    z-index: 10;
    left: -75px;
}

.candy-ul li:nth-child(2) {
    top: 143px;
    position: absolute;
    z-index: 10;
    left: 228px;
}

.candy-ul li:nth-child(4) {
    top: 248px;
    position: absolute;
    z-index: 10;
    left: -44px;
}

.candy-ul li:nth-child(5) {
    top: 358px;
    position: absolute;
    z-index: 10;
    left: 178px;
}

.iachatporn-table {
    width: 90%;
    margin: 45px auto;
    border: 1px solid rgba(255, 255, 255, 0.279);
}

.iachatporn-table ul li {
    list-style-type: none;
    line-height: 35px;
}

.iachatporn-table td {
    width: 50%;
}

.iachatporn-table thead tr td {
    background: rgb(255 255 255 / 8%);
}

.iachatporn-table tbody tr td,
.iachatporn-table thead tr td {
    border: 1px solid rgb(255 255 255 / 8%);
    padding: 20px;
}

.iachatporn-section-footer {

    margin: 40px 0;
    text-align: center;
}

.iachatporn-section-footer p {
    margin: 40px 0;
}

footer {
    height: 100px;
    border-top: 1px solid white;
    display: flex;
    align-items: center;
}

footer div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer div ul {
    padding: 0;
}



footer div ul li {
    list-style-type: none;
    float: left;
    margin-right: 5px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: rgb(255, 64, 0);
}


.coockies li a {
    color: white;
    text-decoration: none;
}

main section {
    padding: 50px 0;
}

h3 {
    text-align: center;
    margin-bottom: 60px;
    font-weight: bold;
    font-size: 35px;
}

button {
    padding: 18px 20px;
    margin: 50px 0;
    background: rgb(255, 64, 0);
    font-weight: bold;
    color: white;
    border-radius: 10px;
    border: none;
}

.iatchatporn-form h2 {
    width: 60%;
    margin: 0 auto;
    margin-top: 200px;
}

.iatchatporn-form-body {
    width: 90%;
    margin: 40px auto;
    margin-bottom: 100px;
}

.iatchatporn-form-body input,
textarea {
    padding: 16px 10px;
}

.iatchatporn-form-body button {
    margin: 0 auto;
    width: 60%;
    margin-top: 40px;
}

.iatchatporn-form-alert {
    background: red;
    padding: 15px;
    border-radius: 10px;
    width: 65%;
    margin: 0 auto;
    margin-top: 40px;
    text-align: center;
}

.iatchatporn-form-alert-success {
    background: rgb(0, 119, 255);
    padding: 15px;
    border-radius: 10px;
    width: 65%;
    margin: 0 auto;
    margin-top: 40px;
    text-align: center;
}

.text-muted {
    color: red !important;
    font-weight: bold;
}


@media screen and (max-width: 600px) {
    .iachatporn-tools-ul li {
        grid-template-columns: unset;
        height: auto;
        position: relative;
        padding: 25px;
    }

    .iachatporn-tools-ul li p:nth-child(1) {
        text-align: center;
        padding: 20px;
        border-bottom: 1px solid rgb(255, 64, 0);
        margin-bottom: 20px;
    }

    .iachatporn-tools-ul li p:nth-child(2) {
        position: absolute;
        bottom: 26px;
        right: 10px;
    }

    .iachatporn-tools-ul {
        padding: 0;
    }

    .iachatporn-table td ul {
        /* display: flex; */
        padding: 0;
    }

    .iachatporn-table {
        display: grid;
    }

    .iachatporn-table tbody tr,
    .iachatporn-table thead tr {
        display: grid;
    }

    .iachatporn-table {
        width: 100%;
    }

    .iachatporn-table tbody tr td,
    .iachatporn-table thead tr td {
        width: 100%;
    }

    .iachatporn-block-center {
        justify-content: unset
    }

    .candy-ul li:nth-child(1) {
        top: -19px;
        left: 1px;
    }

    .candy-ul li:nth-child(4) {
        top: 309px;
        left: 8px;
    }

    .candy-ul li:nth-child(2) {
        top: 167px;
        left: 124px;
    }

    footer div {
        flex-direction: column;
    }

    .navbar-toggler {
        position: absolute;
        right: 14px;
        top: -48px;
        margin: 0;
    }

    .kl-icons {
        position: relative;
        left: -30px;
    }

    footer div ul li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    footer {
        height: auto;
        padding: 40px 0;
    }

    .iachatporn-preheader h1 {
        font-size: 56px;
        line-height: 64px;
    }

    .horizontal-scrolling-items {
        font-size: 21px;
    }

    .iachatporn-preheader {
        padding-top: 100px;
    }

    main section {
        padding: 0;
    }

    .iachatporn-preheader {
        height: auto;
    }

    .coockies h2 {
        font-size: 42px;
    }

    .coockies li a {
        color: white;
        text-decoration: none;
    }

    .iatchatporn-form-alert,
    .iatchatporn-form-alert-success,
    .iatchatporn-form h2 {
        width: 100% !important;
    }

}

@media screen and (min-width: 600px) and (max-width: 884px) {

    .navbar-toggler {
        position: absolute;
        right: 14px;
        top: -48px;
        margin: 0;
    }

    .kl-icons {
        position: relative;
        left: -30px;
    }

    .container .row {
        flex-direction: column;
    }

    .container .row .col-md-6 {
        width: 100%;
        padding: 10px 0;
    }

    .iachatporn-table {
        width: 100%;
    }

    .iachatporn-tools-ul li {
        grid-template-columns: unset;
        height: auto;
        position: relative;
        padding: 25px;
    }

    .iachatporn-tools-ul li p:nth-child(1) {
        text-align: center;
        padding: 20px;
        border-bottom: 1px solid rgb(255, 64, 0);
        margin-bottom: 20px;
    }

    .iachatporn-tools-ul li p:nth-child(2) {
        position: absolute;
        bottom: 26px;
        right: 10px;
    }

    .iachatporn-tools-ul {
        padding: 0;
    }

}


#scroll-top{
    position: fixed;
    width: 50px;
    height: 50px;
    background: rgb(255, 64, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    right: 40px;
    cursor: pointer;
    border-radius: 5px;
    bottom: 50px;
}