@import url("https://fonts.googleapis.com/css?family=Notable&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&display=swap');

body {
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    font-family: 'Amatic SC', cursive;
    /* background-color: rgba(198,187,173,0.2); */
}

#bg-overlay {
    position: absolute;
    width: 100%;
    height: 600px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.9);
    z-index: 2; 
}
section {
    z-index: 1;
    height: 600px;
    width: 100%;
}
section img {
    height: 100%;
    width: 100%;
    margin: 0;
}

h1 {
    text-transform: Uppercase;
    margin-bottom: 0.5em;
    font: 40px/1 'Notable', sans-serif;
    font-weight: 900;
    font-size: 5rem;
    color: #E4E5E6;
    text-align: center;
    margin: 20px 0 0;
}

@supports (-webkit-text-stroke: 1px black) {
    h1 {
    -webkit-text-stroke: 1px black;
    -webkit-text-fill-color: #1b8dff;
      /* -webkit-text-fill-color: rgb(14, 126, 255); */
    }
}
h2 {
    margin: 0;
    font: 40px/1 'Notable', sans-serif;
    margin: 1rem;
    /* animation: colorchange 2s infinite; */
}
h2.bonus {
    text-shadow:
    3px  3px 0 #000,
    -1px -1px 0 #000,  
    1px -1px 0 #000,
    -1px  1px 0 #000,
    1px  1px 0 #000;
}

@supports (-webkit-text-stroke: 1px black) {
    h2, h3 {
    -webkit-text-stroke: 1px black;
    -webkit-text-fill-color: #FC1946;
      /* -webkit-text-fill-color: rgb(14, 126, 255); */
    }
}
h3 {
    font: 35px/1 'Notable', sans-serif;
}

h4 {
    font: 20px/1 'Notable', sans-serif;
}
.planning p {
    font: 21px/1 'Notable', sans-serif;
    margin: 0;
}
img {
    width: 100%;
}

.retour {
	color: #ffffff;
	display: flex;
	align-items: center;
	text-decoration: none;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px 0;
}
.retour p {
    font-weight: 700;
    padding: 0 0 16px 10px;
    font-size: 1.3rem;
}
.retour img {
	width: 4%;
	margin: 0 0 23px 30px;
}

.second-partie {
    display: flex;
    flex-direction: row;
    background-image: url("../img/projets/duel/trait.png");
    background-size: contain;
    width: 100%;
}

.planning {
    text-align: center;
    padding: 27px 0 57px;
    width: 100%;
    /* background-image: url("../img/projets/duel/pattern.png"); */
    background-size: 36%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trait {
    width: 100%;
    height: 10px;
    background-color: #000000;
    /* margin-top: -2px; */
}
.planning li {
    text-align: justify;
    font-size: 2rem;
    font-weight: 900;
}
.planning ul {
    margin-top: 53px;
    /* padding-left: 40%; */
}

.explication {
    align-items: flex-end;
    font-weight: 700;
    letter-spacing: 1.8px;
    line-height: 35px;
    font-size: 1.3rem;
    text-shadow: #111111;
    margin: 50px 0;
    text-align: start;
    padding: 0 4%;
    color: #111111;
    display: flex;
}
.texte {
    width: 155%;
    padding: 52px 60px 0 100px;
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: 1.8px;
    font-family: 'Amatic SC', cursive;
    color: white;
}
/* .illustration {
    display: flex;
    align-items: center;
} */

.details {
    display: flex;
    letter-spacing: 1.4px;
    background-color: #000010;
    color: #e3e3e3;
    font-size: 1.5rem;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    padding: 46px 0;
}
.site {
    width: 80%;
    margin: 70px;
}

.login-box {
    padding: 0 50px;
}
.login-box .btn a {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    color: #FC1946;
    font-size: 25px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    transition: .5s;
    letter-spacing: 4px
    font-family: 'Mina', sans-serif;
}

.login-box a:hover {
    background: #FC1946;
    color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 5px #FC1946,
                0 0 25px #FC1946,
                0 0 50px #FC1946,
                0 0 100px #FC1946;
}

.login-box a span {
    position: absolute;
    display: block;
}

.login-box a span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FC1946);
    animation: btn-anim1 1s linear infinite;
}

@keyframes btn-anim1 {
    0% {
    left: -100%;
    }
    50%,100% {
    left: 100%;
    }
}

.login-box a span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #FC1946);
    animation: btn-anim2 1s linear infinite;
    animation-delay: .25s
}

@keyframes btn-anim2 {
    0% {
    top: -100%;
    }
    50%,100% {
    top: 100%;
    }
}

.login-box a span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #FC1946);
    animation: btn-anim3 1s linear infinite;
    animation-delay: .5s
}

@keyframes btn-anim3 {
    0% {
    right: -100%;
    }
    50%,100% {
    right: 100%;
    }
}

.login-box a span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #FC1946);
    animation: btn-anim4 1s linear infinite;
    animation-delay: .75s
}

@keyframes btn-anim4 {
    0% {
    bottom: -100%;
    }
    50%,100% {
    bottom: 100%;
    }
}

footer {
    color: #1b8dff;
    margin-top: -50px;
    font-size: 1.3rem;
}
footer p {
    margin-bottom: 0;
    font-weight: 700;
}

/* --------------------------------- */
/* ----------MEDIA QUERIES---------- */
/* --------------------------------- */

@media only screen and (max-width: 1150px) {

}

@media only screen and (min-width: 320px) and (max-width: 750px) {
    h1 {
        font-size: 3rem;
        padding-top: 40px;
    }
    section {
        height: 710px;
        width: auto;
    }
    #bg-overlay {
        height: 710px;
    }
    .retour img {
        width: 9%;
    }
    .texte {
        padding: 0 0 0 50px;
    }
    .illustration img {
        display: none;
    }
    .second-partie {
        flex-direction: column-reverse;
    }
    .site {
        margin: 0;
        margin-bottom: 30px;
        width: 100%;
    }
}