
@font-face {
  font-family: 'Deezer';
    src: url('./assets/Police/DeezerProduct-Light.woff2') format('woff2');
  font-weight: 300;
}
@font-face {
  font-family: 'Deezer';
    src: url('./assets/Police/DeezerProduct-Regular.woff2') format('woff2');
  font-weight: 400;
}
@font-face {
  font-family: 'Deezer';
    src: url('./assets/Police/DeezerProduct-Medium.woff2') format('woff2');
  font-weight: 500;
}
@font-face {
  font-family: 'Deezer';
    src: url('./assets/Police/DeezerProduct-Bold.woff2') format('woff2');
  font-weight: 700;
}
@font-face {
  font-family: 'Deezer';
    src: url('./assets/Police/DeezerProduct-Extrabold.woff2') format('woff2');
  font-weight: 800;
}


        body {
            display: flex;
            position: relative;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin: 0;
            background-color: #202124;
            color: #9aa0a6;
            font-family: Arial, sans-serif;
            transition: 1s ease;
            cursor: url('./assets/Curseur/Rond.svg') 16 16, auto;
        }

        button {
            padding: 5px 10px;
            background: #303134;
            color: #9aa0a6;
            border: none;
            border-radius: 25px;
            cursor: none;
            font-size: 1.17em;
            font-weight: 500;
            height: 30px;
        }

        button:hover {
            background: #9aa0a6;
            color: #303134;
        }


        a {
            color: #9aa0a6;
            text-decoration: none;
            cursor: none;
        }

        a:hover {
            color: white;
        }

        /* Barre de recherche */
        #search-bar-container {
            display: flex;
            align-items: center;
            background-color: #303134;
            border-radius: 25px;
            padding: 10px;
            max-width: 600px;
            margin: auto;
        }

        .icon {
            width: 20px;
            height: 20px;
            fill: #9aa0a6;
            padding: 5px;
            cursor: none;
            border-radius: 1000px;
        }

        .icon:hover {
            background: #9aa0a6;
            fill: #303134;
        }

        #SearchIconContainer {
            width: 20px;
            height: 20px;
            fill: #9aa0a6;
            padding: 5px;
            cursor: none;
            border-radius: 1000px;
        }

        #SearchIconContainer:hover {
            background: #9aa0a6;
            fill: #303134;
        }
        
        #SearchIconContainer svg {
            width: 100%;
            height: 100%;
        }
        #SearchIconContainer:hover svg {
            fill: #303134;
        }

        .large-button {
			display: flex;             /* active Flexbox */
			align-items: center;       /* centre verticalement */
			justify-content: center;   /* centre horizontalement */
			height: 40px;
			width: 80px;
            cursor: none;
            border-radius: 1000px;
        }

        .large-button:hover {
            background: #9aa0a6;
        }

        .large-button-icon {
            width: 20px;
            height: 20px;
            fill: #9aa0a6;
        }

        .large-button:hover .large-button-icon {
            fill: #303134;
        }




        .search-input {
            flex: 1;
            border: none;
            background: transparent;
            color: #9aa0a6;
            font-size: 16px;
            outline: none;
            cursor: url('./assets/Curseur/Texte.svg') 16 16, auto;
			margin: 0 5px;
            width: 0;
        }

        .search-input::placeholder {
            color: #9aa0a6;
        }

        .search-engine-select {
            border: none;
            border-radius: 0;
            background: transparent;
            color: #9aa0a6;
            padding: 0 5px;
            margin: 0 5px;
            font-size: 14px;
            outline: none;
            cursor: pointer;
        }

        #logoContainer {
            max-width: 66.66%;
            height: 100px;
            margin: 20px auto;
            fill: #9aa0a6;
        }

        #logoContainer svg {
            width: 100%;
            height: 100%;
            display: block;
        }
		
        #recherche {
                        padding-top: 150px;
                        text-align: center;
                        align-items: center;
                        width: calc(100% - 40px);
                        align-content: center;
        }

        h2 {
            color: #9aa0a6;
        }

        /* Section du flux d'actualités */
        .news-card-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 20px;
            max-width: 80%;
            padding: 20px;
            margin-top: 20px;
        }

#titreSectionActuEtWidget {
    position: absolute;
    top: 464px;
    left: 50%;
    transform: translateX(-50%);
}

#conteneurBas {
    position: absolute;
    top: calc(100vh - 200px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #9aa0a6;
    font-family: Arial, sans-serif;
}

#titreSectionActuEtWidgets {
	padding: 40px 0 10px 0;
    margin: 0;
    color: white;
}

        iframe {
            border: none;
            display: flex;
            flex-direction: column;
            background-color: #303134;
            color: #9aa0a6;
            border-radius: 20px;
            overflow: hidden;
            max-width: 400px;
        }

        .news-card, .widget-card {
            width: 320px;
            height: 420px;
            border: none;
            display: flex;
            flex-direction: column;
            background-color: #303134;
            color: #9aa0a6;
            border-radius: 20px;
            overflow: hidden;
            max-width: 400px;
            position: relative;
            padding: 16px;
            box-sizing: border-box;
        }

        .widget-card-header,
        .widget-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 14px;
        }

        .widget-card-header h3,
        .widget-header h3 {
            margin: 0;
            font-size: 18px;
            color: #ffffff;
        }

        .widget-card-header p,
        .widget-header p {
            margin: 4px 0 0;
            font-size: 13px;
            color: #9aa0a6;
            line-height: 1.4;
        }

        .widget-card-link {
            color: #9aa0a6;
            text-decoration: none;
            font-size: 13px;
            white-space: nowrap;
        }

        .widget-card-link:hover {
            color: #ffffff;
        }

        .note-widget {
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .note-widget-textarea {
            flex: 1;
            width: 100%;
            min-height: 220px;
            resize: none;
            border: 2px solid #bb890059;
            border-radius: 16px;
            background: #745500;
            color: #f5f7fa;
            padding: 14px;
            font-size: 14px;
            line-height: 1.5;
            outline: none;
            box-sizing: border-box;
            font-family: inherit;
        }

        .note-widget-textarea:focus {
            border-color: #ffbb00;
            box-shadow: 0 0 0 3px rgba(255, 187, 0, 0.35);
        }

        .note-widget-textarea::placeholder {
            color: #f5f7fa;
            opacity: 0.6;
        }

        .note-widget-status {
            margin-top: 10px;
            font-size: 12px;
            color: #9aa0a6;
            text-align: right;
        }

        .weather-main {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 12px;
        }

        .weather-icon {
            width: 64px;
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.06);
            font-size: 34px;
            color: #f5f7fa;
        }

        .weather-values {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .weather-temp {
            font-size: 38px;
            font-weight: 700;
            color: #ffffff;
        }

        .weather-description,
        .weather-extra {
            font-size: 14px;
            color: #9aa0a6;
            line-height: 1.5;
        }

        .weather-status {
            margin-top: 10px;
            font-size: 12px;
            color: #9aa0a6;
            text-align: right;
        }

        .quote-text {
            flex: 1;
            font-size: 15px;
            color: #e9edf5;
            line-height: 1.65;
            min-height: 100px;
            margin-bottom: 12px;
        }

        .quote-author {
            font-size: 13px;
            color: #9aa0a6;
            text-align: right;
        }

        .quote-refresh {
            border: 1px solid rgba(154, 160, 166, 0.25);
            background: rgba(255, 255, 255, 0.06);
            color: #f5f7fa;
            border-radius: 999px;
            padding: 8px 14px;
            cursor: pointer;
            font-size: 13px;
            transition: transform 0.2s ease, background 0.2s ease;
        }

        .quote-refresh:hover {
            background: rgba(154, 160, 166, 0.18);
            transform: translateY(-1px);
        }

        .todo-input-container {
            display: flex;
            gap: 10px;
            margin-bottom: 14px;
        }

        .todo-input {
            flex: 1;
            border: 1px solid rgba(154, 160, 166, 0.25);
            border-radius: 14px;
            background: #1e2023;
            color: #f5f7fa;
            padding: 12px 14px;
            font-size: 14px;
            outline: none;
        }

        .material-symbols-outlined {
            font-variation-settings:
                'FILL' 0,
                'wght' 400,
                'GRAD' 0,
                'opsz' 24;
            display: inline-flex;
            vertical-align: middle;
        }

        .add-todo-button {
            border: none;
            background: #303134;
            color: #9aa0a6;
            border-radius: 14px;
            width: 42px;
            height: 42px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .add-todo-button:hover {
            background: #9aa0a6;
            color: #303134;
        }

        .todo-remove {
            border: none;
            background: #303134;
            color: #9aa0a6;
            border-radius: 14px;
            width: 42px;
            height: 42px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .todo-remove:hover {
            background: #9aa0a6;
            color: #303134;
        }

        .todo-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: grid;
            gap: 10px;
            overflow-y: auto;
            max-height: 160px;
        }

        .todo-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 0;
            border-radius: 16px;
        }

        .check {
            display: flex;
            align-items: center;
            position: relative;
            cursor: none;
        }

        .check input {
            position: absolute;
            opacity: 0;
            width: 100%;
            height: 100%;
            margin: 0;
            cursor: none;
        }

        .check input:hover + .box {
            background: #9aa0a6;
            transition: width 0.2s ease, height 0.2s ease, transform 0.2s ease;
        }

        .check .box {
            width: 25px;
            height: 25px;
            border: 3px solid #ffffff;
            border-radius: 50%;
            display: grid;
            place-items: center;
            color: transparent;
        }

        .check .box::after {
            content: 'check';
            font-family: 'Material Symbols Outlined';
            font-variation-settings: 'FILL' 0, 'wght' 700, 'GRAD' 0, 'opsz' 20;
            transform: scale(0);
            color: #303134;
        }

        .check input:checked + .box {
            background: #9aa0a6;
            border-color: #9aa0a6;
        }

        .check input:checked + .box::after {
            transform: scale(1.25);
        }

        .task-text {
            flex: 1;
            border: none;
            background: transparent;
            color: #e9edf5;
            font-size: 14px;
            line-height: 1.5;
            padding: 8px 10px;
            border-radius: 12px;
            min-width: 0;
        }

        .task-text:focus {
            outline: none;
        }

        .task-text.disabled {
            color: #7d8390;
        }

        .todo-item.completed .task-text {
            color: #7d8390;
        }

        .todo-empty {
            color: #9aa0a6;
            font-size: 13px;
        }

        .widget-paintings {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
            flex-grow: 1;
            overflow-y: auto;
            max-height: calc(100% - 70px);
            padding-right: 4px;
        }

        .widget-paintings::-webkit-scrollbar {
            width: 8px;
        }

        .widget-paintings::-webkit-scrollbar-thumb {
            background: rgba(154, 160, 166, 0.4);
            border-radius: 4px;
        }

        .widget-paintings::-webkit-scrollbar-track {
            background: transparent;
        }

        .widget-painting {
            border-radius: 16px;
            overflow: hidden;
            background: #202124;
            min-height: 100px;
            position: relative;
            cursor: pointer;
            display: block;
        }

        .widget-painting img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .widget-painting-title {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 8px 10px;
            background: rgba(0, 0, 0, 0.55);
            color: #ffffff;
            font-size: 12px;
            line-height: 1.3;
            max-height: 3.6em;
            overflow: hidden;
        }

        .widget-card-empty {
            color: #9aa0a6;
            font-size: 14px;
            text-align: center;
            margin-top: 40px;
            width: 100%;
        }

        .widget-card--centered {
            align-items: center;
            justify-content: center;
            gap: 12px;
            text-align: center;
        }

        .widget-card-title {
            margin: 0 0 6px;
            color: #ffffff;
        }

        .widget-card-description {
            margin: 0;
            font-size: 13px;
            color: #9aa0a6;
            line-height: 1.5;
        }

        .widget-action {
            display: inline-block;
            padding: 10px 20px;
            border: none;
            border-radius: 10px;
            background: #9aa0a6;
            color: #303134;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .scratch-frame {
            width: 100%;
            margin: auto;
            border: none;
            border-radius: 10px;
            aspect-ratio: 4 / 3;
        }

        .scratch-link {
            width: 30%;
            height: auto;
            margin: auto;
            border-radius: 10px;
            transition: width 0.3s ease;
        }

        .scratch-link:hover {
            width: 60%;
        }

        .image-with-gradient {
            position: relative;
            display: inline-block;
        }

        .image-with-gradient::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to top, #303134, transparent);
            pointer-events: none; /* Permet de cliquer à travers le dégradé */
        }


        .news-card img {
            width: 320px;
            max-height: 320px;
            object-fit: cover;
            display: block;
            margin: auto;
            transition: all 0.3s ease;
        }
        .news-card img:hover {
            cursor: url('./assets/Curseur/Pointeur.svg') 0 0, auto;
            transform: scale(1.1) translate(0,-5%); /* Zoom et déplacement */
        }

        .news-card audio {
            width: 320px;
            object-fit: cover;
            display: block;
            margin-top: 50px;
            background: #303134;
            color: #9aa0a6;
        }

        .news-card-content {
            flex-grow: 1;
            position: absolute;
            width: 280px;
            top: 150px;
            left: 20px;
        }

        .news-card-title {
            font-size: 18px;
            font-weight: bold;
            margin: 0;
            text-shadow: 0px 0px 5px #303134, 0px 0px 10px #303134; /* Effet de surlignage */
        }

        .news-card-description {
            font-size: 14px;
            margin: 10px 0;
        }

        .news-card-link {
            color: #9aa0a6;
            text-decoration: none;
        }
        .raccourcis-card {
            width: 320px;
            height: 420px;
            border: none;
            flex-direction: column;
            background-color: #303134;
            color: #9aa0a6;
            border-radius: 20px;
            overflow: hidden;
            max-width: 400px;
            position: relative;
            overflow-y: auto;
            scrollbar-width: none;        /* Masque la barre sur Firefox */
        }
        .votre-conteneur::-webkit-scrollbar {
            display: none;                /* Masque la barre sur Chrome, Safari, Opera, Edge Chromium */
        }
        .raccourcis-card .grille {
            display: grid;
            grid-template-columns: auto auto;
            grid-template-columns: repeat(2, 1fr); /* 2 colonnes égales */
        }

        .raccourci {
          align-items: center;
          display: flex;
          padding: 10px;
          margin: 10px;
          transition: all 0.3s ease;
          height: 40px;
          hyphens: auto;
          overflow-wrap: break-word;
          word-break: break-word;
        }
        .raccourci:hover {
          color: white;
        }
        .logo-raccourci {
          border-radius: 35%;
          background-color: white;
          height: 40px;
          width: 40px;
          margin-right: 10px;
          transition: border-radius 0.3s ease;
          margin-bottom: 5px;
          object-fit: contain;
          cursor: none;
        }
        .logo-raccourci:hover {
          border-radius: 50%;
          background: #9aa0a6;
        }
        .titre-raccourci {
          font-size: 18px;
          display: inline;
          vertical-align: center;
          margin: 0;
        }

        /* Section raccourcis */
        .raccourcis-section {
            width: 80%; max-width: 600px;
            background: #303134; border-radius: 25px;
            padding: 20px; margin: 20px 0;
        }
        .raccourcis-header {
            display: flex; justify-content: space-between; align-items: center;
        }
        .raccourcis-header h2 { margin: 0; }
        .racc-form input {  font-size: 14px; margin: 5px; padding: 8px 16px; border-radius: 20px; border: none; background: #202124; color: #9aa0a6; }
        .racc-form button { font-size: 14px; margin: 5px; padding: 8px 16px; border-radius: 20px; border: none; background: #9aa0a6; color: #303134; cursor: pointer; }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 1;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
        }
        .modal-content {
            background-color: #303134;
            margin: 15% auto;
            padding: 20px;
            border-radius: 25px;
            width: 80%;
            max-width: 400px;
        }
        .modal-content .racc-form {
            display: flex;
            flex-direction: column;
        }
        .close-button {
            margin: 5px;
            padding: 8px 16px;
            border-radius: 20px;
            border: none;
            background: #9aa0a6;
            color: #303134;
            cursor: pointer;
        }

        #deezerCard {
            background: linear-gradient(150deg, rgb(134, 37, 212) 35%, rgb(216, 44, 106) 72%, rgb(255, 80, 61) 100%);
            text-align: center;
            cursor: url('./assets/Curseur/Rond Violet.svg') 16 16, auto;
        }

		#wave {
			position: absolute;
			bottom: -150px; /* Positioned so that the lower part is hidden */
			left: 0;
			width: 100%;
			height: 200px; /* Double the height of the container for animation */
		}

		#deezerPlay {
		  background: white;
		  display: flex;
		  align-items: center;
		  border-radius: 100px;
		  border: none;
		  padding: 20px 30px;
		  transition: all 0.3s ease;
		  margin: 0 auto;
		}
		#deezerPlay:hover {
		  background: #a238ff;
		}

		#deezerPlay svg {
		  fill: #a238ff;
		  height: 20px;
		  width: 20px;
		}
		#deezerPlay:hover svg {
		    fill: white;
		    height: 0;
		    width: 0;
			white-space: nowrap;
		    overflow: hidden;
		}

		#deezerPlay span {
		  color: white;
		  white-space: nowrap;
		  width: 0;
		  overflow: hidden;
		  font-family: Deezer;
		  margin: 0;
		  font-weight: 100;
		  transition: all 0.3s ease;
		}
		#deezerPlay:hover span {
		  width: auto;
		  margin: 3px 5px 0 0;
		  font-weight: 800;
		}


		.ellipse {
			position: absolute;
			width: 75px;
			height: 200px;
			background-color: #a238ff;
			border-radius: 50%;
			transform-origin: center;
			animation: stretch 5s ease-in-out infinite alternate;
		}

		@keyframes stretch {
			0% { transform: scaleY(1); }
			10% { transform: scaleY(1.5); }
			20% { transform: scaleY(0.75); }
			30% { transform: scaleY(1.9); }
			40% { transform: scaleY(1.2); }
			50% { transform: scaleY(1.7); }
			60% { transform: scaleY(0.9); }
			70% { transform: scaleY(1.6); }
			80% { transform: scaleY(1.3); }
			90% { transform: scaleY(1.8); }
			100% { transform: scaleY(1); }
		}

        /* Style vidéo en fond */
		.bg-video {
		    position: fixed;
  		    top: 0;
		    left: 0;
		    width: 100vw;
		    height: 100vh;
		    object-fit: cover;
		    z-index: -1;
		    filter: brightness(0.5) blur(0px);

		}