/* ---------------------------------------------------------------------------------------------------------- */

body, h1, p, button {
    margin: 0;
    padding: 0;
}

.not_affiliate{
	clear: both;
	width: 100%;
	background-color: black;
	bottom: 0;
	min-height: 50px;
}

.not_affiliate p{
	vertical-align: center;
	color: white;
}

.header-image {
    width: 400px;
    height: auto;
    object-fit: contain;
    margin: 10px auto;
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes floating {
    0% { transform: translate(0,  0px); }
    50%  { transform: translate(0, 15px); }
    100%   { transform: translate(0, -0px); }
}
  
.first {
    text-align: center;
    width:100%;
    height:700px;
}
  
.first h1 {
    color: black;
}
  
/* Style du texte en gris */
.first p {
    color: #888;
    line-height: 1.6;
    max-width: 800px;
    margin: 20px auto;
}

/* Style des mots en gras en jaune */
.gray-text strong {
    color: #FCD34D;
  }

.button-container {
    margin-top: 20px;
}
  
.button-container button {
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    width: 120px;
}

.discord-button {
    box-shadow: 2px 2px 4px rgba(12, 12, 12, 0.4);
    display: inline-block;
    padding: 10px 20px;
    background-color: #7289da;
    box-shadow: 0 2px 0 #5a7bf1, inset 0 2px 0 rgba(255, 255, 255, 0.4);
    color: black;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    animation: shake 0.5s;
    cursor: pointer;
}

.discord-button:hover {
    background-color: #8ea2ec;;
}
  
.discord-button i {
    margin-right: 10px;
    font-size: 20px;
}

.discord-button:active {
    transform: translateY(5px);
    transition-duration: .135s;
}

.twitter-button {
    box-shadow: 2px 2px 4px rgba(12, 12, 12, 0.4);
    display: inline-block;
    padding: 10px 20px;
    background-color: #1da1f2;
    box-shadow: 0 2px 0 #0489db, inset 0 2px 0 rgba(255, 255, 255, 0.4);
    color: black;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    animation: shake 0.5s;
    cursor: pointer;
}

.twitter-button:hover {
    background-color: #40adf1;
}
  
.twitter-button i {
    margin-right: 10px;
    font-size: 20px;
}

.twitter-button:active {
    transform: translateY(5px);
    transition-duration: .135s;
}
  

/* RESPONSIVE DESIGN */
@media(max-width: 992px){
    .first p {
        color: #888;
        line-height: 1.3;
        max-width: 600px;
        margin: 20px auto;
    }
    .header-image {
        width: 350px;
        height: auto;
        object-fit: contain;
        margin: 10px auto;
        animation-name: floating;
        animation-duration: 3s;
        animation-iteration-count: infinite;
        animation-timing-function: ease-in-out;
        position: relative;
        z-index: -1;
    }
}

/* ---------------------------------------------------------------------------------------------------------- */

/* Style div second */
.second {
    text-align: center;
    position: relative;
    width:100%;
    height:700px;
}

@media all and (max-width:992px) {
    .second {
        text-align: center;
        position: relative;
        width:100%;
        height:1800px;
    }
}

.second::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

/* Cartes */

/* Début - Mini Jeux */
.cards-container {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin-top: 10vh;
}

.card {
    height: 500px;
    width: 300px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    border: 1px solid rgb(125, 125,125);
    position: relative;
}

.card.skypvp:hover {
    border-radius: 15px;
    border: 3px solid rgb(15, 243, 243);
}

.card.pvp-factions:hover {
    border-radius: 15px;
    border: 3px solid rgb(238, 44, 44);
}

.card.mineandfight:hover {
    border-radius: 15px;
    border: 3px solid rgb(156, 230, 19);
}

.card .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.card .content.fight-content::before {
    content: "FIGHT";
    position: absolute;
    top: 0;
    left: 0;
    font-size: 15em;
    color: rgba(241, 241, 241, 0.371);
    font-weight: bolder;
    line-height: 0.8em;
}
  
.card .content.sky-content::before {
    content: "SKY";
    position: absolute;
    top: 0;
    left: 0;
    font-size: 15em;
    color: rgba(241, 241, 241, 0.371);
    font-weight: bolder;
    line-height: 0.8em;
}

.card .content.pvp-content::before {
    content: "PVP";
    position: absolute;
    top: 0;
    left: 0;
    font-size: 15em;
    color: rgba(241, 241, 241, 0.371);
    font-weight: bolder;
    line-height: 0.8em;
}

.picture.green-border {
    box-shadow: inset 0px 0px 0px 3px rgb(156, 230, 19), inset 0px 0px 0px 6px rgba(0, 0, 0, 0.5);
    padding: 4px;
}
  
.picture.blue-border {
    box-shadow: inset 0px 0px 0px 3px rgb(44, 130, 201), inset 0px 0px 0px 6px rgba(0, 0, 0, 0.5);
    padding: 4px;
}
  
.picture.red-border {
    box-shadow: inset 0px 0px 0px 3px rgb(238, 44, 44), inset 0px 0px 0px 6px rgba(0, 0, 0, 0.5);
    padding: 4px;
}

.card .content .picture{
    width: 150px;
    height: 150px;
    margin: 0 auto;
    position: relative;
    margin-bottom: 40px;
}

.card .content .picture img{
    width: 100%;
    height: 100%;
}

.card .content h1 {
    margin-bottom: 10px;
}

.card .content h1 {
    color: black;
    text-align: center;
    text-decoration: none;
}

.card .content p {
    color: rgb(39, 39, 39);
    text-align: center;
    text-decoration: none;
}

.card .content a {
    color: white;
    text-align: center;
    text-decoration: none;
}

.card .content a {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 500;
    background: linear-gradient(to top, #eeca54, #FCD34D);
    width: 200px;
    padding: 4px 0;
    border-radius: 7px;
    margin-top: 20px;
    box-shadow: 0 0 5px 3px #eeca54;
    transition: transform 0.2s ease-in-out;
}

.card .content a:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 5px 3px #eeca54;
  }
/* Fin - Mini - jeux*/

@media (max-width: 992px) {
    .cards-container {
      flex-direction: column;
      gap: 2rem;
      align-items: center;
    }
  
    .card {
      margin-bottom: 2rem;
    }
}

/* ---------------------------------------------------------------------------------------------------------- */

.third {
    text-align: center;
    position: relative;
    width:100%;
    height:900px;
}

@media (max-width: 992px) {
    .third {
        text-align: center;
        position: relative;
        width:100%;
        height:1600px;
    }
}

/* Début - Informations */
section {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    background: #fff;
    color: #999;
}
  
section a{
    text-decoration: none;
    margin: 1rem 0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 1px;
}
  
section p {
    font-size: 0.9rem;
    margin: 1rem 0;
    line-height: 1.5;
}
  
section {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
}
  
section h3 {
    font-weight: 600;
    color: #333;
    font-size: 1.825rem;
    margin: 1.3rem 0;
}
  
.service a {
    color: #5b7abb;
    display: block;
}
  
.service h4 {
    font-weight: 600;
    color: #eeca54;
    font-size: 1.3rem;
    margin: 1rem 0 0.6rem;
}
  
.services-grid {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}
  
.service {
    background: #fff;
    margin: 20px;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    -webkit-box-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    border: 2px solid #e7e7e7;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
  
.service:hover {
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
}
  
.service i {
    font-size: 3.45rem;
    margin: 1rem 0;
}
  
.service1 i,
.service1 h4,
.service1 .cta {
    color: #eeca54;
}
  
.service1:hover {
    border: 2px solid #eeca54;
}
  
.service2 i,
.service2 h4,
.service2 .cta {
    color: #eeca54;
}
  
.service2:hover {
    border: 2px solid #eeca54;
}
  
.service3 i,
.service3 h4,
.service3 .cta {
    color: #eeca54;
}
  
.service3:hover {
    border: 2px solid #eeca54;
}
  
.service .cta span {
    font-size: 0.6rem;
}
  
.service > * {
    flex: 1 1 100%;
}
  
.service .cta {
    align-self: flex-end;
}
  
@media all and (max-width:900px) {
    .services-grid {
      display: -webkit-box;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      flex-direction: column;
    }
}

.faq {
    max-width: 800px;
    margin: 0 auto;
}

.question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f7f7f7;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
}

.question h2, .reponse p {
    margin: 0;
}

.reponse {
    padding: 2px 10px;
    display: none;
    background-color: #fff;
    border-radius: 5px;
    margin-top: 2px;
}

.question h2 {
    flex: 1;
    text-align: center;
}

.reponse p {
    text-align: justify;
}
