*, *::after, *::before{
    padding: 0;
    margin: 0px;
    box-sizing: border-box;
    outline: none;
}

*:focus{
    box-shadow:
      0 0 0 1.5px transparent,
      0 0 0 3px grey;
}

.nofocus:focus{
    box-shadow: none !important;
    color: black !important;
}

html{
    overflow-x: hidden;
    overflow-y: scroll;
}

.fullpage{
    height: auto;
}

.loadingscreen{
    height: 100vh;
    position: fixed;
    width: 100vw;
    background-color: black;
    z-index: 1000;
}

.loadingscreen section{
    width: 100vw !important;
    height: auto;
    display: block;
}

.imgwrapper{
    width: 100%;
    text-align: center;
    top: 22.5vh;
    position: absolute;
}

.loadwrapper{
    position: absolute;
    top: 55vh;
}

.loadingscreen img{
    max-width: 60vw;
    height: auto;
}

.loadbar{
    width: 50vw;
    height: 4vh;
    border: none;
    overflow: hidden;
    border-radius: 3vh;
    margin-left: 25vw;
    margin-right: 25vw;
    margin-top: 10vh;
}

.loadbar div{
    height: 4vh;
    border-radius: 3vh;
    width: 70vw;
    display: block;
    animation-duration: 3s;
    -moz-animation-duration: 3s;
    -o-animation-duration: 3s;
    -webkit-animation-duration: 3s;
    animation-name: loadinganim;
    -moz-animation-name: loadinganim;
    -o-animation-name: loadinganim;
    -webkit-animation-name: loadinganim;
    animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    background-image: linear-gradient(45deg, #4834d8, #be2edd);
}

@keyframes loadinganim {

    from{
        transform: translateX(-70vw);
    }

    to{
        transform: translateX(50vw);
    }

}

@keyframes vanish{

    from{
        z-index: inherit;
    }

    to{
        top: -800vh;
    }

}

@-moz-keyframes loadinganim {

    from{
        transform: translateX(-70vw);
    }

    to{
        transform: translateX(50vw);
    }

}

@-moz-keyframes vanish{

    from{
        display: inherit;
        z-index: inherit;
    }

    to{
        top: -800vh;
        z-index: -10000000000000000000000000000000000000000000000000 !important;
    }

}

@-webkit-keyframes loadinganim {

    from{
        transform: translateX(-70vw);
    }

    to{
        transform: translateX(50vw);
    }

}

@-webkit-keyframes vanish{

    from{
        display: inherit;
        z-index: inherit;
    }

    to{
        top: -800vh;
        z-index: -10000000000000000000000000000000000000000000000000 !important;
    }

}

@-o-keyframes loadinganim {

    from{
        transform: translateX(-70vw);
    }

    to{
        transform: translateX(50vw);
    }

}

@-o-keyframes vanish{

    from{
        display: inherit;
        z-index: inherit;
    }

    to{
        top: -800vh;
        z-index: -10000000000000000000000000000000000000000000000000 !important;
    }

}

a{
    color: inherit;
    text-decoration: none;
}

ul{
    list-style-type: none;
}

nav{
    width: 100%;
    position: fixed;
    height: 10vh;
    background-color: white;
    box-shadow: lightgray 0px 0px 15px 6px;
    font-family: 'Montserrat', sans-serif;
    z-index: 100;
}

nav ul{
    width: 100%;
    height: 10vh;
    line-height: 10vh;
    display: flex;
    justify-content: center;
    position: fixed;
}

nav ul li{
    display: inline-block;
    text-align: center;
}

.li1{
    width: 25vw;
}

.navlogo{
    margin-top: 1.75vh;
    margin-bottom: 1.75vh;
    height: 6.5vh;
}

.li2{
    width: 10vw;
    font-size: 1.95vh;
    color: #c5c5c5;
    margin-left: 10vw;
}

.li2:hover p{
    color: black;
}

.li3{
    width: 10vw;
    font-size: 1.95vh;
    color: #c5c5c5;
    margin-right: 15vw;
    line-height: 10vh !important;
}

.li3:hover{
    color: black;
}

.li4{
    width: 20vw;
    font-family: 'Montserrat', sans-serif;
}

.loginlink button{
    width: 8.5vw;
    height: 5vh;
    border: none;
    outline: none;
    background: linear-gradient(45deg, #4834d4, #be2edd);
    color: white;
    font-size: 1.85vh;
    text-align: center;
    line-height: 5vh;
    font-weight: normal;
    border-radius: 4vh;
}

.loginlink button:hover{
    box-shadow: 0px 0px 7.5px 1.5px lightgrey;
    transition-duration: .4s;
    -webkit-transition-duration: .4s;
    -o-transition-duration: .4s;
    -moz-transition-duration: .4s;
}

.loginlink button:not(hover){
    box-shadow: none;
    transition-duration: .4s;
    -webkit-transition-duration: .4s;
    -o-transition-duration: .4s;
    -moz-transition-duration: .4s;
}

.profilelink{
    display: none;
}

.li5{
    display: none;
}

.li6{
    display: none;
}

#logindiv{
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: grey;
    opacity: 0.95;
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.loginbox{
    background-color: white;
    opacity: 1;
    width: 50vw;
    height: 75vh;
    border-radius: 4vh;
    display: block;
    text-align: center; 
    justify-content: center;
    font-family: 'Montserrat';
}

.loginbox h1{
   color: grey;
   font-size: 5vh;
   padding-top: 3vh;
   padding-bottom: 3vh;
   display: inline-block;
   padding-left: 10vh;
}

#loginclosebtn{
    color: black;
    font-size: 5vh;
    float: right;
    background-color: white;
    outline: none;
    border: none;
    display: inline-block;
    height: 5vh;
    width: 5vh;
    line-height: 5vh;
    text-align: center;
    margin: 3vh;
}

.loginbox form{
    padding-top: 8vh;
}

.inputsec{
    width: 100%;
    margin-top: 4.5vh;
    margin-bottom: 4.5vh;
}

.inputsec input{
    border: 1px solid black;
    color: grey;
    width: 20vw;
    height: 6vh;
    padding: 2vh;
    text-align: left;
    background-color: none;
    display: inline-block;
}

.inputsec a{
    display: inline-block;
    line-height: 5vh;
    padding-left: 5vw;
}

.btnbox{
    height: 7.5vh;
    background: grey;
    width: 65%;
    text-align: center;
    line-height: 7.5vh;
    border-radius: 4vh;
    margin-top: 15vh;
    margin-left: auto;
    margin-right: auto;
    font-size: 2vh;
    font-weight: 500 !important;
    color: white;
}

.btnbox button, .btnbox a{
    height: 7.5vh;
    border-radius: 4vh;
    outline: none;
    border: none;
    display: inline-block;
}

.btnbox #loginsubmit{
    float: left;
    background-color: transparent;
    width: 40%;
}

.btnbox #newaccbtn{
    background-image: linear-gradient(45deg, #4834d4, #be2edd);
    position: relative;
    right: -2px;
    width: 60%;
}


@media only screen and (max-width: 820px){

    .li1{
        width: 22.5vw;
        margin-left: 3vw;
    }
    
    .navlogo{
        width: auto;
        height: 6vh;
        margin-top: 1.5vh;
        margin-bottom: 1.5vh;
    }
    
    .li2{
        width: 10vw;
        font-size: 1.8vh;
        color: #c5c5c5;
        margin-left: 12vw;
        margin-right: 2vw;
    }
    
    .li2:hover p{
        color: black;
    }
    
    .li3{
        width: 25vw;
        font-size: 1.8vh;
        color: #c5c5c5;
        margin-right: 10vw;
    }
    
    .li3:hover{
        color: black;
    }

    .loginlink button{
        position: relative !important;
        bottom: -3vh !important;
    }
    
    .li4{
        width: 15vw;
        font-family: 'Montserrat', sans-serif;
    }

    .loginlink button{
        width: 8.5vw;
        height: 4.5vh;
        border: none;
        outline: none;
        background: linear-gradient(45deg, #4834d4, #be2edd);
        color: white;
        font-size: 1.85vh;
        text-align: center;
        line-height: 4.5vh;
        font-weight: normal;
        border-radius: 4vh;
        position: relative;
        top: -.5vh;
    }
    
    .loginlink button:hover{
        box-shadow: 0px 0px 4px 1.5px lightgrey;
    }

    .loginbox{
        width: 80%;
        height: 80%;
    }

    .btnbox #newaccbtn{
        top: -1px;
    }

}

@media only screen and (max-width: 1020px) {

    .loginlink button{
       position: relative !important;
       top: 0vh !important;
    }

    .mobileonly{
        display: none;
    }

}

@media only screen and (max-width: 800px){

    nav{
        height: 8vh;
    }

    nav ul{
        height: 8vh;
        font-size: 1vh !important;
    }

    nav ul li{
        line-height: 8vh !important;
    }

    .mobileonly{
        display: block !important;
    }

    nav ul .li3{
        line-height: 8vh !important;
    }

    .navlogo{
        height: 5vh;
        margin-top: 1.5vh;
        margin-bottom: 1.5vh;
    }

}

@media only screen and (max-width: 600px) {

    #navmenu{
        display: none;
        width: 100vw;
        background-color: grey;
        height: auto;
        position: absolute;
        top: 8vh;
        left: 0;
        text-align: center;
    }

    #navmenu li{
        color: white !important;
        font-size: 2vh !important;
        text-align: center;
        height: 1vh;
    }

    #navmenu li p, button{
        position: relative;
        left: -2vw;
    }

    .menuli1 p, button{
        display: inline-block;
    }

    .menuli1 button{
        position: absolute;
        left: 5vw;
        top: 2vh;
    }

    #navmenuopener{
        margin-left: 0 !important;
        background-color: grey;
        border-radius: 50%;
        border: none;
        font-size: 2vh;
        width: 5vh;
        height: 5vh;
        color: black !important;
        line-height: 5vh;
        margin-top: 1.5vh;
        position: absolute !important;
        left: 88vw !important;
    }

    #navmenucloser{
        background-color: black;
        border-radius: 50%;
        border: none;
        font-size: 2vh;
        width: 5vh;
        height: 5vh;
        color: lightgrey !important;
        line-height: 5vh;
        margin-left: 1.5vw;
        text-align: center;
    }

    .navlogo{
        height: 5vh;
        margin-top: 1.5vh;
        margin-bottom: 1.5vh;
        position: relative;
        left: -2vw;
    }

    .li1{
        width: 100vw !important;
        margin: none !important;
        text-align: center;
    }

    .li2{
        display: none ;
    }

    .li3{
        display: none ;
    }

    .li4{
        display: none ;
    }

    .li5{
        display: block ;
    }
    
    .li6{
        display: block ;
    }

    .mobilelogin{
        width: 18vw !important;
    }

}