@import "../resources/fonts/fonts.css";

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #121212;
    overscroll-behavior: none; 
}

body::-webkit-scrollbar {
    display: none;
  }

main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}


.navbar {
    position: absolute;
    width: fit-content;
    left: 0;
    right: 0;
    top: 30px;
    bottom: 0;
    margin: auto;
    font-family: Modernist;
    z-index: 20;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}


.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 1800px;
    height: 100%;
    z-index: 1;

    transition: width .7s ease-out, 
                height .7s ease-out, 
                top .7s ease-out,
                bottom .7s ease-out,
                left .7s ease-out,
                right .7s ease-out;
}

.slider-inner {
    position: absolute;
    top: 25%;
    height: 50%;
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin-left: calc(50vw - 150px);

    transition: width .7s ease-out, 
                height .7s ease-out, 
                top .7s ease-out,
                bottom .7s ease-out,
                left .7s ease-out,
                right .7s ease-out;
}

.item {
    position: relative;
    width: 330px;
    height: 100%;
    overflow: hidden;

    transition: width .7s ease-out, 
                height .7s ease-out, 
                top .7s ease-out,
                bottom .7s ease-out,
                left .7s ease-out,
                right .7s ease-out;
}

.image {
    position: absolute;
    left: -100px;
    width: 600px;
    height: 100%;
    background-size: cover;
    background-position: center;

    transition: opacity .2s ease-out;
}

.image-full {
    position: absolute;
    width: 100px;
    height: 100px;
    background-size: cover;
    background-position: center;
    /* transition: all .2s ease-in-out; */
    transition: width .7s ease-out, height .7s ease-out, left .7s ease-out, top .7s ease-out;
    opacity: 0;
    z-index: 2;
}



.slider-small {
    position: absolute;
    height: 40px;
    right: 50px;
    bottom: 50px;
    z-index: 10;

    transition: all .7s ease-in-out;
    /* transition: width .2s ease-out, height .2s ease-out, top .2s ease-out, bottom .2s ease-out, right .2s ease-out, left 1s ease-out; */
}

.slider-inner-small {
    height: 100%;
    display: flex;
    gap: 5px;
    transition: all .7s ease-in-out;
}

.item-small {
    position: relative;
    width: 70px;
    height: 40px;

    transition: all .7s ease-in-out;
    /* transition: width 1s ease-out, height 1s ease-out, top 1s ease-out, bottom 1s ease-out, right 1s ease-out, left 1s ease-out; */
}

.image-small {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity .2s ease-out;
}