@import "reset.css";

@font-face {
    font-family: "Poetsen One Thin";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/ginto/ABCGintoNord-Thin.woff2") format('woff2');
}

@font-face {
    font-family: "Poetsen One Medium";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/ginto/ABCGintoNord-Medium.woff2") format('woff2');
}

@font-face {
    font-family: "Poetsen One Medium Ita";
    font-style: normal;
    font-weight: 450;
    font-display: swap;
    src: url("../fonts/ginto/ABCGintoNord-MediumIta.woff2") format('woff2');
}

@font-face {
    font-family: "Poetsen One Bold";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/ginto/ABCGintoNord-Bold.woff2") format('woff2');
}


@font-face {
    font-family: "Poetsen One Bold Ita";
    font-style: normal;
    font-weight: 550;
    font-display: swap;
    src: url("../fonts/ginto/ABCGintoNord-BoldIta.woff2") format('woff2');
}

body {
    background-color: #000;
    color: #fff;
    font-family: "Poetsen One Medium Ita", sans-serif;
    font-weight: 400;
    font-style: normal;
}

hr {
    width: 40%;
}

header,
section {
    width: 1000px;
    max-width: 1000px;
}

header {
    margin: 25px auto 0 auto;
    padding: 0 50px
}

header #logo {
    height: 75px;
    border-radius: 50%;
}

header #logo-sup {
    height: 40px;
}

header nav {
    display: flex;
    flex-direction: row;
}

header nav .tab {
    display: flex;
    align-items: center;
}

header nav ul {
    display: flex;
    flex-direction: row;
}

header nav ul li {
    padding: 0 10px;
}

header nav ul li a {
    color: #fff;
}

header nav ul li a.active {
    border-bottom: 1px solid #fff;
}

span.yellow {
    color: rgb(255, 203, 54);
}


span.yellow.wrap {
    text-wrap: nowrap;
}

h1 {
    overflow-wrap: anywhere;
    padding: 15px 10px;
    margin-bottom: 25px;
    font-size: 32px;
    font-family: "Poetsen One Bold Ita";
}

h2 {
    margin-bottom: 25px;
    padding: 15px 10px;
    font-size: 32px;
    font-family: "Poetsen One Bold Ita";
}

h3 {
    padding: 15px 10px;
    font-size: 22px;
}

p {
    padding: 15px 10px;
    font-size: 16px;
    line-height: 1.2;
}

section {
    margin: 70px auto 50px auto;
}

section#presentation {
    border: 3px solid rgb(255, 203, 54);
    border-radius: 10px;
    padding: 15px;
}

section#presentation .ctn-details {
    display: flex;
    justify-content: space-between;
}

section#presentation .ctn-details .details {
    flex: 1 1 0px;
    display: flex;
    justify-content: start;
    flex-direction: column;
    align-items: center;
}

section#presentation .ctn-details .details p {
    text-align: justify;
}

section#presentation .ctn-details .details:first-child {
    padding-right: 15px;
    text-align: left;
}

section#presentation .ctn-details .details:last-child {
    padding-left: 15px;
    text-align: right;
}


section#presentation .ctn-details .details img {
    width: 100%;
    border-radius: 5px;
/*    border: 2px solid #fff;*/
}

section#presentation .ctn-details .details p.btn {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#discord-link {
    background-color: #5865F2;
    color: #fff;
    border-radius: 28px;
    margin-top: 0;
    margin-bottom: 20px;
    margin-right: 20px;
    padding: 15px 30px;
    font-weight: 500;
    transition: box-shadow .3s,transform .3s,background-color .3s;
}

#discord-link img {
    height: 10px;
}

#discord-link span {
    text-align: center;
    text-transform: capitalize;
    margin-left: 0;
    font-size: 18px;
    font-weight: 700;
    transition: opacity .2s;
    
}

#discord-link:hover {
    background-color: #fff;
    color: #5865F2;
}

#youtube-link {
    background-color: #FF0000;
    color: #fff;
    border-radius: 28px;
    margin-top: 0;
    margin-bottom: 20px;
    margin-right: 20px;
    padding: 15px 30px;
    font-weight: 500;
    transition: box-shadow .3s,transform .3s,background-color .3s;
}

#youtube-link span {
    text-align: center;
    text-transform: capitalize;
    margin-left: 0;
    font-size: 18px;
    font-weight: 700;
    transition: opacity .2s;
    
}

#youtube-link:hover {
    color: #FF0000;
    background-color: #fff;
}


.btn-link {
    background-color: #fff;
    color: #000;
    border-radius: 28px;
    border: 2px solid #fff;
    margin-top: 0;
    padding: 15px 30px ;
    font-weight: 500;
    transition: box-shadow .3s,transform .3s,background-color .3s;
}

.btn i {
    margin-right: 5px;
}

.btn-link:hover {
    background: #000;
    color: #fff;
}

.link-condition {
    color: #fff;
    text-decoration: underline;
}

#classement-soldat {
    max-width: 100%;
    width: 100%;
    margin: 10px 0px;
}

#classement-soldat h1 {
    width: 1000px;
    margin: 0 auto 25px auto;
    
}

@media screen and (max-width: 1001px) {
    section,
    header {
        padding: 0;
        max-width: calc(100% - 100px);
        width: calc(100% - 100px);
    }
}

@media screen and (max-width: 801px) {
    #classement-soldat h1 {
        width: auto;
    }
    main {
        padding: 10px;
    }
    
    section#presentation .ctn-details {
        flex-direction: column;
    }
    
    section#presentation .ctn-details .details img {
        width: 100%;
        margin-top: 25px;
    }
    
    section#presentation .ctn-details:nth-child(2),
    section#presentation .ctn-details:nth-child(4) {
        flex-direction: column-reverse;
    }
    
    header nav {
        flex-direction: column;
    }
    
    header nav .tab {
        justify-content: center;
    }
    
    section#presentation .ctn-details .details:first-child {
        padding-right: 0;
        text-align: center;
    }
    
    section#presentation .ctn-details .details:last-child {
        padding-left: 0;
        text-align: center;
    }
}

@media screen and (max-width: 500px) {
    section,
    header {
        max-width: calc(100% - 50px);
        width: calc(100% - 50px);
        padding: 0;
    }
}
