@import url(colors.css);
@import url(hero.css);
@import url(testscatalog.css);
@import url(devices.css);
@import url(testspage.css);

/* DEFAULTS START */
#preloader {
    width: 100vw;
    height: 100vh;
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    color: red;
}
* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}
body {
    height: 100vh;
    width: 100vw;
    background-color: var(--bgdark);
    color: var(--textdark);
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem ;
}
body::-webkit-scrollbar {
    display: none;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
a {
    text-decoration: none;
}
li {
    list-style: none;
}
#top {
    position: relative;
    top: -120px;
    left: 0px;
    width: 100vw;
    height: 0px;
    background-color: var(--debug);
}

/* DEFAULTS END */

/* NAVBAR START */

#navbar {
    position: sticky;
    top: 0px;
    left: 0px;
    height: 70px;
    width: 100vw;
    background-color: var(--accentlight);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 10;
}
.logo {
    position: absolute;
    top: 0px;
    left: 50vw;
    width: fit-content;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(-50%);
}
.home {
    margin-right: 1rem;
}
.home:hover {
    scale: 1.2;
} 
.search {
    margin-right: 1rem;
}
.search {
    background-color: var(--bglight);
    border-radius: 8px;
    border: 2px solid var(--accentdark);
    padding: .3rem;
    display: flex;
    align-items: center;
}
.search input {
    width: 100%;
}
.search button {
    margin-left: auto;
}
.contact {
    margin-left: 1rem;
    margin-right: auto;
    padding: .3rem;
    border-radius: 8px;
    border: 2px solid var(--accentdark);
    background-color: var(--bglight);
}
.contact:hover {
    scale: 1.15;
}
.search:hover {
    scale: 1.1;
}
.search input, .search button {
    border: none;
    background-color: transparent;
    padding: auto .5rem;
    outline: none;
}
.contact a {
    color: var(--accentdark);
    font-weight: bold;
}
.menu {
    top: -30px;
    left: 20px;
    position: fixed;
}
.menu img:hover {
    scale: 1.1;
}
.menubar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    background-color: var(--accentdulllighter);
    position: fixed;
    top: -200px;
    left: 0px;
    width: 100vw;
    z-index: 9;
}
.menubar li {
    margin: 1rem;
}
.search1 {
    background-color: var(--bglight);
    border-radius: 8px;
    border: 2px solid var(--accentdark);
    padding: .3rem;
    display: flex;
    align-items: center;
}
.search1 input {
    width: 100%;
}
.search1 button {
    margin-left: auto;
}
.contact1 {
    padding: .3rem;
    border-radius: 8px;
    border: 2px solid var(--accentdark);
    background-color: var(--bglight);
}
.contact1:hover {
    scale: 1.15;
}
.search1:hover {
    scale: 1.1;
}
.search1 input, .search1 button {
    border: none;
    background-color: transparent;
    padding: auto .5rem;
    outline: none;
}
.contact1 a {
    color: var(--accentdark);
    font-weight: bold;
}
.smolnav {
    position: sticky;
    top: 70px;
    left: 0px;
    height: 50px;
    background-color: var(--accentdark);
    width: 100vw;
    white-space: no-wrap;
    overflow-x: auto;
    scrollbar-color: var(--accentlight) var(--accentdull);
    z-index: 10;
}
.smolnav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    width: 100vw;  
}
.smolnav li {
    padding: 0 2rem;
}
.smolnav a {
    color: var(--accentlight);
    cursor: pointer;
    text-wrap: nowrap;
}
.smolnav a:hover {
    color: var(--accentlighter);
}

/* NAVBAR END */

/* USLI START */
.mainBAUX {
    position: fixed;
    display: flex;
    left: 100vw;
    flex-direction: column;
    height: calc(100vh - 120px);
    justify-content: space-evenly;
    z-index: 8;
    top: 120px;
}
.mainBOX1, .mainBOX2 {
    height: 50%;
}
.usli1bar, .usli2bar{
    width: 100vw;
    z-index: 99;
    transition: all 0.3s ease-in-out;
    height: 100%;

    display: flex;
    justify-content: left;
    align-items: flex-start;
    padding: 1rem 5rem 1rem 1rem;
    text-align: left;
    text-wrap: wrap;
}
.usli1bar {
    background-color: var(--accentlight);  
}
.usli2bar {
    background-color: var(--accentdark);
}
.usli1bar.active, .usli2bar.active{
    transform: translate(-100vw, 0px);
    transition: all 0.3s ease-in-out;
}
.usli1textbox, .usli2textbox {
    display: block;
    height: 100%;
    overflow-y: scroll;
}
.usli1textbox::-webkit-scrollbar, .usli2textbox::-webkit-scrollbar {
    display: none;
}
.usli1textbox {
    color: var(--accentdark);
}
.usli2textbox {
    color: var(--accentlight);
}
.usli1textbox p {
    color: var(--accentspecial1dark);
}
.usli2textbox p {
    color: var(--accentspecial2);
}
.BAUX {
    position: fixed;
    right: -50px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
    z-index: 8;
    justify-content: space-evenly;
}
.BOX1, .BOX2 {
    height: 50%;
    display: flex;
}
.BOX1 {
    align-items: flex-end;
}
.BOX2 {
    align-items: flex-start;
}
.usli1, .usli2 {
    height: 120px;
    width: 100px;
    border-radius: 15px 0px 0px 15px;
    display: flex;
    justify-content: center;
    transition: all 0.2s ease-in;
    padding-left: 45px;
}
.usli1 {
    background-color: var(--accentlight);
}
.usli2 {
    background-color: var(--accentdark);
}
.usli1:hover, .usli2:hover {
    transform: translate(-20px, 0px);
    transition: all 0.2s ease-in;
} 
.usli1.active {
    border: 2px solid var(--accentdark);
    transition: all 0.2s ease-in;
}
.usli2.active {
    border: 2px solid var(--accentlight);
    transition: all 0.2s ease-in;
}
.usli1 p {
    color: var(--accentdark);
}
.usli2 p {
    color: var(--accentlight);
}
.usli1 p, .usli2 p {
    transform: rotate(-90deg);
    font-size: 1.5rem;
    font-weight: bold;
}

/* USLI END */

/* FOOTER START */

footer {
    background-color: var(--accentlight);
    z-index: 7;
}
.upper {
    display: flex;
    height: 100px;
    width: 100vw;
    flex-direction: row;
    flex-wrap: nowrap;
}
.upper a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-grow: 1;
    height: 100%;
    color: var(--textlight);
    font-size: 2.2rem;
}
.upper a:hover {
    scale: 1.005;
    transition: all 0.5s ease-out;
}
.left {
    background-color: rgb(36, 36, 36);
}
.left:hover {
    background-color: rgb(61, 61, 61);
}
.center {
    background-color: rgb(75, 75, 75);
}
.center:hover {
    background-color: rgb(94, 94, 94);
}
.right {
    background-color: rgb(134, 134, 134);
}
.right:hover {
    background-color: rgb(155, 155, 155);
}
.logofooter {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-shrink: 0;
}
.sigmabox {
    width: 100px;
    height: 100px;
}
.sigma {
    background-image: url(/images/aze-sigma.png);
    width: 100px;
    height: 100px;
    background-attachment: inherit;
    background-size: contain;
    background-repeat: no-repeat;
}
.sigma:hover {
    background-image: url(/images/mogged.png);
}
.middle {
    display: flex;
    text-align: left;
    justify-content: space-evenly;
    align-items: flex-start;
    height: fit-content;
    padding: 40px 1rem;
    flex-wrap: wrap;
    gap: 40px;
}
.links1, .links2, .links3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    height: 100%;
    flex-shrink: 0;
}
.socials {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    height: 100%;
    flex-shrink: 0;
}
.socials ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
.socials li {
    margin: 0px 5px;
}
.socialsicon img {
    transition: all 0.2s ease-out;
}
.socialsicon img:hover {
    scale: 1.2;
    transition: all 0.3s ease-out;
}
.findmeon {
    margin-bottom: 30px;
}
.bottom {
    display: block;
    justify-content: center;
    align-items: center;
    padding-bottom: 35px;
    margin: 0px 3rem;
}
.links1 a, .links2 a, .links3 a{
    color: var(--accentspecial1dark);
}
.links1 a:hover, .links2 a:hover, .links3 a:hover{
    color: var(--accentspecial2dark);
    text-decoration: underline;
}

/* FOOTER END */

.icon1.in-view {
    animation-name: bounce;
    animation-duration: .3s;
    animation-timing-function: ease-out;
    animation-direction: alternate;
    animation-iteration-count: 2;
    animation-delay: .2s;
}
.icon2.in-view {
    animation-name: bounce;
    animation-duration: .3s;
    animation-timing-function: ease-out;
    animation-direction: alternate;
    animation-iteration-count: 2;
    animation-delay: .25s;
}
.icon3.in-view {
    animation-name: bounce;
    animation-duration: .3s;
    animation-timing-function: ease-out;
    animation-direction: alternate;
    animation-iteration-count: 2;
    animation-delay: .3s;
}
.icon4.in-view {
    animation-name: bounce;
    animation-duration: .3s;
    animation-timing-function: ease-out;
    animation-direction: alternate;
    animation-iteration-count: 2;
    animation-delay: .35s;
}
@keyframes bounce {
    0% {

    }
    100% {
        scale: 1.15;
        transform: translate(0px, -30px);
    }
}



/* TEST PAGE SPEEDRUN START */

:root {
    --vpad: 3rem;
    --hpad: 4rem;
    --contentvpad:2rem;
}
.section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: var(--vpad) 0;
    max-height: fit-content;
}
.content {
    width: 100%;
    max-width: 1300px;

}
.row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.test {
    background-color: var(--accentdulldarker);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: fit-content;
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    padding: 4rem;
}
.testcards {
    transition: all 0.3s ease-out;
}
.testcard {
    background-color: var(--accentlight);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    height: fit-content;
    width: 80vw;
    margin: 0 10vw;
    border-radius: 10px;
    padding: var(--contentvpad);
    font-size: 1.2rem;
    gap: var(--contentvpad)
}

.answercards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    gap: var(--contentvpad);
}
.answercard {
    background-color: var(--accentdark);
    color: var(--textlight);
    border-radius: 5px;
    padding: 1rem;
    font-size: 1.2rem;
}
@media screen and (max-width: 500px) {
    :root {
        --contentvpad: 2rem;
    }
    .question h1 {
        font-size: 1.5rem ;
    }
    .answercard {
        font-size: 1.2rem;
        padding: .8rem;
    }

}


input[type="radio"] {
    display: none;
}

.answercard-radio:checked + .answercard {
    background-color: var(--accentspecial1dark);
}
.button {
    padding: 10px 15px;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 20px;
    z-index: 2;
    margin-top: 15px;
    transition: all 0.3s ease;
    display: none;
}
.button:hover {
    background-color: var(--accentspecial1dark);
    color: white;
    border: 2px solid var(--accentspecial1dark);
    transition: all 0.3s ease;
}
.testheader {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--accentdulldarker);
    color: var(--accentlight);
    height: 250px;
    font-size: 2rem;
    text-align: center;
}
.result-header {
    background-color: var(--bgdark);
}
.testdescription {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
   
    height: fit-content;
    font-size: 1.5rem;
    text-align: left;

    padding: 4rem;
    color: var(--accentlight);
}
.result-description {
    background-color: var(--accentdulldarker);
}
.answercard:hover {
    scale: 1.15;
}
#results {
    display: none;
}
/* TEST PAGE SPEEDRUN END */