:root{
    --brown: #4d402a;
    --pure-white: #fff;
    --off-white: #a8a7a7;
    --black: #000;
    --white: #fff;
}

html {
    scroll-behavior: smooth;
}

/* Syling header */
header{
    background: var(--off-white);
    color: var(--white);
}

.nav-links a {
    position: relative;
    transition: all 0.5s;
    text-decoration: none;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 3px;
    background-color: var(--white);
    bottom: -5px; /* Adjust if needed */
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.5s;
}

.nav-links a:hover::after {
    width: 80%;
}
.nav-links a:hover{
    font-weight: 700;
    color: rgb(8, 253, 253);
}

/* Mobile header */
header.mobile i {
    color: #fff;
}

header.mobile i.active {
    color: #000;
    background-color: #fff;
    border-radius: 50%;
    padding: 4px;
}


/* Styling buttons */
.loginbtn {
height: 36px;
 padding: 0 2em;
 background: none;
 border: 2px solid #fff;
 font-size: 15px;
 color: #131313;
 cursor: pointer;
 position: relative;
 overflow: hidden;
 transition: all 0.3s;
 border-radius: 12px;
 background-color: #ecd448;
 font-weight: bolder;
 box-shadow: 0 2px 0 2px #000;
}

.loginbtn:before {
 content: "";
 position: absolute;
 width: 100px;
 height: 120%;
 background-color: #4a1586;
 top: 50%;
 transform: skewX(30deg) translate(-150%, -50%);
 transition: all 0.5s;
}

.loginbtn:hover {
 background-color: #4cc9f0;
 color: #fff;
 box-shadow: 0 2px 0 2px #0d3b66;
}

.loginbtn:hover::before {
 transform: skewX(30deg) translate(150%, -50%);
 transition-delay: 0.1s;
}

.loginbtn:active {
 transform: scale(0.9);
}


.registerbtn {
height: 36px;
    padding: 0 2em;
    background: none;
    border: 2px solid #fff;
    font-size: 15px;
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    border-radius: 12px;
    background-color: #4cc9f0;
    font-weight: bolder;
    box-shadow: 0 2px 0 2px #000;
}

.registerbtn:before {
    content: "";
    position: absolute;
    width: 100px;
    height: 120%;
    background-color: #49480c;
    top: 50%;
    transform: skewX(30deg) translate(-150%, -50%);
    transition: all 0.5s;
}

.registerbtn:hover {
    background-color: #ecd448;
    color: #000;
    box-shadow: 0 2px 0 2px #0d3b66;
}

.registerbtn:hover::before {
    transform: skewX(30deg) translate(150%, -50%);
    transition-delay: 0.1s;
}

.registerbtn:active {
    transform: scale(0.9);
}

/* Animation Stuff */
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fade-in 1s ease-out forwards;
}

/* Responsiveness */
.mobile {
    z-index: 99;
    display: none; /* Hide by default */
}

@media screen and (max-width: 1063px) {
    header.default-header{
        display: none;
    }
    header.mobile {
        display: flex; /* Show on smaller screens */
        position: fixed;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #0d3b66;
        padding: 10px 20px;
        border-radius: 1.5rem;
        justify-content: center;
        align-items: center;
    }

    .mobile div {
        gap: 6vw; /* Adjust gap dynamically */
    }

    .mobile i {
        font-size: 2.5rem; /* Adjust icon size */
    }
}

.page1 .content {
    width: 50%;
}
.page1 .image {
    width: 50%;
}
@media screen and (max-width: 870px) {
    .page1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .page1 .content{
        width: 100%;
    }
    .page1 .image{
        width: 100%;
    }
}
