/* TopBar CSS */

#TopBar {
    position: fixed;
    top: 0px;
    width: 100%;
    height: 45px;

    display: flex;
    justify-content: space-between;
    z-index: 10;

    background-color: red;
    border-bottom: 7.5px rgb(255, 236, 59) solid;
}

#HomeButton {
    width: fit-content;
    height: fit-content;

    display: block;

    /*border: 0px;
    margin-left: 5px;*/
    border: 5px rgb(255, 236, 59) solid;
    border-left: 0px;
    border-top: 0px;/**/
}

#TopBar > div {
    font-size: 22px;
    word-spacing: 5px;
}

.TopBarButton {
    color: rgb(255, 236, 59);
    font-size: 22px;
    transition-duration: .2s;
}

.TopBarButton:hover {
    color: rgb(255, 250, 206);
    text-shadow:0px 0px 10px #000000;
}

.TopBarButton > div {
    display: inline-table;
}

.TopBarButton > div > div {
    position: relative;
    width: 0%;
    top: -2px;
    left: 50%;
    height: 2px;
    background-color: white;
    transition-duration: .2s;
}

.SelectedTopBarButton {
    color: white;
    /*text-decoration: underline;*/
}

.SelectedTopBarButton:hover {
    color: white;
}

.SelectedTopBarButton > div > div {
    left: 0%;
    width: 100%;
}

.HamburgerMenu {
    position: fixed;
    right: 15px;
    top: 4px;
    width: 37.5px;
    height: 37.5px;
    font-size: 40px;
    font-weight: bolder;
    background-color: red;
}

@supports (-webkit-touch-callout: none) {
    /* CSS specific to iOS devices */ 
    .HamburgerMenu {
        padding-top: 0px;
        padding-bottom: 6px;
    }
}

/* Pull Out Menu */

#PullOutOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    z-index: 11;
    background-color: rgb(0, 0, 0, .25);
}

#ClickOff {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
}

#PullOutMenu {
    position: fixed;
    right: 0px;
    top: 0px;
    width: 200px;
    padding: 20px;
    padding-top: 45spx;
    background-color: red;
    text-align: cesnter;
    line-height: 35px;
    -moz-box-shadow:0px 0px 20px #000000;
    -webkit-box-shadow:0px 0px 20px #000000;
    box-shadow:0px 0px 20px #000000;
    z-index: 12;
}

/* Socials */

#Socials {
    position: fixed;
    bottom: 1vw;
    left: 1vw;
    width: 150px;
    height: 50px;
    background-color: red;
    border-radius: 8px;
    border: 2px rgb(255, 236, 59) solid;
    font-size: 35px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    transition-duration: .25s;
    opacity: 1;
}

#Socials:hover {
    opacity: 1;
}

#Socials > a {
    transition-duration: 1s;
}

#Socials > div {
    transition-duration: 2s;
    position: absolute;
    font-size: 25px;
    color: white;
    opacity: 0;
    z-index: -1;
}

.SocialsPromo {
    opacity: 1 !important;
}

.SocialsPromo > a {
    opacity: 0;
}

.SocialsPromo > div {
    opacity: 1 !important;
}

/* Home Page */

#Home {
    height: 41.05vw;
    font-size: 75px;

    align-items: center;
    justify-content: center;
    text-shadow: 5px 5px 10px black;

    background-image: url("../Images/BaseTruck_Dark.webp");
    background-size: contain;
    background-position: bottom;
}

/* Mobile Modifications */

@media (hover: hover) {
    #Socials {
        opacity: .5;
    }
}

@media screen and (max-width: 975px) {
    #TopBar > svg {
        display: none;
    }
}

@media screen and (max-width: 890px) {
    #TopBar > div {
        display: none;
    }
    #TopBar > button {
        display: inherit !important;
    }
    #Socials {
        display: none;
    }
}

@media screen and (max-width: 750px) {
    #Home {
        height: 450px;
        font-size: 57.5px;

        background-size: cover;
    }
}

@media screen and (max-width: 550px) {
    #Home {
        background-image: url("../Images/BaseTruck_DarkBlurred.webp");
        font-size: 40px;
    }
    #Home > div {
        display: inherit !important;
    }
    #Home > img {
        display: inherit !important;
    }
}