@font-face {
    font-family: 'MetalFont';
    src: url('../policeMetal.otf') format('truetype');
}

/* General Styles */
body {
    margin: 15px;
    color: rgb(238, 237, 231);
    font-family: 'MetalFont', sans-serif;
    transition: filter ease 1s;
}

html,
a,
button {
    color: rgb(238, 237, 231);
    font-family: 'MetalFont', sans-serif;
}

.body * {
    filter: grayscale(100%);
    transition: filter ease 1s;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Headings */
h1 {
    font-size: 3em;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 0;
}

h3 {
    font-size: 1.8em;
    margin-top: 0;
}

.soustitre {
    margin: 30px;
}

/* Text Elements */
p,
a,
button {
    font-size: 1.2em;
}

p:not(#home),
ul:not(#home)>li {
    font-size: 1.5em;
    font-weight: 400;
    font-style: normal;
    letter-spacing: -1px;
    font-family: serif;
}

/* Background Image */
#fond {
    background: center/cover url('../img/fond.webp');
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
    width: 100%;
    height: 100%;
}

/* Header */
header {
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}

header #logo {
    width: 60px;
    margin: 10px 20px;
    transition: ease 0.2s;
}

header #logo:hover {
    transform: scale(1.1);
}

/* Menu */
#menu {
    font-family: 'MetalFont', sans-serif !important;
    list-style: none;
    padding: 0;
}

#menu li {
    display: inline;
    padding: 10px;
    font-size: 1.3em;
}

#menu li a,
#menu li p {
    color: var(--color-text);
    text-decoration: none;
}

#menu li a:hover {
    text-decoration: underline;
}

/* Main Home */
main#home {
    text-align: center;
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

/* Home Link */
#homeLink {
    border-radius: 5px;
    margin-top: 50px;
}

#homeLink>a {
    border: solid 2px rgb(238, 237, 231);
    padding: 15px;
    border-radius: 5px;
}

/* Button */
.bouton {
    font-family: 'MetalFont', sans-serif !important;
    background-color: transparent;
    border: solid 2px rgb(238, 237, 231);
    padding: 8px;
    border-radius: 5px;
}

.bouton:hover {
    background-color: rgb(238, 237, 231);
    color: black;
    cursor: pointer;
}

/* Groups */
#groupes {
    text-align: center;
}

#groupes>.groupe {
    padding-bottom: 15px;
    width: 400px;
    height: 365px;
    display: inline-block;
    margin: 15px;
    transition: transform 0.2s ease;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
}

#groupes>.groupe:hover {
    transform: scale(1.05);
}

#groupes>.groupe>a>img {
    width: 400px;
    height: 260px;
    border-radius: 15px;
}

#groupes>.groupe>a>h2,
#groupes>.groupe>a>p {
    margin: 0;
}

/* Contact Form */
#contact-form {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

#contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

#contact-form label {
    display: block;
    margin-bottom: 5px;
}

#contact-form input:not([type="checkbox"]),
#contact-form textarea,
#contact-form select {
    width: 96%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact-form select {
    width: 100%;
}

#contact-form button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #c43c3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#contact-form button:hover {
    background-color: #555;
}

/* Inline Display */
.inline {
    display: inline !important;
}
