*, *::before, *::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "HelveticaNeue";
    src: url("./assets/fonts/HelveticaNeueRoman.otf") format("opentype");
    font-weight: 400;
}

@font-face {
    font-family: "HelveticaNeue";
    src: url("./assets/fonts/HelveticaNeueBold.otf") format("opentype");
    font-weight: 700;
}

@font-face {
    font-family: "SfPro";
    src: url("./assets/fonts/SfPro.otf") format("opentype");
    font-weight: 400;
}

html, body {
    overflow: hidden;
}

main {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.gallery {
    width: 100%;
    height: 100%;
}

.header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    padding: 0 16px;
    position: fixed;
    z-index: 100;
    top: 18px;
    width: 100%;
}

.header-title {
    font-size: 60px;
    color: #000;
    font-family: "HelveticaNeue", sans-serif;
    grid-column-start: 2;
}

.header-buttons {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-button {
    outline: 0;
    border: 0;
    text-align: right;
    text-transform: uppercase;
    background: none;
    font-size: 13px;
    line-height: 16px;
    font-family: "HelveticaNeue", sans-serif;
    color: #000;
    font-weight: 700;
    letter-spacing: 1%;
}

.splide__track {
    height: 100%;
}

.splide__slide {
    object-fit: cover;
}

.splide__pagination__page {
    border-radius: 50%;
    display: inline-block;
    height: 8px;
    margin: 3px;
    opacity: .7;
    padding: 0;
    position: relative;
    transition: transform .2s linear;
    width: 8px;
    background: none !important;
    border: 1px solid #979797 !important;
}

.splide__pagination__page.is-active {
    background: #979797 !important;
    transform: scale(1) !important;
}

.splide__pagination {
    bottom: 20px !important;
}

.about {
    position: fixed;
    width: calc(100% - 26px);
    margin: 0 auto;
    background-color: #F9F7EF;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    height: 80vh;
    padding: 8px;
}

.about-text {
    letter-spacing: -0.01em;
    font-family: "SfPro", sans-serif;
    color: #000;
    font-size: 15px;
    line-height: 18px;
    padding: 0 18px;
}

.close {
    outline: 0;
    border: 0;
    background: none;
    margin-bottom: 16px;
}

.form {
    padding: 0 18px;
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.form-title {
    font-size: 13px;
    font-family: "SfPro", sans-serif;
}

.form-title {
    font-size: 13px;
    font-family: "SfPro", sans-serif;
    text-transform: uppercase;
    display: block;
    border-bottom: 1px solid #000;
    padding-bottom: 12px;
}

.form-input-container {
    display: flex;
    align-items: center;
    padding-bottom: 5px;
    border-bottom: 1px solid #000;
    gap: 8px;
}

.form-input-label {
    font-size: 13px;
    font-family: "SfPro", sans-serif;
}

.form-input {
    background: none;
    outline: 0;
    font-size: 13px;
    border: 0;
    flex-grow: 1;
    padding: 1px 2px;
    font-family: "SfPro", sans-serif;
}

.form-input::placeholder {
    font-size: 13px;
    opacity: .5;
    font-family: "SfPro", sans-serif;
    font-style: italic;
}

.form-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 11px;
    margin-top: 20px;
}


.form-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
}

.form-item-inner {
    display: flex;
    flex-direction: column;
    padding: 5px 6px 5px 8px;
    border: 1px solid #000;
}

.form-item-checkbox:checked + .form-item-inner {
    border: 2px solid #000;
    padding: 4px 5px 4px 7px;
}

.form-item span {
    font-family: "SfPro", sans-serif;
}

.form-item-text {
    font-size: 13px;
}

.form-item-subtext {
    font-size: 7px;
}

.form-textarea {
    font-size: 13px;
    font-family: "SfPro", sans-serif;
    color: #000;
    margin-top: 8px;
    border: 1px solid #000;
    outline: 0;
    background: none;
    padding: 6px;
}

.form-textarea::placeholder {
    opacity: 0.5;
    font-style: italic;
}

.form-button {
    outline: 0;
    border: 1px solid #000;
    padding: 12px 0;
    text-transform: uppercase;
    font-size: 13px;
    font-family: "HelveticaNeue", sans-serif;
    background: none;
}