/**************************************************************************
CSS for the home page of the website
**************************************************************************/

@import url("contact.css");
@import url("review.css");
@import url("about.css");
@import url("menu.css");
@import url("create.css");

* {

    margin: 0;
    padding: 0;

}

*:focus {

    outline: none;

}

html {

    scroll-behavior: smooth;
    font-size: 22px;
    overflow: hidden;
    overscroll-behavior: none;

}

body {
    overflow: hidden;
    /* height: 100dvh;
    width: 100vw; */
    position: relative;
}

::-webkit-scrollbar {
    width: 8px;
}

#bgVideo{

    position: fixed;
    right: 0;
    top: 0;
    min-width: 100%;
    min-height: 100%;
    transform: translateX(calc((100% - 100vw) / 2));
    z-index: 0;
}

.bgColor{

    position: fixed;
    right: 0;
    top: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: 1;
    background-color: rgba(45, 54, 156, 0.5);
}

.pageContentContainer {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    z-index: 1;
    overflow-y: scroll;
    /* padding-top: clamp(100px, 20vw, 250px); */
    -webkit-mask: linear-gradient(180deg, transparent, white 35px);
    mask: linear-gradient(180deg, transparent, white 35px);
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    overflow-x: hidden;
    z-index: 3;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.pageContentContainer::-webkit-scrollbar {
    display: none;
}

#logo{

    width: clamp(280px, 80vw, 455px);
    filter: drop-shadow(20px 14px 3px rgba(0, 0, 0, 0.2));

}

.navBar{

    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 10;
    position: sticky;
    top: 0;
    /* margin-bottom: 10px; */

}

.navBarInner{

    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 12px 12px 12px 24px;
    width: 500px;
    background-color: rgba(45, 54, 156, 0.2);
    /* padding-bottom: 20px; */
    border-radius: 45px 0px 0px 45px;
    border-bottom: 1px solid rgba(45, 54, 156, 0.8);
    border-left: 1px solid rgba(45, 54, 156, 0.8);
    border-top: 1px solid rgba(45, 54, 156, 0.8);
    z-index: 12;
}

.navBarInner h2, .menuButton, .callButton{

    color: white;
    background-color: rgba(45, 54, 156, 1);
    font-size: 0.62em;
    font-family: "zenon", sans-serif;
    font-weight: 900;
    font-style: normal;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.4s ease-out;

}

.navBarInner h2{

    width: 114px;
    box-shadow: 0.1rem 0.1rem 0.3rem rgb(26, 33, 108),
            -0.05rem -0.05rem 0.25rem rgb(68, 79, 205);
    
    border: 2px solid rgba(255, 255, 255, 0);
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.navButtonPip{

    color: white;
    font-size: 1.6em;
    margin-right: 6px;

}

.socialContactButtons{

    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    padding: 5px 12px 6px 10px;
    top: 0;
    z-index: 11;
    background-color: rgba(45, 54, 156, 0.3);
    border-right: 1px solid rgba(45, 54, 156, 0.8);
    border-bottom: 2px solid rgba(45, 54, 156, 1);
    border-radius: 0px 0px 25px 0px;


}

.contactPip, .logoutPip, .addItemsPip{

    color: white;
    font-size: 1.4em;
    cursor: pointer;
    padding: 10px;
    border: 2px solid rgba(45, 54, 156, 0.8);
    background-color: rgba(45, 54, 156, 0.8);
    border-radius: 50%;
    transition: all 0.3s ease-in-out;

}

.socialContactButtons a:not(:first-child){

    margin-left: 16px;

}

.menuButton, .callButton{

    border: 3px solid white;

}

.navBar h2:not(.navBar h2:last-of-type){

    /* margin-right: clamp(100px, 10vw, 200px); */

}

.hide{

    display: none !important;

}

#burger{
    display: none;
    z-index: 21;
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: rgba(45, 54, 156, 1);
    padding: 13px;
    border-radius: 50%;
}

.burg {

    display: flex;
    flex-direction: column;
    width: 40px;
    cursor: pointer;
    transform: scaleX(-1);

}

.burg span {

    background: #fff;
    border-radius: 10px;
    height: 4px;
    margin: 4px 0;
    transition: .3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    /* filter: drop-shadow(-12px 10px 3px rgba(0, 0, 0, 0.3)); */

}

.burg span:nth-of-type(1) {

    width: 50%;

}

.burg span:nth-of-type(2) {

    width: 100%;

}

.burg span:nth-of-type(3) {
    width: 75%;
}

.burg input[type="checkbox"] {

    display: none;

}

.burg input[type="checkbox"]:checked~span:nth-of-type(1) {
    transform-origin: bottom;
    transform: rotatez(45deg) translate(5px, 0px)
}

.burg input[type="checkbox"]:checked~span:nth-of-type(2) {

    transform-origin: top;
    transform: rotatez(-45deg)
}

.burg input[type="checkbox"]:checked~span:nth-of-type(3) {

    transform-origin: bottom;
    width: 50%;
    transform: translate(18px, -6px) rotatez(45deg);

}

.menuButton, .callButton{

    /* margin-top: 15px; */
    font-size: 0.8em;
    position: relative;
    z-index: 2;
    /* filter: drop-shadow(20px 14px 3px rgba(0, 0, 0, 0.3)); */
    width: max-content;
    padding: 8px 22px;

}

.homePageContent{

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 100px;

}


.navClover{

    background-color: rgb(43 50 139);
    -webkit-mask: url(../images/clover.svg) no-repeat center;
    mask: url(../images/clover.svg) no-repeat center;
    mask-size: contain;
    width: 90vw;
    height: 90vw;
    position: absolute;
    display: none;

}

.menuButtonContainer, .callButtonContainer{

    position: relative;
    filter: drop-shadow(20px 14px 3px rgba(0, 0, 0, 0.3));

}

.menuClover, .callClover{

    width: 100px;
    height: 100px;
    position: absolute;
    top: -33px;
    right: -33px;
    cursor: pointer;
    

}

.callClover{

    left: -33px;

}


.menuClover path, .callClover path{

    fill: white;
    transition: all 0.4s ease-out;
    /* transform: translate(8.34px, 874.34px); */
    stroke: rgba(45, 54, 156, 0);
    stroke-width: 50px;
    

}

.introText{

    color: white;
    font-size: 1em;
    font-family: "zenon", sans-serif;
    font-weight: 900;
    font-style: normal;
    cursor: default;
    width: clamp(300px, 70vw, 600px);
    text-align: center;
    filter: drop-shadow(20px 14px 3px rgba(0, 0, 0, 0.3));
    padding: 10px 0px;

}

.copyright{

    text-align: center;
    position: fixed;
    bottom: 0;
    z-index: 13;
    color: white;
    background-color: rgba(45, 54, 156, 0.7);
    padding: 4px 10px;
    right: 0;
    font-size: 0.7em;
    cursor: default;
    letter-spacing: 1px;
    border-radius: 6px 0px 0px 0px;
    border-top: 2px solid rgba(71, 82, 199, 0.6);
    border-left: 2px solid rgb(71, 82, 199, 0.6);

}

.textBox{

    color: white;
    background-color: rgba(45, 54, 156, 0.9);
    padding: 50px 100px;

}

.homeButtonContainer{

    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 375px;
    margin-top: calc(30px + 1dvh);

}

.homeButtonContainer a{

    text-decoration: none;

}

#logout{

    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 25;


}

@media screen /* and (max-width: 1750px) */ and (min-width: 1600px) and (min-height: 875px){

    #logo{

        width: clamp(320px, 40vw, 700px);

    }

}

@media screen and (max-width: 1599px) and (min-width: 1000px) and (min-height: 715px){

    #logo {

        width: 550px;

    }

}

@media screen and (max-width: 999px) and (min-width: 500px){

    #logo {

        width: clamp(400px, 65vw, 500px);

    }

}

/* @media screen and (max-height: 775px) and (min-width: 768px){

    #logo{

        margin-top: 30px;

    }

} */

@media screen and (max-width: 1000px) {

    .homeButtonContainer{

        margin-top: calc(10px + 1dvh);

    }

}

@media screen and (max-width: 811px) {

    .homeButtonContainer {

        margin-top: 1dvh;

    }

}

@media screen and (max-width: 768px) {

    .navBar{

        transition: all 0.5s ease-in-out;
        height: 100dvh;
        width: 100vw;
        background-color: rgba(45, 54, 156, 1);
        margin-top: 0;
        flex-direction: column;
        justify-content: center;
        transform: translateX(100%);
        position: fixed;
    }

    .navBarInner{

        flex-direction: column;
        background-color: rgba(45, 54, 156, 0);
        width: max-content;
        border: 0px;

    }

    .navClover{
     
        display: block;

    }

    .socialContactButtons{

        opacity: 0;
        z-index: -1;
        border: 0px;
        transition: 0.5s ease-in-out;
        background-color: rgba(255, 255, 255, 0);
        top: 15px;
        left: 15px;

    }

    .contactPip, .logoutPip{

        box-shadow: 0.1rem 0.1rem 0.3rem rgb(26, 33, 108),
            -0.05rem -0.05rem 0.25rem rgb(68, 79, 205);

    }

    .navBar h2/* :not(:first-child) */:not(:last-child){

        /* margin-top: 5dvh; */
        margin-bottom: 5dvh;

    }

    .navBar h2:not(.navBar h2:last-of-type) {

        margin-right: 0;

    }

    .open{

        transform: translateX(0);
        opacity: 1;
        z-index: 11;

    }

    .openSocial{

        transform: translateX(0);
        opacity: 1;
        z-index: 11;

    }

    #burger{

        display: grid;

    }

    .homePageContent{

        margin-bottom: 50px;

    }

    .copyright{
        font-size: 0.6em;   
    }

    .callButtonContainer{

        display: none;

    }

    .homeButtonContainer{

        width: max-content;

    }

    .hide {

        display: flex !important;

    }


}

@media screen and (max-width: 1025px) {

    html {

        font-size: 20px;

    }

    .menuClover, .callClover{

        width: 85px;
        height: 85px;
        top: -26px;
        right: -20px;

    }

    .menuButtonContainer, .callButtonContainer{

        margin-top: 15px;

    }

}

@media screen and (max-width: 500px) {

    .introText{

        width: 90vw;

    }

}

@media screen and (max-width: 426px) {

    html {

        font-size: 17px;

    }

    .socialContactButtons{

        bottom: 50px;
        top: auto;
        flex-direction: row;
        left: 50%;
        transform: translateX(-50%);

    }

    .socialContactButtons a:not(:first-child) {

        margin-top: 0px;
        margin-left: 16px;

    }

    #burger {

        top: 6px;
        right: 6px;
        width: 35px;
        padding: 12px;

    }

    .burg span{

        height: 3px;

    }

    .burg input[type="checkbox"]:checked~span:nth-of-type(3) {

        transform: translate(16px, -6px) rotatez(45deg);

    }

}

@media (hover : hover) {

    .menuButtonContainer:hover .menuButton, .callButtonContainer:hover .callButton{

        background-color: white;
        color: rgba(45, 54, 156, 1);
        border-color: rgba(45, 54, 156, 1);

    }

    .menuButtonContainer:hover .menuClover path, .callButtonContainer:hover .callClover path{

        fill: rgba(45, 54, 156, 1);
        /* stroke: white; */

    }

    .navBarInner h2:hover{

        border: 2px solid rgba(255, 255, 255, 1);

    }

    .contactPip:hover, .logoutPip:hover, .addItemsPip:hover {
        border: 2px solid rgb(200, 203, 238);
        background-color: rgb(64, 75, 197);

    }

}
