@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');

html,
body {
    padding: 0;
    margin: 0;
    overflow: hidden;
    font-family: "poppins", sans-serif;
}

* {
    box-sizing: border-box;
    outline: none;
    -webkit-tab-highlight-color: transparent;
    cursor: none;
    user-select: none;
    -webkit-user-drag: none;
}

#main {
    display: flex;
}

.header {
    position: absolute;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: stretch;
}

.logo {
    display: flex;
    width: 50px;
    background: white;
    padding: 4px;
}

.logo img {
    width: 100%;
}

.portfolio {
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 16px;
    color: white;
    background-color: rgb(185, 28, 28);
    text-transform: uppercase;
    text-decoration: none;
}

h1 {
    text-transform: uppercase;
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    background-color: rgb(185, 28, 28);
    font-size: 18px;
    padding: 0 10px;
    margin-top: 0;
    margin-bottom: 0;
}

.content {
    width: 90%;
    color: #FFF;
    position: absolute;
    bottom: 10px;
    text-align: center;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 99;
    font-size: 10px;
    text-transform: uppercase;
    opacity: .5;
}

.content:hover {
    opacity: 1;
}

.content p {
    margin: 0.3em auto;
}

.content span {
    width: auto;
    height: auto;
    border: 1px solid #FFF;
    display: inline-block;
    border-radius: 3px;
    font-size: 0.8em;
    vertical-align: text-top;
    padding: 0 10px;
}

.content a {
    color: rgba(227, 227, 227, 0.78);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.content a:hover {
    padding-bottom: 1px;
}

.buttons {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
}

.buttons button {
    border: none;
    background-size: contain;
    background: url("/images/down-arrow.png") no-repeat;
    background-position: center;
    width: 10px;
    height: 30px;
    display: block;
    margin: 20px 0;
    padding: 0 15px;
    transition-duration: 0.6s;
}

.buttons button.next {
    transform: scaleY(-1);
}

.buttons button.next:active{
    transform: scaleY(-1) translateY(8px);
}
.buttons button.prev:active{
    transform: translateY(8px);
}

#main .part {
    flex: 1;
}

#main .part .section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

#main .part .section img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    left: var(--x);
    pointer-events: none;
}

.cursor {
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    z-index: 999;
    pointer-events: none;
    mix-blend-mode: difference;
}

.cursor-f {
    width: var(--size);
    height: var(--size);
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("/images/cursor-round.png");
    background-size: cover;
    mix-blend-mode: difference;
    pointer-events: none;
    opacity: 0.5;
}
