@import url("buttons.css");

header {
    background-color: #1f1f1f;
    display: flex;
    flex-direction: column;
    padding-left: 15%;
    padding-right: 15%;
    position: fixed;
    z-index: 1000;
    width: 70%;
    box-shadow: 0px 5px 10px rgba(1, 1, 1, 0.233);
}

#headerTop {
    height: 65px;
    display: flex;
}

#headerTopLeft {
    width: 50%;
    display: flex;
    align-items: center;
}

#headerTopRight {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 5%;
}

#headerBottom {
    height: 25px;
    display: flex;
    gap: 14px;
    justify-content: start;

    /* padding-right: calc(70vw - 443px + 24px); 70vw (we take away 30 cuz of margins)  - the width of the title + 24 for the padding we add on the left*/
}

#headerBottom > div {
    padding: 3px;
    padding-left: 10px !important;
    padding-right: 10px !important;
    border-radius: 10px !important;
    position: relative !important;
    top: -3px;
    height: fit-content;
}

#headerBottom > div > a {
    color: rgb(146, 146, 146);
    font-weight: 400;
    font-size: 14px;
    padding: 0px;
    margin: 0px;
}

#headerBottom > div > a:hover {
    cursor: pointer;
    color: rgb(189, 189, 189) !important;
    text-shadow: 0px 5px 20px rgb(1, 1, 1);
}

.headerBottomLinkActive {
    color: rgb(189, 189, 189) !important;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.158); 
}

.hamButton {
    position: fixed;
    border: 0px solid red;
    border-radius: 50px;
    z-index: 2000;
    height: 75px;
    width: 75px;
    bottom: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    display: none;
    background-color: hsla(123, 73%, 46%, 0.603);
    backdrop-filter: blur(10px);
    box-shadow: 0px 5px 10px rgb(1, 1, 1);
}

.hamButton > span {
    height: 6px;
    width: 60%;
    background-color: rgb(204, 204, 204);
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.384); 
    display: block;
    border-radius: 5px;
}

.hamButton:hover {
    background-color: hsl(123, 70%, 43%);
    cursor: pointer;
    box-shadow: 0px 0px 20px rgba(57, 187, 25, 0.384);
    transform: scale(1.1); 
}

.hamMenu {
    position: fixed;
    width: 100%;
    height: calc(100vh - 65px);
    background-color: rgba(22, 22, 22, 0.808);
    backdrop-filter: blur(20px);
    z-index: 1500;
    top: 65px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    transition: 0.1s ease-in-out;
    opacity: 0;
    display: flex;
    visibility: hidden;
}

.hamMenu.active {
    opacity: 1;
    visibility: visible;
}

.hamButton.active {
    z-index: 9500;
}
@media (max-width: 1500px) {
    h1 {
        font-size: 30px;
    }

    #headerTopRight {
        gap: 1%;
    }
    #headerTopRight > div {
        transform: scale(0.8);
    }
    #headerBottom {
        gap: 4px;
    }
    #headerBottom > div {
        transform: scale(0.9);
    }
}

@media (max-width: 1200px) {
    header {
        padding-left: 20px;
        padding-right: 20px;
        width: calc(100% - 40px);
    }
}

@media (max-width: 900px) {
    #headerTopLeft {
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    #headerTopRight {
        display: none;
        visibility: hidden;
        width: 0%;
    }
    body #headerBottom{
        display: none;
        visibility: hidden;
    }
    .hamButton {
        display: flex;
    }
}

@media (max-width: 500px) {
    h1 {
        letter-spacing: 1px;
    }
}

@media (max-width: 450px) {
    h1 {
        letter-spacing: 0px;
    }
}

@media (max-width: 350px) {
    h1 {
        font-size: 20px;
    }
}

