@import url(default.mobile.css);

@font-face {
    font-family: 'Baloo'; /* Le nom de la police que vous souhaitez utiliser */
    src: url('baloo/Baloo-Regular.ttf') format('truetype'); /* Spécifiez le chemin vers le fichier de police */
}

/* Définition de variables CSS pour les couleurs */
:root {
    --main-green: #1b695a; /* Vert foncé légèrement bleu */
    --light-green: #36b49b; /* Vert clair */
    --light-2-green: #3fd2b4; /* Vert clair */
    --light-3-green: #28f8ce; /* Vert clair */
    --button-green: #3b9685; /* Vert des boutons */
    --main-red: rgb(209, 55, 55); /*#c63939; Rouge */
    --light-red: #f44336; /* Rouge */
    --light-2-red: #ff6659; /* Rouge */
    --main-orange: #ba560a;
    --main-green-btn: #315d31;
    --main-purple: #45265a;
    --main-purple-2: #6a4c93;
    --main-grey: #454545;

    /* Nouvelles couleurs pour le design moderne */
    --card-bg: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.08);
    --card-shadow-hover: rgba(0, 0, 0, 0.15);
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --border-color: #e2e8f0;
    --accent-blue: #4299e1;
    --accent-purple: #805ad5;
    --accent-orange: #ed8936;
    --accent-pink: #ed64a6;
    --accent-teal: #38b2ac;
    --accent-red: #e53e3e;
}


/* Recollection des styles par défaut du navigateur */
body, h1, h2, h3, p {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Baloo', sans-serif;
    background: linear-gradient(to bottom, var(--main-green), var(--light-green));
    height: 100dvh;
    width: 100dvw;
    overflow: hidden;
}

a { 
    color: inherit;
    text-decoration: inherit;
    user-select: none;
} 

.btn-primary {
    background: linear-gradient(to top, var(--button-green), var(--light-green));
    color: #fff;    
    padding: 4% 8%;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
    font-size: 160%;
    height: fit-content;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--main-green);
}

button {
    cursor: pointer;
    font-family: inherit;
}

[contenteditable]:focus-visible {
    outline: none; /* Remove the default focus outline */
}


/* Notif erreur */

.error_notif {
    width: 100vw;
    margin: 0 auto;
    position: absolute;
    bottom: -20vh;
    z-index: 100;
}

.error_content {
    color: white;
    background-color: red;
    border-radius: 20px;
    width: fit-content;
    max-width: 90vw;
    padding: 1vw 2vw;
    margin: 0 auto;
    text-align: center;
}

.good_notif {
    width: 100vw;
    margin: 0 auto;
    position: absolute;
    bottom: -20vh;
    z-index: 100;
}

.good_content {
    color: white;
    background-color: green;
    border-radius: 20px;
    width: fit-content;
    max-width: 90vw;
    padding: 1vw 2vw;
    margin: 0 auto;
    text-align: center;
}




.info_notif {
    width: 100vw;
    margin: 0 auto;
    position: absolute;
    bottom: -20vh;
    z-index: 100;
}

.info_content {
    color: white;
    background-color: rgb(75, 74, 74);
    border-radius: 20px;
    width: fit-content;
    max-width: 90vw;
    padding: 1vw 2vw;
    margin: 0 auto;
    text-align: center;
}



/* Cartes */

.full_card {
    width: 260px;
    height: 425px;
    border-radius: 25px;
    border: 1px black solid;
    text-align: center;
    background-color: white;
    display: flex;
    flex-direction: column;
    margin-bottom: 10%;
    position: relative;
}

.img_card {
    width: 100%;
    height: 55%;
    object-fit: cover;
    border-top-right-radius: inherit;
    border-top-left-radius: inherit;
}

.text_card {
    height: 45%;
    max-height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.text_card p {
    font-size: 90%;
    width: 98%;
    margin: 0 auto;
    color: black;
}

.text_card h3 {
    color: black;
}

.pts {
    color: var(--main-green);
}



.label_image_card {
    height: calc(65% - 10px);
    width: calc(100% - 10px);
    background-color: var(--light-green);
    border-top-right-radius: inherit;
    border-top-left-radius: inherit;
    border: 5px var(--main-green) dashed;
    cursor: pointer;
    font-size: 500%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--main-green);
    background-clip: border-box;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


.input_image_card {
    display: none;
}

.validation_section_card {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    font-size: 250%;
}

.card_disabled_button {
    color: grey;
}

.card_disabled {
    filter: grayscale(100%) brightness(0.6);
}



/* Button */

.add {
    font-size: 250%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    width: 70px;
    border-radius: 50%;
    background-color: var(--main-green);
    color: white;
    position: absolute;
    right: 15px;
    bottom: 20px;
    z-index: 40;
}

.delete {
    font-size: 150%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background-color: var(--main-red);
    color: white;
    position: absolute;
    right: 15px;
    bottom: 20px;
    z-index: 40;
}

.submit_collection {
    background-color: var(--main-green);
    border: 5px solid var(--light-green);
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.12) 0 1px 1px;
    color: #FFFFFF;
    cursor: pointer;
    display: block;
    font-family: inherit;
    font-size: 20px;
    line-height: 100%;
    margin: 0;
    outline: 0;
    padding: 11px 15px 12px;
    text-align: center;
    transition: box-shadow .05s ease-in-out,opacity .05s ease-in-out;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: 35%;
    margin: 15px auto 0;
}

.submit_collection:hover {
    box-shadow: rgba(255, 255, 255, 0.3) 0 0 2px incollection, rgba(0, 0, 0, 0.4) 0 1px 2px;
    text-decoration: none;
    transition-duration: .15s, .15s;
}
  
.submit_collection:active {
    box-shadow: rgba(0, 0, 0, 0.15) 0 2px 4px incollection, rgba(0, 0, 0, 0.4) 0 1px 1px;
}


.red_button {
    background-color: var(--main-red);
    border: 5px solid var(--light-red);
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.12) 0 1px 1px;
    color: #FFFFFF;
    cursor: pointer;
    display: block;
    font-family: inherit;
    font-size: 20px;
    line-height: 100%;
    margin: 0;
    outline: 0;
    padding: 11px 15px 12px;
    text-align: center;
    transition: box-shadow .05s ease-in-out, opacity .05s ease-in-out;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: 35%;
    margin: 15px auto 0;
}



/* Avatars */

.avatar_image_decoration.PREMIUM {
    border: 5px solid gold;
}

.avatar_image_decoration.ADMIN {
    border: 5px solid var(--main-purple-2);
}

.avatar_image_decoration.ADMIN .status_label {
    position: absolute;
    top: -10px;
    right: -10px;
    color: var(--main-purple-2);
    font-size: 300%;
}

.big_avatar_image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.medium_avatar_image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.small_avatar_image {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}