@import url('./0.styles.css');

/* Nav Section */

.nav-list {
    background-color: var(--black);
    width: 50%;
    height: 100vh;
    position: absolute;
    z-index: 100;
    top: 0;
    left: -100vw;
    padding-top: 3rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
    transition: all 300ms ease-in-out;
}

@media screen and (max-height: 205px) {
    .nav-list {
        justify-content: space-evenly;
        gap: 0
    }
}

.nav-list.active {
    left: 0;
}

.list-item {
    width: 100%;
}

.item-link {
    display: inline-block;
    width: 70%;
    padding: 0.2rem;
    color: var(--white);
}

.item-link:hover {
    color: var(--darkgray);
}

.nav-section > div {
    background-color: var(--black);
}

.nav-section {
    position: sticky;
    z-index: 300;
    top: 0;
    left: 0;
}

.nav-section > div {
    width: 100%;
    padding: 0.8rem 1.5rem 0.5rem;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    
}

.nav-section > div > .ham-menu {
    background-color: var(--gray);
    border-radius: 0.1rem;
    border: none;
    height: 1.77rem;
    width: 1.77rem;
    position: relative;
    z-index: 300;
}

.ham {
    height: 7%;
    width: 70%;
    background-color: var(--black);
    border-radius: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 300ms ease-in-out;
}

.ham-menu:hover {
    cursor: pointer;
}

.ham:nth-child(1) {
    top: 25%;
}

.ham:nth-child(3) {
    top: 75%;
}

.nav-section > div > .ham-menu.active > .ham:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.nav-section > div > .ham-menu.active > .ham:nth-child(2) {
    opacity: 0;
}

.nav-section > div > .ham-menu.active > .ham:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Nav Section */

/* Info Section */
.info-section {
    max-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.info-section > .light,
.info-section > .dark,
.info-section > .light > div,
.info-section > .dark > div {
    min-height: 50vh;
    width: 100%;
}

.info-section > .light > div,
.info-section > .dark > div {
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.info-section > .light {
    background-color: var(--black);
}

.info-section > .light > div {
    will-change: transform;
    background: var(--gradient);
    clip-path: polygon(100.5% 0, 100.5% 0, 100.5% 100.5%, 100.5% 100.5%, 50.6% 100.5%, 0% 80%, 0 0); 
}

.info-section > .light > div > p {
    padding-bottom: 0.2rem;
    /* font-size: 1rem; */
}

.info-section > .light > div > span {
    display: block;
    /* font-size: 0.7rem; */
    font-weight: 600;
    color: var(--darkgray);
}

.info-section > .light > div > section > nav > ul {
    padding-top: 0.5rem;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    column-gap: 0.5rem;
}

.info-section > .light > div > section > nav > ul > li > a {
    height: 1.5rem;
    width: 1.5rem;
    padding: 0.3rem;
}

.info-section > .light > div > section > nav > ul > li > a:hover {
    opacity: 0.8;
}

.info-section > .light > div > section > nav > ul > li > a > img {
    display: inline-block;
    height: 100%;
    width: 1rem;
}

.info-section > .light, .info-section > .dark {
    text-align: center;
}

.info-section > .dark {
    background: var(--gradient);
}

.info-section > .dark > div {
    will-change: transform;
    background-color: var(--black);
    clip-path: polygon(49.5% 0, 100% 20%, 100% 100%, 100% 100%, 0 100%, 0% 100%, 0 0);
}

.info-section > .dark > div > img {
    width: 5rem;
    height: 5rem;
    max-inline-size: 100%;
    block-size: auto;
}

/* Info Section */

@media (min-width: 426px) {

    /* Menu */
    .nav-section > div > .ham-menu {
        height: 1rem;
        width: 1rem;
    }

    .nav-section > div {
        padding: 0.3rem 1rem 0.3rem;
    }

}