@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

* {
    box-sizing: border-box;
}

@font-face {
  font-family: "EnchantedLand";
  src:
    local("Enchanted Land"),
    url("assets/Enchanted\ Land.otf") format("opentype");
}

body {
    background: rgba(8, 8, 19, 0.6) url(assets/bg.png);
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    color: #fef;
    min-height:100vh;
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
}

.wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease;
	animation-duration: 1s;
}

h1 {
    font-family: "EnchantedLand";
    font-size: 92px;
    margin: 0 auto;
    color: rgb(233, 243, 255);
}

h2 {
    margin: 0 auto;
    font-family: "EnchantedLand";
    font-size: 38px;
    text-align: center;
    color: rgb(233, 243, 255);
}

h3 {
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: #fff;
    opacity: 0.8;
    cursor:pointer;
    text-shadow: 0 0 20px rgb(228, 98, 228);
    transition: 0.3s ease opacity, 0.3s ease text-shadow;
}

a:hover {
    opacity: 1;
}

.slider {
    display: flex !important;
    width: 100%;
    cursor: grab;
}

.slider:active {
    cursor: grabbing;
}

.slider-item {
    height: 600px;
    width: 300px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 45px 50px;
    background-image: url(assets/frame.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    font-size: 14px;
    font-weight: 300;
}

.slick-list {
    -webkit-mask-image:  linear-gradient(90deg,rgba(255, 255, 255, 0) 5%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 80%, rgba(255, 255, 255, 0) 95%);
    mask-image:  linear-gradient(90deg,rgba(255, 255, 255, 0) 5%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 80%, rgba(255, 255, 255, 0) 95%);
}

.slick-slide.far-card, .slick-slide:not(.slick-current) { transform: scale(0.65); opacity:0.35; z-index:1; }
.slick-slide.center, .slick-slide.slick-current { transform: scale(1); opacity:1; z-index:3; }
.slick-slide.near-card   { transform: scale(0.85); opacity:0.7; z-index:2; }

.slick-slide {
    transition: 0.30s ease transform, 0.3s ease opacity;
}

.slick-slide > div, .slick-slide.far {
    width: 300px;
}

button {
    background-color: transparent;
    border: 0;
    color: white;
    padding: 1em;
    opacity: 0.6;
    cursor:pointer;
    text-shadow: 0 0 20px rgb(228, 98, 228);
    transition: 0.3s ease opacity, 0.3s ease text-shadow;
}

button:hover {
    opacity: 1;
}

.btn-project {
    background-image: url(assets/btn.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 112px;
    height: 112px;  
    font-size: 42px;
    padding: 0;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slick-arrow {
    font-size: 36px;
}

@media (max-width:1024px) {
    button {
        padding: 0.5em;
    }
    h1 {
        font-size: 72px;
    }
}

@media (max-width:768px) {
    button {
        padding: 0.25em;
    }
    h1 {
        font-size: 58px;
        text-align: center;
    }
}

@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}