@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

body {
    --defaultWhiteTextColor : #F2EDED;
    --footerGreyTextColor : #2e2e2e;
    --hoverBlueTextColor : rgba(29, 103, 241, 0.473);

    color: var(--defaultWhiteTextColor);

    background: radial-gradient(
    circle,
    #262626 0%,
    #202020 60%,
    #181818 100%
    );

    font-family: "Roboto Mono", monospace;

    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

header {
    position: fixed;
    width: 100vw;
    height: 6vh;
    top: 0;
    left: 0;
    z-index: 9999;
}

.Header {
    height: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 1vh;
    border-bottom: 0.35vh solid rgba(48, 48, 48, 1);

    backdrop-filter: blur(10px);
    background: linear-gradient(
    90deg,
    rgb(137, 208, 244, 0.7) 0%,
    rgb(70, 135, 255, 0.7) 33%,
    rgb(131, 63, 255, 0.7) 66%,
    rgb(194, 85, 254, 0.7) 99%
    );
}

.navbar-left {
    display: flex;
    align-items: center;

    margin-left: 5%;
}

.raze-logo-header {
    height: 5.6vh;
    max-height: 5.6vh;
}

.navbar-right {
    display: flex;
    align-items: center;

    gap: 3rem;

    white-space: nowrap;
    font-size: 2.15vh;

    margin-right: 5%;
    margin-left: 25%;
}

.raze-logo-header, .search-cat, .favorite-cat, .log-in-cat, .settings-cat {
    display: flex;
    align-items: center;
}

.search-icon, .favorite-icon, .log-in-icon, .settings-icon {
    margin-right: 1vw;

    min-height: 2.15vh;
    height: 2.15vh;
    max-height: 2.15vh;
}

main {
    margin-top: 15vh;
}

.intro {
    display: flex;
    flex-direction: column;

    background: linear-gradient(
    90deg,
    rgb(137, 208, 244) 25%,
    rgb(70, 135, 255) 50%,
    rgb(131, 63, 255) 75%,
    rgb(194, 85, 254) 100%
    );
    
    background-clip: text;
    color: transparent;
}

.homepage-title {
    font-size: 4rem;
    text-align: center;
}

.homepage-description {
    margin-top: 2.5vh;
    font-size: 2rem;
    white-space: inherit;
    text-align: center;
}

.cours-niepce {
    margin-top: 18vh;
}

.cours-for-you {
    text-align: center;
    font-size: 2.5rem;
    padding-bottom: 3vh;
}

.cours {
    margin-top: 5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5vh;
}

.LV-cat, .sciences-cat, .HGE-cat, .autre-cat {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 2vw;
}

.LV-title, .sciences-title, .HGE-title, .autre-title {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 2rem;
    margin-top: 4vh;
    margin-bottom: 2vh;
}

.FR, .EN, .ES, .Math, .PC, .SVT, .SNT, .Histoire, .Géographie, .EMC, .SES {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 1vh;
    width: 22vw;
    aspect-ratio: 22 / 14.4;
    
    border-radius: 1.5vh;
    background: radial-gradient(
        circle,
        #585858 20%,
        #363636 100%
        );

    font-size: 1.65rem;

    text-decoration: none;
    color: var(--defaultWhiteTextColor);

    cursor: pointer;

    transition: 
        transform 0.3s ease, color 0.3s ease;
        border: 0.1vh solid rgba(48, 48, 48, 1);
}

.FR:hover, .EN:hover, .ES:hover, .Math:hover, .PC:hover, .SVT:hover, .SNT:hover,
.Histoire:hover, .Géographie:hover, .EMC:hover, .SES:hover {
    transform: translateY(-1vh);
    border: 0.1vh solid var(--hoverBlueTextColor);
}

footer {
    margin-top: 13vh;
    margin-bottom: auto;
    background-color: #161616;
    width: 100%;

    padding-bottom: 5vh;
}

.border-top {
    border-top: 0.3vh solid rgba(48, 48, 48, 1);
    width: 100%;
}

.contenu-footer {
    margin-top: 10vh;
    margin-left: 15vw;
    margin-right: 15vw;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.raze-logo-footer {
    height: 5.6vh;
    max-height: 5.6vh;
}

.raze-logo-footer, .onecore-services, .legaux , .medias{
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    font-size: 1.1rem;
    gap: 2vh;
}

.my-port, .coming-soon, .faq, .politique-confidentialite, .politique-dmca,
.nous-contacter, .discord, .tiktok, .youtube, .x {
    line-height: 1;

    text-decoration: none;
    font-size: 0.9rem;

    color: var(--footerGreyTextColor);

    transition: 
        transform 0.3s ease, color 0.2s ease;
}

.my-port, .faq, .discord {
    margin-top: 1vh;
}

.my-port:hover, .coming-soon:hover, .faq:hover, .politique-confidentialite:hover, .politique-dmca:hover,
.nous-contacter:hover, .discord:hover, .tiktok:hover, .youtube:hover, .x:hover {
    color: var(--hoverBlueTextColor);
    
    cursor: pointer;
}

.border-mid {
    margin-top: 5vh;
    margin-left: 25%;

    border-top: 0.3vh solid rgba(48, 48, 48, 1);
    width: 50%;
}

.raze-rights {
    display: flex;
    justify-content: center;

    margin-top: 3.5vh;

    font-size: 1rem;
    line-height: 1;
}