@font-face {
    font-family: "Bachelorette";
    src: url("../font/Bachelorette.otf");
}

@font-face {
    font-family: "Wrestlemania";
    src: url("../font/Wrestlemania.ttf");
}

@font-face {
    font-family: "Comic";
    src: url('../font/comic.ttf');
}

@font-face {
    font-family: "Comic";
    font-style: italic;
    src: url('../font/comici.ttf');
}

@font-face {
    font-family: "Comic";
    font-weight: bold;
    src: url('../font/comicbd.ttf');
}

@font-face {
    font-family: "Comic";
    font-style: italic;
    font-weight: bold;
    src: url('../font/comicz.ttf');
}

body {
    margin: auto;
    max-width: 95%;
    background: linear-gradient(rgb(241,192,237), rgb(52, 49, 245));
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: Comic Sans MS, Comic;
    font-size: 18px;
}

.pres {
    margin-top: 10px;
    margin-bottom: 4px;
    font-size: 50px;
    font-family: Bachelorette;
    font-style: italic;
    font-weight: bold;
    text-align: center;
    color: rgb(52, 49, 245);
}

.Wrestlemania {
    margin-top: 0;
    font-size: 80px;
    text-align: center;
    font-family: Wrestlemania;
}

span {
    letter-spacing: 5px;
}

.loading span {
    animation-name: blink;
    animation-duration: 1.8s;
    animation-iteration-count: infinite;
}

.loading span:nth-child(2) {
    animation-delay: .4s;
}

.loading span:nth-child(3) {
    animation-delay: .8s;
}

@keyframes blink {
    0% {
        opacity: .2;
    }
    80% {
        opacity: 1;
    }

    100% {
        opacity: .2;
    }
}

main {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

section {
    background-color: rgba(237, 238, 241, 0.637);
    border-radius: 30px;
    margin-top: 20px;
    padding: 15px;
    max-width: 1825px;
}

p {
    margin-top: 0px;
    margin-bottom: 40px;
}

#activites {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

figure {
    min-width: 380px;
    border: solid rgb(52, 49, 245) 3px;
    border-radius: 25px;
    margin: 20px 0 25px 0;
    width: 30%;
    box-shadow: 5px 5px 10px rgb(52, 49, 245);
}

.activiteimg {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 25px 25px 0 0;
}

a {
    width: 100%;
    text-decoration: none;
}

figure:hover {
    border: solid rgb(249, 248, 250) 3px;
    box-shadow: 5px 5px 10px rgb(249, 248, 250);
    transform: scale(1.1);
    transition: 0.5s;
}

figcaption {
    text-align: center;
    color: black;
    margin-top: 0px;
    margin-left: 10px;
    margin-bottom: 10px;
    max-height: 30px;
    width: 100%;
}

/* modal */
.modal {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 77, 77, 0.95);
    transition: all .4s;
}

.modal:target {
    visibility: visible;
    opacity: 1;
}

.modal_content {
    border-radius: 4px;
    position: relative;
    width: 500px;
    max-width: 90%;
    background: rgb(209, 203, 203);
    padding: 1.5em 2em;
}

.close {
    position: absolute;
    width: 20px;
    top: 10px;
    right: 10px;
    color: red;
    text-decoration: none;
}

.padlock {
    display: flex;
    justify-content: center;
}

.text {
    text-align: center;
}

form {
    display: flex;
    justify-content: center;
}

.form1 {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: solid black 2px;
    width: 300px;
    height: 25px;
    background-color: rgb(209, 203, 203);
    outline: none;
}

.form2{
    width: 150px;
    height: 40px;
    margin-left: 50%;
    transform: translateX(-50%);
    margin-top: 30px;
    background-color: #4767F5;
    border: solid #4767F5 2px;
    border-radius: 10px;
}

