html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

body {
    margin: 0px;
}

@font-face {
    font-family: "Lexend Deca";
    src: url("../resources/fonts/LexendDeca-VariableFont_wght.ttf");
}

@font-face {
    font-family: "Gobold Extra2";
    src: url("../resources/fonts/Gobold\ Extra2.otf");
}

@font-face {
    font-family: "Poppins";
    src: url("../resources/fonts/Poppins-ExtraBold.ttf");
}

main {
    margin: 0 auto 25px;
    width: 100%;
    max-width: 1400px;
}

header {
    z-index: 2;
}

h1 {
    text-align: center;
    font-size: 50px;
    text-transform: uppercase;
    font-family: "Poppins";
}

h2 {
    padding-left: 30px;
    font-size: 28px;
    text-transform: uppercase;
    font-family: "Poppins";
}

h3 {
    font-size: 24px;
    font-family: "Poppins";
    margin-left: 10px;
}

#rules h4 {
    font-size: 20px;
    font-style: italic;
    margin-left: 10px;
}

p,
ul {
    padding-left: 20px;
    padding-right: 20px;
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: bold;
}

.underline {
    text-decoration: underline;
}

.red {
    color: red;
}

section {
    border: #1bf5ff 1px solid;
    background-color: #4632ff58;
    margin-bottom: 30px;
    padding: 15px;
}

a {
    color: #1067e0;
}

#banner {
    margin-top: 10px;
    max-width: 40%;
    max-height: 40%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.blueBack {
    color: #30373f;
    background-color: #9bb8b6;
}

.blackBack {
    color: #ffffff;
    background-color: #30373f;
}

.div1Back {
    color: #ffffff;
    background-color: #00a5f5;
    font-size: 20px;
}

.div2Back {
    color: #30373f;
    background-color: #ffffff;
    font-size: 20px;
}

.div3Back {
    color: #30373f;
    background-color: #fcac00;
    font-size: 20px;
}

.div4Back {
    color: #ffffff;
    background-color: #bc005d;
    font-size: 20px;
}

.div5Back {
    color: #ffffff;
    background-color: #9900ff;
    font-size: 20px;
}

#calendar, #mappingTable {
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border-spacing: 0;
    border: 2px solid #383C4B;
}

#calendar {
    text-transform: uppercase;
}

#mappingTable {
    margin-bottom: 20px;
}

#calendar th, #mappingTable th,
#calendar td, #mappingTable td {
    border: 2px solid #383C4B;
    padding: 5px;
}

.mappers{
    font-size: 18px;
}

teams-container {
    margin: 0 auto;
}

.divisions {
  display: flex;
  justify-content: center; 
  gap: 10px;
  width: 100%;
}

.division {
  background-color: rgba(0, 0, 0, 0.4);
  color: #EDEEF0;
  border-radius: 5px;
  width: 100px;
  align-self: center;
  text-align: center;
  padding: 10px 0px 10px 0px;
  font-size: 16px;
}

.division:hover {
  cursor: pointer;
  background-color: #383C4B;
}

.division.active {
  background-color: #383C4B;
}

.playoffs{
    display: flex;
    margin-left: 10px;
    justify-content: center;
}

.promotions{
    display: flex;
    flex-direction: column;
    margin: 150px 10px 0px 10px;
}

.arrowFull {
	  display: flex;
}

.square-right {
    margin: 30px 0px 0px 0px;
    width: 40px;
    height: 30px;
    background-color: #dc3545;
    color: white;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    padding: 0px;
}

.square-left {
    margin: 30px 0px 0px 0px;
    width: 40px;
    height: 30px;
    background-color: #198754;
    color: white;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    padding: 0px;
}

.triangle-right {
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-left: 50px solid #dc3545;
    border-bottom: 30px solid transparent;
    padding: 0px;
}

.triangle-left {
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-right: 50px solid #198754;
    border-bottom: 30px solid transparent;
    padding: 0px;
}


.blocPositions {
    font-weight: bold;
    text-align: center;
    border: 1px solid #383C4B;
    border-spacing: 0;
    background-color: white;
    max-width: 200px;
}

.blocPositions td {
    border: 1px solid #383C4B;
    padding: 8px 15px;
}

.blocPositions .promotionDirecte {
    background-color: #198754;
    color: white;
}

.blocPositions .promotionMatchs {
    background-color: #b8e6c5;
    color: #383C4B;
}

.blocPositions .promotionMatchs1 {
    background-color: #d1e8d7;
    color: #383C4B;
}

.blocPositions .relegationMatchs {
    background-color: #f5c2c7;
    color: #383C4B;
}

.blocPositions .relegationDirecte {
    background-color: #dc3545;
    color: white;
}

.blocPositions .separateur {
    background-color: #f5f5f5;
    color: #888;
}

#rules{
    margin-bottom: 20px;
}

.rulesBloc{
    margin: 0px 20px;
}

#rules .rulesBloc:not(:last-child) {
    border-bottom: 3px solid #383C4B;
}



