/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;600;700&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --custom-first-color: hsl(225, 95%, 56%);
    --custom-black-color: hsl(225, 12%, 12%);
    --custom-white-color: hsl(0, 0%, 100%);
    --custom-text-color: hsl(225, 8%, 65%);
    --custom-body-color: hsl(225, 100%, 99%);
    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --custom-body-font: "Montserrat Alternates", sans-serif;
    --custom-biggest-font-size: 2.5rem;
    --custom-tiny-font-size: 0.625rem;
    /*========== Font weight ==========*/
    --custom-font-regular: 400;
    --custom-font-semi-bold: 600;
    --custom-font-bold: 700;
    /*========== z index ==========*/
    --custom-z-tooltip: 10;
    --custom-z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
    :root {
        --custom-biggest-font-size: 3.5rem;
    }
}

.custom-nav {
    display: none;
}

/* Show the navigation only on small screens */
@media screen and (max-width: 468px) { /* Adjust breakpoint as needed */
    .custom-nav {
        display: block;
    }
}

/*=============== BASE ===============*/
/* * {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
} */

/* 
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  background-color: var(--body-color);
  color: var(--text-color);
} */

.custom-ul-reset {
    list-style: none;
    margin-bottom: 0 !important;
}

a {
    text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.custom-container {
    max-width: 1120px;
    margin-inline: 1.5rem;
}

/* Remove the property of 100vh, when inserting its content */
.custom-section {
    height: 100vh;
    padding-block: 2.5rem;
}

    .custom-section h1 {
        font-size: var(--custom-biggest-font-size);
        color: var(--custom-black-color);
        text-align: center;
    }

/*=============== NAVBAR ===============*/
.custom-nav {
    position: fixed;
    bottom: 0rem;
    left: 0;
    right: 0;
    background-color: var(--custom-white-color);
    width: 100%;
    margin-inline: auto;
    box-shadow: 0 2px 16px hsla(228, 95%, 4%, .1);
    padding: 1rem 1.75rem;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    border-top-left-radius: 4rem;
    border-top-right-radius: 4rem;
    z-index: var(--z-fixed);
}

.custom-nav__list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 1px !important;
}

    .custom-nav__list ul {
        margin-bottom: 0 !important;
    }

.custom-nav__link {
    display: flex;
    flex-direction: column; /* Ensures icon and text are stacked vertically */
    align-items: center;
    text-decoration: none;
    color: var(--custom-black-color);
    font-size: 2.2rem !important;
    transition: color 0.4s;
    
}
.custom-nav__text {
    font-size: 1.5rem !important; /* Adjust the font size as needed */
    margin-top: 0.25rem;
    color: var(--text-color);
    text-align: center;
    font-weight:500;

}
.custom-nav__link:hover .custom-nav__text {
    color: var(--white-color);
}
    .custom-nav__link:hover {
        color: var(--custom-black-color);
    }

/*=============== EXPAND LIST ===============*/
.custom-nav__expand {
    border: none;
    outline: none;
    width: 40px;
    height: 40px;
    background-color: var(--custom-first-color);
    border-radius: 50%;
    cursor: pointer;
}

.custom-nav__expand-icon {
    display: inline-block;
    color: var(--custom-white-color);
    font-size: 2.2rem !important;
    transition: transform .4s;
}

.custom-nav__expand-list {
    position: absolute;
    top: -4.5rem;
    left: 0;
    right: 0;
    background-color: var(--custom-black-color);
    box-shadow: 0 2px 16px hsla(228, 95%, 4%, .1);
    width: max-content;
    margin-inline: auto;
    padding: .5rem 1.5rem;
    border-radius: 4rem;
    display: flex;
    column-gap: 2rem;
    z-index: -1;
    overflow: hidden;
    transform: translateY(5rem) scale(.1);
    transition: transform .5s cubic-bezier(.5, 1.8, .4, .8);
}

    .custom-nav__expand-list li {
        transform: translateY(-3rem);
        transition: transform .4s;
    }

        .custom-nav__expand-list li:nth-child(1) {
            transition-delay: .2s;
        }

        .custom-nav__expand-list li:nth-child(2) {
            transition-delay: .3s;
        }

        .custom-nav__expand-list li:nth-child(3) {
            transition-delay: .4s;
        }

.custom-nav__expand-link {
    color: var(--custom-text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color .4s;
}

    .custom-nav__expand-link i {
        font-size: 2.2rem !important;
    }

    .custom-nav__expand-link span {
        font-size: var(--custom-tiny-font-size);
        font-weight: var(--custom-font-semi-bold);
    }

    .custom-nav__expand-link:hover {
        color: var(--custom-white-color);
    }

/* Show list */
.custom-show-list,
.custom-show-list li {
    transform: translateY(0);
}

/* Rotate icon */
.custom-rotate-icon {
    transform: rotate(135deg);
}

/* Active link */
.custom-active-link {
    color: var(--custom-black-color);
}

/*=============== BREAKPOINTS ===============*/
/* For medium devices */
/* For medium devices */
@media screen and (min-width: 450px) {
    .custom-nav {
        width: 350px;
    }
}

/* For large devices */
@media screen and (min-width: 1150px) {
    .custom-container {
        margin-inline: auto;
    }
}
