@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700;800&family=Roboto:wght@100;300;400&display=swap");

:root {
    --primary-color: #ff0000;
    --primary-dark: #000000;
}

* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: #fff;
    height: 100vh;
    color: #000;
}

/* Genral */
.container {
    padding: 0 8.4rem;
}

.img-w {
    width: 100%;
    height: auto;
}

/* Nav */
header {
    box-shadow: 0 4px 17px rgb(0 0 0 / .1);
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}


ul {
    display: flex;
    gap: 0.6rem;
    list-style-type: none;
    background-color: #fff0;
    overflow: hidden;
}

li a {
    display: inline-block;
    padding: .3rem 1rem;
    color: #000;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: .7px;
    border-radius: 36px;
    line-height: 2;
    transition: .3s;
    opacity: 0;
    animation: navani .3s ease forwards;
    animation-delay: calc(.15s * var(--navAni));
}

li a.active,
li a:hover {
    color: var(--primary-color);
}

#click {
    display: none;
}

.menu {
    display: none;
}

/* Nav End */

/* Section 1 */
.mode i {
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--primary-color);
    opacity: 0;
    animation: rightSideAni 1.5s ease forwards;
}

.main {
    padding-top: 6rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    row-gap: 2rem;
    column-gap: 6rem;
    align-items: center;
    margin-bottom: -150px;
}

.main h1 {
    color: #000;
    font-size: 2rem;
    font-weight: 900;
    opacity: 0;
    animation: leftSideAni 1s ease forwards;
    animation-delay: 1s;
    text-align: center;
    font-family: "Lexend Deca";
    font-optical-sizing: auto;
}

.description {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 700;
}

.n-columns-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    font-weight: 900;
    padding: 10px;
}
.n-columns-2 a {
    text-align: center;
    text-decoration: none;
    margin-right: 10px;
    border-radius: 10px;
}
.login-button {
    color: #000;
    padding: 13px 10px;
}
.register-button {
    color: #000;
    padding: 13px 10px;
}
.login-button {
    border: 1px solid #000;
    transition: all 0.2s;
    list-style-type: none;
    background-color: #fff0;
    overflow: hidden;
}
.register-button {
    border: 1px solid #000;
    transition: all 0.2s;
    list-style-type: none;
    background-color: #fff0;
    overflow: hidden;
}
.login-button:hover {
    transform: scale(0.98);
    border-radius: 10px;
}
.login-button:hover {
    color: #fff;
    background-color: #000;
    box-shadow: 0 0 20px #000;
    transition: all 0.3s ease-in-out;
    border: 1px solid #000;
}
.register-button:hover {
    transform: scale(0.98);
    border-radius: 10px;
}
.register-button:hover {
    color: #fff;
    background-color: #000;
    box-shadow: 0 0 20px #000;
    transition: all 0.3s ease-in-out;
    border: 1px solid #000;
}

.social {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.social a {
    display: grid;
    place-items: center;
    text-decoration: none;
    color: var(--primary-color);
    border: 1.6px solid var(--primary-color);
    font-size: 1.5rem;
    border-radius: 50%;
    padding: .39rem;
    text-align: center;
    opacity: 0;
    animation: SocialAni 1s ease forwards;
    animation-delay: calc(.2s * var(--socialAni));
}

.social a:hover {
    color: var(--primary-dark);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
    transition: all 0.3s ease-in-out;
}

.images {
    border-radius: 10px;
    width: 80%;
    opacity: 0;
    animation: imageAni 1s ease forwards;
    animation-delay: 0.2s;
    margin: auto;
    overflow: hidden;
}


footer {
    background-color: auto;
    padding-top: 250px;
    text-align: center;
}
footer p {
    padding-top: 10px;
}
.features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 20px;
}
.feature-item {
    text-align: center;
}
.feature-item i {
    font-size: 30px;
    margin-bottom: 10px;
}
.feature-item p {
    font-size: 16px;
    font-weight: 700;
}

/* Section 1 End */

/* Dark Mode */

.dark-mode {
    background-color: var(--primary-dark);
    color: #fff;
}
.mode input {
    display: none;
}
.dark-mode .logo a, .dark-mode ul li a, .dark-mode .main h1 {
    color: #fff;
    text-align: center;
}
.dark-mode .n-columns-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    font-weight: 900;
    padding: 10px;
}
.dark-mode .n-columns-2 a {
    text-align: center;
    text-decoration: none;
    margin-right: 10px;
    border-radius: 10px;
}
.dark-mode .login-button {
    color: #ff0000;
    padding: 13px 10px;
}
.dark-mode .register-button {
    color: #ff0000;
    padding: 13px 10px;
}
.dark-mode .login-button {
    border: 1px solid #ff0000;
    transition: all .2s;
    list-style-type: none;
    background-color: #fff0;
    overflow: hidden;
}
.dark-mode .register-button {
    border: 1px solid #ff0000;
    transition: all .2s;
    list-style-type: none;
    background-color: #fff0;
    overflow: hidden;
}
.dark-mode .login-button:hover {
    transform: scale(.98);
    border-radius: 10px;
}
.dark-mode .login-button:hover {
    color: #fff;
    background-color: #ff0000;
    box-shadow: 0 0 20px #ff0000;
    transition: all .3s ease-in-out;
    border: 1px solid #ff0000;
}
.dark-mode .register-button:hover {
    transform: scale(.98);
    border-radius: 10px;
}
.dark-mode .register-button:hover {
    color: #fff;
    background-color: #ff0000;
    box-shadow: 0 0 20px #ff0000;
    transition: all .3s ease-in-out;
    border: 1px solid #ff0000;
}
.dark-mode ul li a.active, .dark-mode ul li a:hover {
    color: var(--primary-color);
}
.dark-mode .images {
    border-radius: 10px;
    width: 80%;
    opacity: 0;
    animation: imageAni 1s ease forwards;
    animation-delay: 0.2s;
    margin: auto;
    overflow: hidden;
}
.dark-mode header {
    box-shadow: 0 4px 17px rgb(80 80 80 / 31%);
    background: var(--primary-dark);
}
@keyframes leftSideAni {
    0% {
    transform: translateX(-100px);
    opacity: 0;
}
100% {
    transform: translateX(0);
    opacity: 1;
}
}@keyframes navani {
    0% {
    transform: translateY(100px);
    opacity: 0;
}
100% {
    transform: translateY(0);
    opacity: 1;
}
}@keyframes rightSideAni {
    0% {
    transform: translateX(100px);
    opacity: 0;
}
100% {
    transform: translateX(0);
    opacity: 1;
}
}@keyframes topSideAni {
    0% {
    transform: translateY(-100px);
    opacity: 0;
}
100% {
    transform: translateY(0);
    opacity: 1;
}
}@keyframes SocialAni {
    0% {
    transform: translateY(100px);
    opacity: 0;
}
100% {
    transform: translateY(0);
    opacity: 1;
}
}@keyframes imageAni {
    0% {
    opacity: 0;
    transform: scale(0);
}
100% {
    opacity: 1;
    transform: scale(1);
}
}@media screen and (max-width:1024px) {
    .container {
    padding: 0 4.4rem;
}
}@media screen and (max-width:768px) {
    .container {
    padding: 0 1.6rem;
}
}@media screen and (max-width:600px) {
    body {
    height: auto;
}
header {
    height: auto;
}
ul {
    background: #fff;
    width: 100%;
    height: 100vh;
    position: absolute;
    display: flex;
    flex-direction: column;
    text-align: center;
    top: 3.4rem;
    left: -100%;
    z-index: 111111;
}
.menu {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
#click:checked~ul {
    left: 0%;
    transition: all 0.3s ease;
}
.dark-mode .menu {
    color: var(--primary-color);
}
.dark-mode ul {
    background: var(--primary-dark);
}
.mode {
    position: absolute;
    right: 4rem;
}
.images {
    width: 100%;
    margin: auto;
}
.main {
    margin-top: 2rem;
}
}