h1 {
    
    line-height: 30px;
    font-size: 50px;
    color: white;
    font-family: "Neucha", serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    opacity: 1;
    filter: url('#distort');
	animation: fade-in 1.4s steps(3, end) both;
}

a {
    display: block;
    line-height: 100px;
    font-size: 25px;
    color: rgb(133, 133, 133);
    font-family: "Neucha", serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    opacity: 1;
    z-index: 2;
    animation: fade-in 0.3s steps(16, start) 3s both;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

a:hover {
    color: white;
}

.a-text {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.a-text:hover:before,
.a-text:hover:after {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 25px;
    font-family: "Neucha", serif;
    pointer-events: none;
}

.a-text:hover:before {
    content: 'in the meantime, have some lunch.';
    top: 49.5%;
    left: 49.5%;
    color: rgba(157, 0, 255, 0.8);
    animation: distort1 100ms linear infinite;
}

.a-text:hover:after {
    content: 'in the meantime, have some lunch.';
    top: 50.5%;
    left: 50.5%;
    color: rgba(255, 0, 85, 0.8);
    animation: distort2 100ms linear infinite;
}

@keyframes distort1 {
    0%    { top: 49.5%; left: 49.5%; }
    12.5% { top: 49.5%; left: 50%; }
    25%   { top: 49.5%; left: 50.5%; }
    37.5% { top: 50%; left: 50.5%; }
    50%   { top: 50.5%; left: 50.5%; }
    62.5% { top: 50.5%; left: 50%; }
    75%   { top: 50.5%; left: 49.5%; }
    87.5% { top: 50%; left: 49.5%; }
    100%  { top: 49.5%; left: 49.5%; }
}

@keyframes distort2 {
    0%    { top: 50.5%; left: 50.5%; }
    12.5% { top: 50%; left: 50.5%; }
    25%   { top: 49.5%; left: 50.5%; }
    37.5% { top: 49.5%; left: 50%; }
    50%   { top: 49.5%; left: 49.5%; }
    62.5% { top: 50%; left: 49.5%; }
    75%   { top: 50.5%; left: 49.5%; }
    87.5% { top: 50.5%; left: 50%; }
    100%  { top: 50.5%; left: 50.5%; }
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
}


* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}


.sidebar-img {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    width: 23%;
    background: url(images/ui/sidebar.png) no-repeat center center/cover;
    position: fixed;
    top: 0;
    left: 0;
}

.sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: -150px
}

.logo {
    margin-right: -100px;
}



.nav-menu a{
    display: block;
    width: 100%;
    height: 100%;
    padding: 50px;
    line-height: 30px;
    font-size: 50px;
    color: white;
    font-family: "Neucha", serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    opacity: 1;
    transition: font-size 0.3s, animation 0.3s;
}

.nav-socials{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    margin-left: 120px;
    margin-right: 10px;
    width: 45%;
    
}

.nav-socials a{
    transition: transform 0.3s;
}

.nav-socials a:hover {
    transform: scale(1.5, 1.5);
    
}

.nav-menu a:hover {
    animation: button-hover-animation 1s infinite;
    text-shadow: 3px 3px 10px rgb(195, 0, 255);
    font-size: 65px;
}

.nav-menu a:visited {
    opacity: 0.5;
    pointer-events: none;
}

.nav-menu li{
    cursor: pointer;

}

.video-bg {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: -1;
    min-width: 100%;
    min-height: 100%;
    filter:blur(20px);
    filter: brightness(10%);
   
}

.slider {
    margin: 0 auto;
    width: 800px;
    max-width: 100%;
    text-align: center;

}

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

.slider label {
    cursor: pointer;
    text-decoration: none;

}

.slides {
    padding: 10px;
    border: 3px solid #ccc;
    background: #fff;
    position: relative;
    z-index: 1;
}

.overflow {
    width: 100%;
    overflow: hidden;
}

.slide1:checked ~ .slides .inner {
    margin-left: 0;
}
.slide2:checked ~ .slides .inner {
    margin-left: -100%;
}
.slide3:checked ~ .slides .inner {
    margin-left: -200%;
}

.slides .inner {
    transition: margin-left 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
    width: 400%;
    line-height: 0;
    height: 400px;

}

.slides .slide{
    width: 25%;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #fff;
}

.slides .slide_1{
    background: rgb(255, 238, 52);
}
.slides .slide_2{
    background: rgb(98, 96, 192);
}
.slides .slide_3{
    background: rgb(106, 57, 122);
}

.controls {
    margin: -180px 0 0 0;
    width: 100%;
    height: 50px;
    z-index: 3;
    position: relative;
}

.controls label {
    transition: opacity 0.2s ease-out;
    display: none;
    width: 50px;
    height: 50px;
    opacity: 0.4;
}

.controls label:hover {
    opacity: 1;
}


.slide1:checked ~ .controls label:nth-child(2),
.slide2:checked ~ .controls label:nth-child(3),
.slide3:checked ~ .controls label:nth-child(1) {
    background: url(images/icons/next-svgrepo-com.svg) no-repeat;
    float: right;
    margin: 0 -50px 0 0;
    display: block;
}
.slide1:checked ~ .controls label:nth-last-child(2),
.slide2:checked ~ .controls label:nth-last-child(3),
.slide3:checked ~ .controls label:nth-last-child(1) {
    background: url(images/icons/previous-svgrepo-com.svg) no-repeat;
    float: left;
    margin: 0 0 0 -50px;
    display: block;
}

.bullets {
    margin: 150px 0 0;
    text-align: center;
}

.bullets label {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background: #ccc;
    margin: 0 10px;
}


.slide1:checked ~ .bullets label:nth-child(1)
.slide2:checked ~ .bullets label:nth-child(2)
.slide3:checked ~ .bullets label:nth-child(3) {
    background: #444;
}
@keyframes button-hover-animation{
    0%{
        background: url(images/ui/animated/button-hover/hover1.png) no-repeat center center/cover;
        object-fit: fill;
        width: 100%;
        height: 100%;
    }
    25%{
        background: url(images/ui/animated/button-hover/hover1.png) no-repeat center center/cover;
        object-fit: contain;
        width: 100%;
        height: 100%;
    }
    50%{
        background: url(images/ui/animated/button-hover/hover2.png) no-repeat center center/cover;
        object-fit: contain;
        width: 100%;
        height: 100%;
    }
    75%{
        background: url(images/ui/animated/button-hover/hover3.png) no-repeat center center/cover;
        object-fit: contain;
        width: 100%;
        height: 100%;
    }
    100%{
        background: url(images/ui/animated/button-hover/hover4.png) no-repeat center center/cover;
        object-fit: contain;
        width: 100%;
        height: 100%;
    }
}

@media only screen and (max-width: 3000px) {
    .sidebar {
        margin-left: -250px;
        scale: 100%;
    }

    .sidebar-img {
        width: 25%;
    }
    
}

@media only screen and (max-width: 1920px) {
    .sidebar {
        margin-left: -180px;
        scale: 70%;
    }

    .sidebar-img {
        width: 25%;
    }

    .slide1:checked ~ .controls label:nth-last-child(2),
    .slide2:checked ~ .controls label:nth-last-child(3),
    .slide3:checked ~ .controls label:nth-last-child(1),
    .slide1:checked ~ .controls label:nth-last-child(2),
    .slide2:checked ~ .controls label:nth-last-child(3),
    .slide3:checked ~ .controls label:nth-last-child(1) {
        margin: 0;
    }
    
}

@media only screen and (max-width: 1280px) {
    .sidebar {
        margin-left: 0;
        scale: 70%;
    }

    .sidebar-img {
        width: 25%;
        padding-right: 10%;
    }
    .nav-socials {
        width: 100%;
    }
}


@media only screen and (max-width: 350px) {
    .sidebar {
        margin-left: -180px;
    }

    .sidebar-img {
        width: 25%;
    }
}

