/* Déclaration des variables CSS dans :root */
:root {
    --primary-color: #ffcc00; /* Jaune pour les boutons principaux */
    --secondary-color: #333333; /* Noir pour les boutons secondaires */
    --tertiary-color: #cccccc; /* Gris clair pour les boutons tertiaires */
    --danger-color: #ff0000; /* Rouge pour les boutons de suppression */
    --background-color: #ffffff; /* Fond blanc */
    --text-color: #000000; /* Texte noir */
    --light-background: #f9f9f9; /* Fond léger pour le body */
}

/* Reset de base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styles généraux */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--light-background); /* Utilisation de la variable */
    color: var(--text-color); /* Utilisation de la variable */
    min-width: 300px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

thead {
    background-color: #333;
    border-radius: 4px 4px 0 0;
    color: #fff;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

thead th {
    padding: 10px;
    text-align: left;
}

tbody td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

tbody tr:hover {
    background-color: #f1f1f1;
}

td button {
    margin-right: 5px;
    padding: 5px 10px;
    font-size: 0.9em;
}

/* Pagination */
#pagination {
    text-align: center;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

#pagination button {
    margin: 0 5px;
}

h1 {
    display: flex;
    align-items: center;
}


/* Loader */
.loader {
    display: none;
    margin: 20px auto;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

.title_loader {
    display: none;
    margin: 0 0 0 20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Styles pour le logo */
.logo a{
    display: flex; 
    align-items: center;
    justify-content: center;
    /* margin-right: 20px; 
    background: #e1e1e1;
    padding: 8px;
    border-radius: 4px; */
}

.logo img {
    height: 40px; /* Hauteur du logo */
    width: auto; /* Largeur automatique pour conserver les proportions */
    transition: transform 0.3s ease; /* Animation douce pour l'effet hover */
    background: white;
    border-radius:100% ;
}

.logo img:hover {
    transform: scale(1.1); /* Légère augmentation de la taille au survol */
}

/* Header */
header {
    display: flex; /* Flexbox pour un alignement facile */
    align-items: center; /* Alignement vertical centré */
    justify-content: space-between; /* Espacement entre le logo et la navigation */
    background-color: var(--secondary-color); /* Utilisation de la variable */
    color: var(--background-color); /* Utilisation de la variable */
    padding: 8px 20px;
    gap: 8px;
}

.sail-group {
    display: flex;
    width: 100%;
    gap: 12px;
    align-items: center;
}

.sail-group .form-group {
    width:100%;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: var(--primary-color); /* Utilisation de la variable */
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Section principale */
main {
    height: calc(100vh - 129px);
    padding: 20px;
    /* overflow: hidden; */
}



/* Formulaires */
.content {
    background-color: var(--background-color); /* Utilisation de la variable */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Ombre légère */
    padding: 20px;
    margin-bottom: 20px;
    min-width: 290px;
    overflow-x: hidden;
    margin-bottom: 60px;
}

label {
    display: block;
    margin: 10px 0 5px;
    white-space: nowrap;
}

input[type="text"],
input[type="password"],
input[type="number"],
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    margin-top: 8px;
    border: 1px solid var(--tertiary-color); /* Utilisation de la variable */
    border-radius: 4px; /* Coins arrondis */
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus {
    border-color: var(--primary-color); /* Utilisation de la variable */
    outline: none; /* Pas de contour par défaut */
}

button {
    background-color: var(--primary-color); /* Utilisation de la variable */
    color: var(--secondary-color); /* Utilisation de la variable */
    border: none;
    padding: 4px 15px;
    min-height: 34px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Animation douce */
    box-shadow: 1px 1px 1px black;
    transition: 0.25s;
    margin-bottom: 2px;
    margin-right: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

button .icon {
    font-size: 24px;
    font-weight: 600;
}

button:hover {
    background-color: #e6b800; /* Jaune légèrement plus foncé au hover */
    /* transform: scale(1.05); */
}

button:active, button:focus-visible {
    box-shadow: -1px -1px 1px black;
    margin-top: 2px;
    margin-left: 2px;
    margin-bottom: 0px;
    margin-right: 0px;
}

#priceDisplay {
    font-weight: bold;
    margin-top: 10px;
}

.footer-price {
    width: 100vw;
    position: fixed;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    font-size: 24px;
    background: var(--secondary-color);
    color: #e1e1e1;
    white-space: nowrap;
    gap: 12px;
}

.footer-price.hidden {
    display: none;
}

.footer-price span {
    font-weight: bold;
    color: var(--primary-color);;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: var(--secondary-color); /* Utilisation de la variable */
    color: var(--background-color); /* Utilisation de la variable */
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Styles spécifiques aux messages d'alerte */
.alert {
    background-color: var(--primary-color); /* Utilisation de la variable */
    color: var(--secondary-color); /* Utilisation de la variable */
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    display: none; /* Masquer par défaut */
}

.table-head-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
}

.table-container {
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.boats-table {
    min-width: 780px;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Pour des colonnes de largeur fixe */
}

.boats-table thead {
    background-color: #333;
    color: #fff;
    text-align: left;
    position: sticky; /* Garde l'en-tête en place lors du scroll */
    top: 0;
}

.boats-table th, .boats-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;

}

.boats-table tbody {
    display: block;
    max-height: calc(100vh - 260px); /* Hauteur maximale pour le scroll */
    overflow-y: auto; /* Scroll uniquement sur la partie tbody */
}

.main-customers .boats-table tbody {
    display: block;
    max-height: calc(100vh - 380px); /* Hauteur maximale pour le scroll */
    overflow-y: auto; /* Scroll uniquement sur la partie tbody */
}

.boats-table thead, .boats-table tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed; /* Pour s'assurer que l'alignement est correct */
}

.boats-table tbody tr:hover {
    background-color: #f1f1f1;
}

.boats-table th {
    font-weight: bold;
    border-bottom: 2px solid #444;
}

.boats-table tbody td {
    border-right: 1px solid #ddd;
}

.boats-table tbody td:last-child {
    border-right: none; /* Pas de bordure pour la dernière colonne */
}

@media (max-width: 768px) {
    th, td {
        white-space: nowrap; /* Empêche le retour à la ligne */
    }

    /* Réduction des colonnes autres que le nom */
    th:not(:first-child), td:not(:first-child) {
        min-width: 50px; /* Limite la largeur minimale des colonnes non essentielles */
    }

    /* Affichage de toutes les colonnes dans un tableau scrollable */
    .table-container {
        display: block; /* Rend le conteneur de tableau un bloc */
        overflow-x: auto; /* Permet le défilement horizontal */
    }
}

.modal {
    display: none; /* Masqué par défaut */
    position: fixed; /* Reste fixe à l'écran */
    z-index: 1000; /* Au-dessus des autres éléments */
    left: 0;
    top: 0;
    width: 100%; /* Largeur de la fenêtre */
    height: 100%; /* Hauteur de la fenêtre */
    overflow: auto; /* Permet le défilement si le contenu dépasse */
    background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
}

.modal.hidden {
    display: none;
}

/* Contenu de la modal */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 80px auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-height: 80%;
    border-radius: 8px;
    min-height: 200px;
}

#boatModal .modal-content {
    overflow-y: hidden;
}

.scrollable-content {
    overflow: auto;
    max-height: calc(100vh - 400px);
}

.close {
    color: var(--danger-color);
    float: right;
    right: 16px;
    margin-top: -12px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    filter: brightness(50%);
    transition: 0.2s;
}

.close:hover, .close:focus {
    color: var(--danger-color);
    text-decoration: none;
    cursor: pointer;
    filter: brightness(100%);
}

.edit-button {
    background-color: #ffcc00; /* Couleur du bouton d'édition */
    color: black;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.edit-button:hover {
    background-color: #e6b800;
}

#viewImportModal .modal-content {
    overflow-y: auto;
}

.suggestions {
    list-style: none;
    padding: 0;
    border: 1px solid #ccc;
    background: var(--secondary-color);;
    max-height: 150px;
    overflow-y: auto;
    margin-top: 5px;
}

#tissu-modal .suggestions {

    max-height: none;
    min-height:465px;
}

.suggestions li {
    text-decoration: none;
    list-style-type: none;
    padding: 8px;
    border-radius: 4px;
    margin: 4px;
    cursor: pointer;
    transition: 0.25s;
    background: #d1d1d1;

}

.dimension-list {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 4px 8px;
    background-color: #ffe992;
    padding: 4px 8px;
    margin:4px;
    border-radius: 4px;
    border-left: 8px solid var(--secondary-color);
}


.suggestions li:hover {
    background: var(--primary-color);
}

.tag-group {
    display: flex;
    flex-wrap: wrap;
}

.tag-info {
    flex: 1;
    box-shadow: 1px 1px 2px #ffeeac;
    font-weight: 600;
    background-color: #ffe992;
    padding: 4px 8px;
    margin:4px;
    border-radius: 4px;
    color: var(--secondary-color);
    border-left: 8px solid var(--secondary-color);
    transition: 0.25s;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 270px;
    white-space: nowrap;
    overflow: hidden;
}

.tag-info:hover {
    background-color: var(--primary-color);

}

.tag-info span {
    font-weight: 200;
}

.separator {
    margin: 12px 0;
    border-color: #c1c1c1;
    background: #c1c1c1;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px; /* Espacement interne */
    border-radius: 5px; /* Coins arrondis */
    z-index: 1000; /* Pour que la notification soit au-dessus des autres éléments */
    opacity: 1; /* Opacité par défaut */
    transition: opacity 0.5s ease; /* Transition douce */
}

.notification.success {
    background-color: #4CAF50; /* Vert */
    color: white; /* Texte blanc */
}

.notification.info {
    background-color: #2196F3; /* Bleu */
    color: white; /* Texte blanc */
}

.notification.error {
    background-color: #F44336; /* Rouge */
    color: white; /* Texte blanc */
}

.notification.warning {
    background-color: #FF9800; /* Orange */
    color: white; /* Texte blanc */
}

.notification.hidden {
    opacity: 0; /* Rendre invisible */
    pointer-events: none; /* Empêche les interactions lorsque cachée */
}

#options-list {
    margin-top: 20px;
    margin-bottom: 10px;
}

.add-option {
    text-align: center;
    padding: 10px;
    margin: 10px 0;
    border: 2px dashed #bbb;
    border-radius: 5px;
    cursor: pointer;
    color: #555;
    background: #fff;
}

.add-option:hover {
    background: #f0f0f0;
    border-color: #888;
}

.validate-options {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #28a745;
    color: white;
    cursor: pointer;
}

.validate-options:hover {
    background-color: #218838;
}

.total-price {
    margin-top: 15px;
    font-size: 18px;
    text-align: center;
    color: #333;
}

.total-price span {
    font-weight: bold;
    color: #007bff;
}

.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.clickable {
    user-select: none;
    border: 2px dashed #ccc;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}

.option-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}

.option-row select {
    margin-right: 10px;
}

.option-row input {
    margin-right: 10px;
    width: 80px;
}

.option-row .delete-option {
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
}

button[disabled], button:disabled, input[disabled], input:disabled {
    filter: brightness(0.5);
    opacity: 0.8;
}

.input-integreted {
    background: none;
    border:none;
    padding:4px;
}

.input-integreted:focus, .input-integreted:focus-visible {
    border: none;
    outline: none;
}

.input-surface {
    width: 50px;
    font-size: 16px;
}

option, select {
    font-size: 16px;
}

.quote-content {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    transition: 0.25s;
    height: calc(100vh - 204px);
    overflow-y: auto;
}


.side-content {
    flex: 1;
    transition: 0.25s;
    opacity: 0;
}

.side-content.show {
    opacity: 1;
}


.dashboard-clients-table td {
    cursor: pointer;
}

.client-boat-devis-table {
    margin: 0;
}

.client-boat-devis-table th {
    padding: 0;
}

.client-name {
    background: var(--secondary-color);
    padding: 4px 8px;
    border-radius: 4px 4px 0 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content-side-content h3 {
    padding: 4px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #c1c1c1;
}

.client-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    background-color: var(--tertiary-color);
    color: var(--secondary-color);
    box-shadow: 0px 0px 2px black;
    transition: 0.25s;
}

.client-tag:hover {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    background-color: #e1e1e1;
    color: var(--secondary-color);
    box-shadow: 0px 0px 2px black;
}

.client-tag span {
    font-weight: 200;
    user-select: all;
}

.client-tag.hidden {
    display: none;
}

.contact-info {
    background-color: var(--light-background);
    user-select: none;
}

.close-btn {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

.main-modal-content {
    height: 84%;
    padding-bottom: 12px;
		overflow: auto;
}

.boats-list {
    display: flex;
    align-items: center;
    gap:12px;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.boat-details {
    width: 270px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 4px;
    height: 280px;
}

.boat-details-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 400;
    font-size: 18px;
    overflow-x: hidden;
}

.boat-details-name div {
    text-overflow: ellipsis;
    overflow-x: hidden;
    white-space: nowrap;
}

.boat-details-type {
    font-weight: 200;
}

.boat-details tbody {
    height: 142px;
    overflow-y: auto;
}

#clientInfo {
    border-radius: 8px;
}

.search-container {
    position: relative;
    width: 300px;
  }
  
  #searchBar {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  #searchResults {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
    color: var(--secondary-color);
  }
  
  #searchResults.hidden {
    display: none;
  }
  
  #searchResults div {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
  }

  #searchResults a {
    text-decoration: none;
    color: var(--secondary-color);
  }
  
  #searchResults div:last-child {
    border-bottom: none;
  }
  
  #searchResults div:hover {
    background: #f0f0f0;
  }

  #clientModal.modal {
    display: block;
  }
  #clientModal.modal.hidden {
    display: none;
  }

  textarea {
    width: 100%;
    min-height: 60px;
  }

  .accordion {
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
  }
  
  .accordion-item {
    border-bottom: 1px solid #ccc;
  }
  
  .accordion-item:last-child {
    border-bottom: none;
  }
  
  .accordion-header {
    padding: 15px;
    background-color: #f9f9f9;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
  }
  
  .accordion-header:hover {
    background-color: #eaeaea;
  }
  
  .accordion-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
    background-color: #fff;
  }

  .accordion-content table {
    margin-bottom: 0;
  }
  
  .accordion-content p {
    margin: 15px 0;
  }

  .save {
    background-color: #2196F3;
    color: white;
  }

  .save:hover {
    background-color: #4498dc;
  }

  .form-inline {
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .form-inline input, .form-inline textarea, .form-inline button {
    margin: 5px 0;
    font-size: 16px;
  }

  .form-inline input {
    max-width: 400px;
  }

  .action-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }

  #addSailForm {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  #addSailForm select, input {
    max-width: 340px;
  }

  .manage-sails .table-container {
    height: calc(100vh - 200px);
    overflow-y: auto;
  }

  .accordion-header a  {
    text-decoration: none;
    color: black;
  }

  .main-settings {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: var(--background-color);
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
		height: calc(100vh - 180px);
		overflow-y: auto;
	}

	.main-settings div .img-input {
		display: flex;
		align-items: center;
		gap: 12px;
		flex-direction: row;

	}

	.img-input img {
		max-width: 60px;
		max-height: 60px;
	}

	.main-settings h1 {
			color: var(--secondary-color);
			text-align: center;
			margin-bottom: 20px;
	}

	.main-settings form {
			display: flex;
			flex-direction: column;
			gap: 20px;
	}

	.main-settings form div {
			display: flex;
			flex-direction: column;
	}

	.main-settings form label {
			font-weight: bold;
			margin-bottom: 5px;
			color: var(--secondary-color);
	}

	.main-settings form input,
	.main-settings form textarea,
	.main-settings form button {
			padding: 10px;
			border: 1px solid var(--tertiary-color);
			border-radius: 4px;
			font-size: 16px;
			outline: none;
			transition: border-color 0.3s ease;
	}

	.main-settings form input:focus,
	.main-settings form textarea:focus {
			border-color: var(--primary-color);
	}

	.main-settings form textarea {
			resize: vertical;
	}

	.main-settings form button {
			background-color: var(--primary-color);
			color: var(--secondary-color);
			font-weight: bold;
			cursor: pointer;
			transition: 0.3s ease;
			border: none;
	}

	.main-settings form button:hover {
		filter: brightness(1.1);
	}

	input[type=file] {
		color: var(--secondary-color);
		padding: 8px;
		background-color: var(--background-color);
		border: 1px solid var(--secondary-color);
	}

	input[type=file]:focus {
		outline: 2px dashed var(--primary-color);
		outline-offset: 2px;
	}

	input[type=file]::file-selector-button {
		margin-right: 8px;
		border: none;
		background: var(--secondary-color);
		padding: 8px 12px;
		color: var(--background-color);
		cursor: pointer;
	}

	input[type=file]::file-selector-button:hover {
		background: var(--tertiary-color); 
	}

	@media (prefers-color-scheme: dark) {
		input[type=file] {
			color: var(--light-background);
			border: 1px solid var(--tertiary-color);
			background-color: var(--secondary-color);
		}

		input[type=file]:focus {
			outline: 2px dashed var(--primary-color);
			outline-offset: 2px;
		}

		input[type=file]::file-selector-button {
			background: var(--tertiary-color);
			color: var(--secondary-color);
		}

		input[type=file]::file-selector-button:hover {
			background: var(--primary-color);
			color: var(--secondary-color);
		}
	}


	.main-settings form button:disabled {
        background-color: var(--tertiary-color);
        color: var(--text-color);
        cursor: not-allowed;
	}

	.main-settings .alert {
        padding: 10px;
        margin: 20px 0;
        border-radius: 4px;
        text-align: center;
	}

	.main-settings .alert-success {
        background-color: #dff0d8;
        color: #3c763d;
        border: 1px solid #d6e9c6;
	}

	.main-settings .alert-error {
        background-color: #f2dede;
        color: #a94442;
        border: 1px solid #ebccd1;
	}
    
    .more-config {
        margin-bottom: 64px;
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .more-config .note-textarea {
        flex: 1;
    }

    .note-textarea {
        display: flex;
        align-items: center;
        min-width: 200px;
    }

    .note-textarea textarea {
        font-size: 18px;
    }
    
    .input-percentage-container {
        width: 70px;
        border: 1px solid black;
        border-radius: 4px;
        display: flex;
        align-items: center;
        padding: 0 12px 0 0;
    }
    
    .percentVal {
        flex: 1;
    }
    
    .input-percentage-container input {
        border: 0;
        background: none;
        margin: 0;
        padding-right: 0px;
    }
    
    .content-blocks {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        column-gap: 12px;
        row-gap: 12px;
        z-index: 2;
        align-content: flex-start;
    }

    .content-block {
        padding: 12px;
        /* background-color: var(--secondary-color); */
        color: #d1d1d1;
        height: 180px;
        width: 300px;
        border-radius: 8px;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
        cursor: pointer;
        transition: 0.3s;
    }

    /* .content-block:hover {
        transform: scale(1.05);
        filter: brightness();
    } */
.content-block {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    text-transform: uppercase;
    margin: 20px 0;
    padding: 10px 20px;
    text-decoration: none;
    color: #262626;
    font-family: sans-serif;
    font-size: 18px;
    font-weight: 600;
    transition: .5s;
    z-index: 1;
    user-select: none;
    text-align: center;
    max-height: 44px;
}
.content-block:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top: 2px solid #262626;
    border-bottom: 2px solid #262626;
    transform: scaleY(2);
    opacity: 0;
    transition: .3s;
    border-radius: 8px;
    z-index: -1;

    }
.content-block:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #262626;
    transform: scale(0);
    opacity: 0;
    transition: .3s;
    z-index: -1;
    border-radius: 8px;
}

.content-block:hover {
    color: #fff;
    max-height: 300px;

}
.content-block:hover::before {
    transform: scaleY(1);
    opacity: 1;
}
.content-block:hover::after {
    transform: scaleY(1);
    opacity: 1;
}

.content-block:hover .content-block-header {
    text-shadow: 0px 0px 0px var(--primary-color);
}

.content-block-header {
    position: relative; 
    display: block;
    text-align: center;
    background: transparent;
    font-size: 18px;
    color: #666;
    transition: .3s;
  }
  
  /* .content-block-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffee10;
    transition: .5s;
    transform: scale(.9);
    z-index: -1;
  }
  
  .content-block:hover .content-block-header::before {
    transform: scale(1.1);
    box-shadow: 0 0 15px #ffee10;
  } */
  
  .content-block:hover .content-block-header {
    color: #ffee10;
    /* text-shadow: 0 0 5px #ffee10; */
  }

.content-block:active {
    transform: scale(0.9);
    filter: brightness(1.1);
}

.content-block-description {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}