/* @tailwind base;
@tailwind components;
@tailwind utilities; */

/*Responsive (Fireship video)*/
:root {
    font-size: 15px;
    font-family: "Open Sans";
    --text-primary: #b6b6b6;
    --text-secondary: #ececec;
    --bg-primary: rgba(35, 35, 46, 0.867);
    --bg-secondary: #141418;
}

.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}
.nav-item:last-child {
    margin-left: auto;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 5rem;
    color: white;
    text-decoration: none;
}

.link-text {
    margin-top: 16px;
    margin-left: 0rem;
}

.nav-link i {
    min-width: 2rem;
    margin: 1rem;
}

main {
    /* margin-top: 5rem; */
}

/* body::-webkit-scrollbar {
    width: 0.25rem;
} */

/* body::-webkit-scrollbar-track {
    background: #1e1e24;
} */

/* body::-webkit-scrollbar-thumb {
    background: #6649b8;
} */

/*Footer bis*/
* {
    box-sizing: border-box;
}

.contenu-footer {
    max-width: 940px;
    margin: 0 auto;
}

.contenu-footer > div {
    background-color: rgba(0, 0, 0, 0.229);
    padding: 1em;
    color: #ffffff;
}

.contenu-footer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 5px;
    grid-auto-rows: minmax(auto, auto);
}

.one {
    grid-column: 1;
    grid-row: 1;
    max-width: 50vw;
}

/* .two {
    grid-column: 2;
    grid-row: 1;
    max-width: 34vw;
} */

.three {
    grid-column: 2;
    grid-row: 1;
    max-width: 50vw;
    overflow: auto;
}

.copyright {
    color: white;
    grid-column: 2;
    grid-row: 2;
    /* margin-left: -30vw; */
}

/*Footer*/
body {
    background-color: black;
    color: #ffffff;
    min-height: 100vh;
    margin: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow-x: hidden;
}

footer {
    min-height: 50px;
    max-width: 100vw;
    text-align: center;
    padding: 3px;
    background-color: transparent;
    color: white;
}
a {
    color: #ffffff;
}

/*Menu*/
* {
    margin: 0px;
    padding: 0px;
    font-family: PT Sans, sans-serif;
}

/* h1 {
    z-index: 2;
} */

.navbar {
    width: 100vw;
    height: 5rem;
    margin: 0px auto 40px auto;
    background-color: var(--bg-primary);
    background: linear-gradient(
        to top,
        rgba(35, 35, 46, 0.1),
        var(--bg-primary)
    );
    position: sticky;
    top: 0px;
    z-index: 3;
}

nav ul {
    list-style-type: none;
}

nav li {
    float: left;
    width: calc(100% / 6);
    /*100% divisé par le nombre d'éléments de menu*/
    text-align: center;
    /*Centre le texte dans les éléments de menu*/
}

/*Evite que le menu n'ait une hauteur nulle*/
nav ul::after {
    content: "";
    display: table;
    clear: both;
}

nav a {
    display: block;
    /*Toute la surface sera cliquable*/
    text-decoration: none;
    color: black;
    border-bottom: 2px solid transparent;
    /*Evite le décalage des éléments sous le menu à cause de la bordure en :hover*/
    padding: 10px 0px;
    /*Agrandit le menu et espace la bordure du texte*/
    color: #ffffff;
}

nav a:hover {
    color: orange;
    /* border-bottom: 2px solid gold; */
}
