321 lines
6.6 KiB
CSS

@font-face {
font-family: "Aharoni";
src: url("../fonts/ahronbd.ttf") format("truetype");
}
@font-face {
font-family: "Valorant";
src: url("../fonts/Valorant.ttf") format("truetype");
}
@font-face {
font-family: "DIN";
src: url("../fonts/DIN.ttf") format("truetype");
}
body {
background: white;
text-align: center;
color: white;
margin: 0;
padding: 0;
}
a {
text-decoration: none;
color: white;
}
/*
╔══════════════■█■═════════════╗
═══════════════════════════════════════════════════╣ CSS pour le header ╠════════════════════════════════════════════════════════
╚══════════════■█■═════════════╝
*/
header {
font-size: 50px;
width: 100%;
margin: 0;
padding:0;
background-position: center;
}
.bandeau {
background-color: black;
font-size: 15px;
display: flex;
margin: 0;
padding: 0;
white-space: nowrap;
height: 75px;
font-family: DIN;
align-items: center;
}
.marge_gauche {
margin-left: 25px;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
}
.menu_sl {
z-index: 1;
margin-top: 2px;
visibility: hidden;
position: absolute;
width: 100px;
height: 0px;
background-color: #292929;
transition: all .1s ease;
margin-left: -9.5px;
}
.menu:hover .menu_sl {
height: 100px;
visibility: visible;
}
.menu_sl ul {
font-size: 12px;
flex-direction: column;
text-align: start;
}
.menu_sl ul li {
margin-top: 8%;
}
.autre {
margin: 0 10px;
}
nav span {
color: #fff;
text-decoration: none;
padding: 10px;
display: block;
}
nav span:hover {
cursor: pointer;
box-shadow: 0 2px 0 0;
}
.conexion{
display: flex;
justify-content: end;
width: -moz-available; width: -webkit-fill-available;
}
.entete {
position: relative;
z-index: 0;
}
video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
}
.elm {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.title {
border-top: 100px solid transparent;
}
.entete img,
.entete button {
position: relative;
z-index: 1;
margin: 0;
padding: 0;
}
.button {
border-top: 25px solid transparent;
border-bottom: 150px solid transparent;
}
.download {
border: none;
cursor: pointer;
font-weight: bold;
font-size: 14px;
border: 1px solid white;
}
.download_lg {
position: relative;
display: block;
padding: 15px 30px;
overflow: hidden;
color: #fff;
background-color: #ff4655;
}
.download_sl {
position: absolute;
top: 0;
bottom: -1px;
left: -8px;
width: 0;
background-color: #0f1923;
transform: skew(-15deg);
transition: all .2s ease;
}
.download_text {
position: relative;
}
.download:hover .download_sl {
width: calc(100% + 15px);
}
.triangle {
width: 0;
height: 0;
border-bottom: 50px solid white;
border-right: 50px solid transparent;
}
/*
╔═════════════■█■════════════╗
════════════════════════════════════════════════════╣ CSS pour le main ╠═════════════════════════════════════════════════════════
╚═════════════■█■════════════╝
*/
main {
display: flex;
flex-direction: row;
margin-bottom: 8%
}
main h1 {
color: #de2f3d;
font-family: DIN;
font-size: 90px;
text-align: start;
}
.inscription {
display: flex;
flex-direction: column;
margin-left: 5%;
}
.carte {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
.card {
display: flex;
background-color: #0f131f;
box-shadow: 12px 17px 51px #151f2b;
border-radius: 12px;
font-family: Aharoni;
justify-content: center;
flex-direction: column;
color: white;
width: 300px;
padding: 1% 5% 3% 5%;
margin-top: -10%;
}
.result {
height: 350px;
}
.info {
position: relative;
margin-bottom: 8%;
}
input {
border: 0;
border-bottom: 2px #fff solid;
background: transparent;
color: white;
align-items: center;
display: block;
padding: 10px 0;
font-size: auto;
outline: none;
width: 300px;
}
label {
position: absolute;
top: 0;
left: 0;
padding: 10px 0;
font-size: 15px;
pointer-events: none;
transition: .5s;
}
input:focus ~ label,
input:valid ~ label {
top: -20px;
font-size: 12px;
}
.envoyer {
padding: 1em 2.5em;
border-radius: 6em;
transition: all .2s;
border: none;
background-color: white;
}
.envoyer:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
cursor: pointer;
}
.deroulement {
display: flex;
justify-content: right;
align-items: right;
flex-direction: column;
width: -moz-available; width: -webkit-fill-available;
margin-right: 5%;
margin-left: 5%;
color: black;
text-align: start;
font-family: sans-serif;
}
.tournoi_texte {
margin-top: -50px;
}
/*
╔══════════════■█■═════════════╗
═══════════════════════════════════════════════════╣ CSS pour le footer ╠════════════════════════════════════════════════════════
╚══════════════■█■═════════════╝
*/
footer {
background-color: black;
color: white;
text-align: center;
padding: 10px;
}