
:root {
--text: #b7d4db;
--background: #091215;
--primary: #1fa5ce;
--secondary: #405d63;
--accent: #0ccfa8;
}


* {
    box-sizing: border-box;
}

body {
    margin:0;
    font-family: sans-serif;

    display: grid;
    grid-template-rows: 50px 1fr ;
    min-height: 100vh;
    font-size: 14px;

    box-sizing: border-box;
    background-color: #272b2b;

    background-size: 100% 100%;
    /*
    background-color:hsla(108,0%,0%,1);
    background-image:
    radial-gradient(at 93% 6%, hsla(200,62%,35%,0.49) 0px, transparent 50%),
    radial-gradient(at 62% 86%, hsla(203,100%,69%,0.22) 0px, transparent 50%),
    radial-gradient(at 7% 61%, hsla(108,100%,76%,0.15) 0px, transparent 50%),
    radial-gradient(at 6% 0%, hsla(216,100%,61%,0.34) 0px, transparent 50%),
    radial-gradient(at 30% 9%, hsla(206,100%,71%,0.34) 0px, transparent 50%);
    */

}


 main {
    display: grid;
    grid-template-columns: 450px  1fr;
    min-height: 100vh;
   
}
       
  



a {
    color:#555;
    text-decoration: none;
}

a:hover {
    color:#333;
    /*font-weight: bold;*/
}



.lk {
    color:#bbb;
    text-decoration: none;
    padding: 4px 0;
    display: block;
    margin-bottom: 5px;
    white-space: nowrap;
  
}

.lk:hover {
    color: #b2d0ff;
    background-color: rgba(0, 0, 0, 0.4);
}

.btn {
    background-color: #000;
    color:#fff;
    opacity:0.8;
    cursor: pointer;
    border: 1px solid #000;

    padding: 5px 15px;
    border-radius: 5px;
}

.btn:hover {
    opacity:1;
}


  
/*
    .logo-container {
        display: flex;
        align-items: center;
        gap:20px;
    }

    .logo-container a {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #999;
        font-size: 16px;
        
    }

    .logo-container img {
        height: 30px;
        
    }
    */

    .edit-mode {
        background: #222;
        border: 1px solid #222;
        color: #777;
        padding: 5px 15px;
        cursor: pointer;
        border-radius: 5px;
    }

    .edit-mode:hover {
        border: 1px solid #444;
    }

    .edit-mode.active {
        background: #000;
        border: 1px solid #000;
        color: #fff;
    }

/* fin navbar */



footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding:20px;
    color:#999;
    background-color: #242628cf;
    backdrop-filter: blur(5px);
    display: grid;
    grid-template-columns: 1fr 50px 1fr 50px 1fr;
}

.ctCard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 250px));
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

.card {
    display: grid;
    grid-template-rows: 1fr 25px;
    grid-gap: 5px;
    background: #0000003d;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    /*border: solid 1px rgba(255,255,255,0.1);*/
}

.tCard {
    font-size: 20px;
    font-weight: bold;
    color:#999;
    margin-top: 7px;
    margin-bottom: 3px;
}

.ctLk {
    margin:2px 0;
}


.material-icons {
     font-size: 35px;
     cursor: pointer;
}

.grIco {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.edCard {
    text-align: right;
    padding-top: 6px;
    display: none;
}

.edCard .ico{
    font-size:18px;
}




/*
#iconList {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
*/


.icon-option {
    font-size: 36px;
    cursor: pointer;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.icon-option:hover {
    background: #eee;
}


#iconList {
    display: flex;
    flex-direction: column; /* Organiser les titres en colonne */
    gap: 10px;
}

.icon-category {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

h4 {
    text-align: center;
    background: #f4f4f4;
    padding: 8px;
    border-radius: 5px;
    margin: 10px 0 5px;
    font-size: 16px;
}


.ico {
    color:#ccc;
    opacity: 0.5;
    cursor: pointer;
    font-size: 21px;
}

.ico:hover {
    opacity: 1;
}


.tc {
    text-align: center;
}





/* popup */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, 0.5);
    backdrop-filter: blur(5px);
    display: none;
    z-index: 999;
}

.popup {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 450px;
   background: rgba(31, 36, 38, 0.89);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 1000;
    color: #949494;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}


.close-btn {
    cursor: pointer;
    font-size: 20px;
}




.popup-input, textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #252628;
    border-radius: 4px;
    background-color: rgb(40, 41, 43);
    color:#ccc;
    margin-top: 5px;
}

.popup-checkbox {
    margin-left: 10px;
}




/* fin popup */


.des {
    padding:3px 0;
    /*border-left:2px solid #ccc;*/
    font-size:12px;
    color:#999;
    margin-bottom: 3px;
}

.cardLinks {
    padding:5px 0;
    min-height: 15px;
    overflow: hidden;
    max-width:210px;
}



/* drag n drop */ 

.ctLk.dragging {
            opacity: 0.5;
        }
        .drag-hover {
            background-color: rgba(22, 171, 217, 0.1);
        }
        .ctLk.drop-target {
            position: relative;
        }
        .ctLk.drop-before::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #16abd9;
        }
        .ctLk.drop-after::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #16abd9;
        }



    #menuTop {
        display:none;
        position:absolute; 
        left:50%; 
        top:-40px; 
        width:250px; 
        height:35px; 
        z-index:1; 
        background-color: rgba(255, 255, 255, 0.06);
        transform: translateX(-50%); 
        padding:5px 25px; 
        text-align: center; 
        border-radius: 50px;
    }


    .dashCard {
        outline:2px dashed var(--primary);
        outline-offset: 5px;
    }


.pill {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 3px 20px;
    border-radius: 50px;
    display: inline-block;
    color:#aaa;
    cursor: pointer;
    margin-right: 10px;
}

.pill:hover {
    background-color: rgba(0, 0, 0, 0.4);

    color:#bbb;
}

.field {
    margin-bottom: 7px;
}

.gridIco {
    display: grid;
    grid-template-rows: 20px 1fr;
    margin-bottom: 10px;
}

.intiIco {
    font-size:12px;
}

.dcolor {
    width:17px;
    height:17px;
    display:inline-block;
    cursor:pointer;
}


/*   ---- bienvenue ----   */


#bienvenue {
    color:#ccc;
    font-size: 20px;
}

#titreBienvenue {
    text-align: center;
    font-size: 30px;
    
}

.bvnBtn {
    margin-top:50px;
    background-color: #235fed;
    color:#ccc;
    width:150px;
    color:#fff;
    padding: 7px 15px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
}

.bvnBtn:hover {
    background-color: #2155d0;
}


.ecran {
    padding: 30px 50px;
    height:100%;
    border-radius: 8px;
    display:none;
}

#ecran1 {
    background-image: url(../img/b1.png);
    background-repeat: no-repeat;
    background-position: bottom right;
}

#ecran2 {
    background-image: url("../img/libre.jpg");
    background-repeat: no-repeat;
    background-position: bottom right;
}


#ecran3 {
    background-image: url("../img/ecran-2min.jpg");
    background-repeat: no-repeat;
    background-position: bottom right;
}


.bvnParag {
    width:50%;
    padding-top:100px;
    line-height: 32px;
}

.srub {
    padding: 5px 15px;
    border: 1px solid #555;
    margin-bottom: 10px;
    cursor:pointer;
}

.srub:hover {
    background-color: rgba(0,0,0,0.1);
}

.bvnInti {
    color:#6e6e6e;
}

/* ---- fin bienvenue ---- */

.grPopSite {
    display:grid; grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
}

.bvnSite {
    margin-bottom: 6px;
    cursor:pointer;
    padding:4px;
}

.bvnSite:hover {
    background-color: rgba(0,0,0,0.1);
}


.ongletActif {
    background-color: #235fed;
    color: #cddcff;
}

.ongletActif:hover {
    background-color: #2159de;
    color: #eee;
}

.adLk {
    color:#999;
}

.adLk:hover {
    color:#ccc;
}



/* ---- Pub ----- */

.rond {
    height: 12px;
}
.st0 {
    fill: #fff;
}

.st1 {
    fill: none;
    stroke: #fff;
    stroke-miterlimit: 10;
}


.cardNote {
    display: grid;
    grid-template-columns: 25px 1fr ;
    grid-gap: 15px;
    background:rgba(255,255,255,0.05);
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 15px;
}


/*
.blackBtn {
    display: inline-block;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50px;
    padding: 7px;
    font-size:18px;
    cursor: pointer;
}

.blackBtn:hover {
    background-color: rgba(0,0,0,0.9);

}
*/

.blackIco {
    opacity: 0.8;
    cursor: pointer;
}

.blackIco:hover {
    opacity: 1;
}

.txtNote {
    border: 0;
    background-color: transparent;
    /*color:#7a9def;*/
    font-size: 15px;
    font-family: sans-serif;
    padding: 0;
    line-height: 22px;
    outline: 2px solid #235fed;
    outline-offset: 7px;
    border-radius: 2px;
}

/*
.txtNote:focus {
    outline:0;
}
*/


.boxNote {
    min-height: 50px;
    white-space: pre-wrap;
    line-height: 22px;
}



.boxNote:hover {
    outline:2px dotted#235fed;
    outline-offset: 3px;
}


.ctDel {
    text-align:right;
    opacity:0;
    transition: opacity 0.3s ease;
    
}

.ctDel:hover {
    opacity:1;
}
