SAE_web/styles/main.css

173 lines
2.6 KiB
CSS

@font-face {
font-family: "RobotoFlex";
src: url(../assets/fonts/RobotoFlex.ttf);
font-display: swap;
}
* {
outline: none;
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-image: url("../assets/images/background.jpg");
/* backdrop-filter: blur(5px); */
background-size: cover;
overflow-x: hidden;
font-family: "RobotoFlex";
margin: 0;
}
body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
z-index: -1;
}
.login-container {
background: #232323;
align-items: center;
opacity: 1;
padding: 3rem;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
width: 100%;
text-align: center;
max-width: fit-content;
margin-inline: auto;
margin-block: 5em;
}
.login-container img {
width: 146px;
margin-bottom: 1rem;
}
.login-container h2 {
font-weight: 700;
color: white;
}
.login-container p {
margin-bottom: 1.5rem;
color: #8e8c8c;
size: 10px;
}
h2.login-title {
font-family: "RobotoFlex";
}
p.login-subtitle {
font-family: "RobotoFlex";
padding-left: 0;
}
.form-group {
margin-bottom: 1rem;
text-align: left;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
color: #b1aeae;
}
.form-group input {
width: 100%;
padding: 0.5rem;
border: 1px solid #121216;
border-radius: 5px;
background-color: #34353a;
color: #fffe;
transition: all 0.3s ease;
}
.form-group input:focus,
.form-group input:not(:placeholder-shown) {
border-color: #007bff;
}
.remember-me {
display: flex;
align-items: center;
}
.remember-me input {
margin-right: 0.5rem;
}
.no-account {
font-size: 0.8rem;
margin-top: 0.25rem;
}
.forgot-password {
text-align: right;
font-size: 0.8rem;
}
.forgot-password a {
color: #007bff;
text-decoration: none;
}
.forgot-password a:hover {
text-decoration: underline;
}
.submit-button {
width: 100%;
padding: 0.75rem;
border: none;
background-color: #f4b400;
color: white;
font-size: 1rem;
font-weight: 700;
cursor: pointer;
border-radius: 5px;
transition: all 0.3s ease;
margin-top: 25px;
}
button:hover {
background-color: #f4a400;
}
.sign-up {
margin-top: 1rem;
color: #666;
}
.sign-up a {
color: #007bff;
text-decoration: none;
}
.sign-up a:hover {
text-decoration: underline;
}
/* Styles généraux*/
h1 {
color: white;
font-size: 2rem;
margin-top: 1rem;
padding-left: 2rem;
text-transform: uppercase;
font-family: "RobotoFlex";
}
p.text {
color: white;
font-size: 1rem;
padding-left: 2rem;
font-family: "RobotoFlex";
}