@font-face{
  font-family: "Montserrat";
  src:url("fonts/Montserrat-Regular.ttf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Montserrat";
  src:url("fonts/Montserrat-Italic.ttf");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face{
  font-family: "Montserrat";
  src:url("fonts/Montserrat-SemiBold.ttf");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Montserrat";
  src:url("fonts/Montserrat-SemiBoldItalic.ttf");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}


:root {
	--primary-color: #c6dce1;
	--secondary-color: #fffff6;
	--top-section-color: #56a4a4;
	--header-color: #395375;
}

html {
	font-size: 16px;
	background-color: var(--primary-color);
	color: #1a1a1a;
}


body {
	font-family: 'Montserrat', sans-serif;
	margin:0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;

}

header {
	display: flex;
	flex-wrap: wrap;
	background-color: var(--header-color);
	justify-content: space-between;
	padding-left: 20px;
	padding-right: 20px;
	text-align: center;
	align-items: center;
	font-size: 30px;
	border-bottom: 1px solid #333;
	color:white;
}

#logo {
	font-size: 20px;
}

#logo a {
	text-decoration: none;
	color: var(--secondary-color);
	display: flex;
	align-items: center;
}

#logo a:hover {
	color: #25ae25;
}



#logo img {
	width: 50px;
	vertical-align: middle;
	margin-right: 10px;
}





nav {
flex: 1;
}

nav ul {
	display: flex;
	justify-content: right;
}

nav ul li {
	list-style: none;
	margin-left: 20px;
	font-size: 18px;
}

nav ul li a {
	text-decoration: none;
	color: var(--secondary-color);
}

nav ul li a:hover {
	color: #25ae25;
}

main {
	flex-grow: 1;
	padding: 20px;

}


footer {
	background-color: var(--header-color);
	text-align: center;
	padding: 20px;
	color: var(--secondary-color);
	border-top: 1px solid #333;
}



h1, h2 {
	text-align: center;
}

#top-section {
	text-align: center;
	padding: 20px;
	margin-bottom: 50px;
  	background: var(--top-section-color);
  	box-shadow: 0 5px 10px rgba(0, 0, 0, .8);
  	color:white;
}


#chart-container {
	width: 80vw;
	height: 70vh;
	margin: auto;
}

#signals {
	text-align: center;
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-bottom: 50px;
	margin-top: 30px;
}
	
.signals-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 800px;
    width: 80%;
    background-color: var(--top-section-color);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 1);
}

.signal-box {
    border: 2px solid #333;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    background-color: var(--secondary-color);
    border-radius: 5px;
    min-width: 150px;
    color: black;
    box-shadow: 0 0 5px rgba(0, 0, 0, .8);
    cursor: context-menu;
}

.activated {
	background-color: #25ae25;
}

.update-date {
	font-size: 14px;
	font-style: italic;
	padding: 10px;
}

.caution-notice {
	width:90%;
	max-width: 1000px;
	margin: auto;
	padding: 20px;
	background-color: var(--secondary-color);
	border-radius: 5px;
	box-shadow: 0 0 15px rgba(0, 0, 0, .8);
	color: black;
}

.secondary-wrapper {
	margin: auto;
	border: 1px solid black;
	border-radius: 3px;
	padding: 15px;
	box-shadow: 0 0 3px black;
	background: #c6dce180;
}
}

#benchmark {
	margin-top: 50px;
	margin-bottom: 50px;
}

.performance-wrapper {
	width:80%;
	max-width: 600px;
	margin: auto;
	padding: 20px;
	background-color: var(--secondary-color);
	border-radius: 5px;
	box-shadow: 0 0 20px rgba(0, 0, 0, .8);
	color: black;
}

.coinbase-wrapper {
	margin-bottom: 50px;
	width: 40%;
	min-width: 250px;
	padding: 20px;
	background-color: #fffff670;
	border-radius: 34px;
	box-shadow: 0 0 20px rgba(0, 0, 0, .8);
	color: black;
	margin: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-bottom: 50px;
}

.coinbase-button-wrapper {
	background: rgb(0, 82, 255);
	width: 120px;
	padding: 10px 5px 10px 5px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 25px;
	cursor: pointer;
	color: white;
}

.coinbase-button-wrapper:hover {
	background: #014cec;
}



.coinbase-button-wrapper p {
	margin: 5px;
}



iframe {
	border-radius:8px;
	box-shadow: 0 0 5px rgba(0, 0, 0, .8);
}


table {
    border-collapse: separate;
    border-spacing: 0;
    width: 80%;
    min-width: 300px;
    margin: auto;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 1);
    background-color: #2e4c5e;
    color:white;
}

table th {
    background-color: var(--header-color);
    color: var(--secondary-color);
}

table th, table td {
    border: 0.5px solid #ddd; /* Réduction de l'épaisseur de la bordure */
    text-align: center;
    padding: 8px;
}

/* Coins arrondis */
table tr:first-child th:first-child {
    border-top-left-radius: 6px;
}

table tr:first-child th:last-child {
    border-top-right-radius: 6px;
}

table:not(:has(tfoot)) tr:last-child td:first-child {
    border-bottom-left-radius: 6px;
}

table:not(:has(tfoot)) tr:last-child td:last-child {
    border-bottom-right-radius: 6px;
}

table tfoot tr:last-child td:first-child {
    border-bottom-left-radius: 6px;
}

table tfoot tr:last-child td:last-child {
    border-bottom-right-radius: 6px;
}

/* Effets de style */
table tr:nth-child(even) {
    background-color: var(--top-section-color);


}

table tr:hover {
    background-color: #061417;
}

table tfoot td {
    font-style: italic;
}

@media (max-width: 600px) {
	#chart-container {
		width: 90vw;
		height: 50vh;
		margin: auto;
	}

	.signals-container {
		padding: 15px;
	}

	.caution-notice {
		padding: 15px;
	}


}
