/* Styles généraux */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --main-accent-color: #5EB030;
    --main-accent-color-alpha: rgba(94, 176, 48, 0.4);
    --menu-toggle-size: 30px
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Poppins, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: black;
    color: white;
}

h2 {
    font-size: 4rem;
    font-weight: 800;
    margin: 1rem 2rem;
    z-index: 3;
}

h2 span {
    color: var(--main-accent-color);
}

h3 {
    font-size: 2rem;
    margin: 0;
    padding: 0;
    color: var(--main-accent-color);
}

p {
    padding: 0;
    margin: 0;

    /* Font related */
    font-weight: 400;
}

a {
    color: white;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
}

/* Scroll bar */
::-webkit-scrollbar {
    display: none;
    width: 0.25rem;
    border-color: black;
}

::-webkit-scrollbar-track {
    background: white;
}

::-webkit-scrollbar-thumb {
    background: black;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--main-accent-color);
}
/* Fin scroll bar */

/* HEADER */
@keyframes HideHeader {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0%);
    }    
}

header {
    position: fixed;
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    color: #fff;
    height: 85px;
    width: 100vw;
    z-index: 20;
    background: linear-gradient(rgba(0, 0, 0, 1), transparent);
    backdrop-filter: blur(0px);
    transform: translateY(-100%);
    animation: 1s cubic-bezier(.55,.13,.18,.93) 0s HideHeader forwards;
    transition: 0.75s ease;
}
    
.logo {
    display: flex;
    align-items: center;
    line-height: 2.5rem;
}

.logo img {
    height: 100%;
    aspect-ratio: 1 / 1;
    margin-right: 1rem;
}

.logo p {
    font-size: 3rem;
    font-weight: bold;
    color: white;
}

.logo p::before{
    color: var(--main-accent-color);
    content: "FROG";
}
/* Fin Style Généraux */

/* Menu Burger */
/* Boutton du menu burger */
.menu-toggle {
    position: relative;
    z-index: 20;
    top: 50%;
    right: 35px;
    height: var(--menu-toggle-size);
    width: var(--menu-toggle-size);
    padding: 0;
    border: none;
    outline: none;
    cursor: pointer;
    background: transparent;
    transform: translate(50%, -50%);
    box-shadow: none;
}

.menu-toggle:hover {
    box-shadow: none;
}

.line {
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    transition: transform 0.3s ease-out,
    opacity 0.1s ease-out
}

.l1 {
    transform: translateY(calc(var(--menu-toggle-size)/3));
}

.l3 {
    transform: translateY(calc((var(--menu-toggle-size)/3)*-1));
}

.menu-toggle.active .l1 {
    transform: translate(0) rotate(-135deg);
}

.menu-toggle.active .l2 {
    transform: scaleX(0);
}

.menu-toggle.active .l3 {
    transform: translate(0) rotate(135deg);
}

.bar {
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
}
/* Fin boutton menu burger */

/* Nav du menu burger */
.mobile-menu {
    position: fixed;
    z-index: 10;
    width: fit-content;
    height: 100vh;
    top: 0;
    right: 0;
    align-content: center;
    padding: 3rem;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5.9px);
    border-left: 1px solid var(--main-accent-color);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(.25,0,.36,1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu li {
    list-style: none;
    padding-bottom: 2px; /*the space for the gradient*/
    background: linear-gradient(var(--main-accent-color), var(--main-accent-color)) center bottom; /*OR bottom right OR bottom left*/
    background-size: 0% 2px; /*width:0% height:2px*/
    background-repeat: no-repeat; /* Don't repeat !!*/
    transition: all 0.45s;
    margin: 5dvh 0;
}

.mobile-menu li:hover {
    background-size: 100% 2px; /*width:100% height:2px*/
}

.mobile-menu a{
    color: white;
    font-size: 1.25rem;
    font-weight: 400;
    display: block;
    text-decoration: none;
    text-align: center;
}
/* Fin du menu burger */

/* FIN DU HEADER */

/* Main */
main {
    background-color: black;
}
/* Fin Main */

/* Landing */
.landing {
    z-index: 1;
    height: 100dvh;
    width: 100dvw;
    overflow: hidden;
    position: relative; 
    display: flex;
    align-items: end;
    justify-content: space-between;
    border-bottom: 1px solid var(--main-accent-color);
    background-color: #000;
}

@keyframes ZoomOut {
    0% {
        transform: scale(1.3);
        opacity: 0%;
    }
    100% {
        transform: scale(1);
        opacity: 100%;
    }
}

.landingimagecontainer {
    z-index: -1;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100dvh;
    width: 100dvw;
}

.landing img,
.landing video {
    height: 100dvh;
    width: auto;
    user-select: none;
}

.landing img {
    animation: ZoomOut 3s cubic-bezier(.45,.36,.17,.97) 0s forwards;
}

@keyframes SlidingLeftToRight {
    20% {
        transform: translateX(-140%);
    }
    100% {
        transform: translateX(0%);
    }
}

.landing h1 {
    position: absolute;
    bottom: 5dvw;
    left: 5dvw;
    transform: translateX(-140%);
    font-size: 8dvw;
    line-height: 8vw;
    margin: 0;
    animation: SlidingLeftToRight 3s cubic-bezier(.45,.36,.17,.97) 0.75s forwards;
    z-index: 1;
    color: var(--main-accent-color);
    text-transform: uppercase;
    hyphens: auto;
    text-shadow: 0 0 20px rgba(0, 0, 0, 50%);
}

.landing h1 span {
    color: white;
    text-transform: none;
}

.VideoOnLoad {
	height: 100dvh;
	width: 100%;
}

* { box-sizing: border-box; }

#bound-one {
	background: #d0d8db;
}
.scroll-bound {
	height: 500vh;
	
	.content {
		height: 100vh;
		width: 100%;
		position: sticky;
		top:0;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	
	video {
		width: 100%;
	}
}

.content {
	height: 100vh;
	width: 100%;
	position: sticky;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/* Check Down */
.check-down {
    padding: 10rem;
    z-index: 2;
    position: absolute;
    right: calc(50dvw - 9rem - 40px);
    animation: check-downing 2s ease-out infinite;
    font-size: 2.5rem !important;
    background-color: rgba(0, 0, 0, 0);
    border-color: rgba(0, 0, 0, 0);
    color: white;
    text-shadow: black 0 0 10px;
    box-shadow: none;
}

@keyframes check-downing {
    50%{
        transform: translateY(0px);
    }
    60%{
        transform: translateY(2rem);
    }
    70%{
        transform: translateY(1rem);
    }
    80%{
        transform: translateY(2rem);
    }
    90%{
        transform: translateY(0.5rem);
    }
    100%{
        transform: translateY(0);
    }
}

.check-down:hover {
    box-shadow: none;
}
/* Fin Check Down */

/* Fin Landing */


/* En voir plus */
.Know-More {
    width: 10rem;
    margin: 1.5rem auto;
    text-align: center;
    font-weight: 600;
    display: flex;
    justify-content: center;
    padding-bottom: 2px; /*the space for the gradient*/
    background: linear-gradient(var(--main-accent-color), var(--main-accent-color)) center bottom; /*OR bottom right OR bottom left*/
    background-size: 0% 2px; /*width:0% height:2px*/
    background-repeat: no-repeat; /* Don't repeat !!*/
    transition: all 0.45s;
}

.Know-More:hover {
    background-size: 100% 2px; /*width:100% height:2px*/
}
/* Fin de En voir plus */

/* Boutons */

.btn, button {
    /* Layout related */
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    width: fit-content;

    /* Style related */
    color: #000;
    border-radius: 0.5rem;
    border: none;
    background: var(--main-accent-color);
    box-shadow: 2px 4px 8px 0 #00000025;

    /* Font related */
    font-family: Poppins, sans-serif;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;

    /* Animation related */
    transition: all ease-in 300ms;
}

.btn:hover, button:hover {
    /* Style related */
    box-shadow: 2px 4px 8px 0 #FFFFFF50 inset;

    /* Animation related */
    transition: all ease-in 300ms;
}

/* Fin des boutons */

/* fin du Main */

/* FOOTER */
footer {
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 5rem;
    border-top: 1px solid var(--main-accent-color);
    text-align: center;
}

footer ul {
    list-style: none;
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

footer li {
    display: inline;
    white-space: nowrap;
}

footer a {
    color: white;
    text-decoration: none;
    hyphens: auto;
}
/*FIN DU FOOTER*/

/* Media Queries pour la réactivité */
/* Styles pour les écrans de largeur <= var(--media-querry-width) */
@media (max-width: 768px) {
    .landing h1 {
        font-size: 5rem;
        line-height: 4.5rem;
        bottom: 3rem;
    }

    .logo{
        width: auto;
        width: 15rem;
    }

    .logo p {
        font-size: 2rem;
        line-height: 2rem;
    }

    footer {
        padding: 2rem 5rem;
    }
}

@media (min-aspect-ratio: 16/9) {
    .landing img,
    .landing video {
        height: auto;
        width: 100dvw;
    }
}

@media (max-width: 425px) {
    :root {
        --menu-toggle-size: 35px;
    }

    .logo {
        width: 10rem;
    }

    .logo p {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }

    .line {
        height: 2px;
    }

    .landing h1 {
        font-size: 20dvw;
        line-height: 18dvw;
        letter-spacing: -1dvw;
    }

    h2 {
        font-size: 2.5rem;
    }

    .landing {
        flex-direction: column;
        margin: 0;
        align-items: center;
        justify-content: end;
    }

    .check-down {
        padding: 6rem;
        bottom: calc(0px - 3rem) !important;
        right: calc(50dvw - 5rem - 40px);
    }

    .mobile-menu {
        width: 100dvw;
    }

    footer ul {
        flex-direction: column;
        justify-content: center;
    }
}