* {
    box-sizing: border-box;
    margin: 0;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #252525 whitesmoke;
}

*::-webkit-scrollbar-track {
    background-color: whitesmoke;
}

*::-webkit-scrollbar {
    width: 2px;
    background-color: whitesmoke;
}

*::-webkit-scrollbar-thumb {
    background-color: #252525;
    border-radius: 1px;
}

html {
    font-family: 'Josefin Sans', sans-serif;
    min-height: 100%;
    height: auto;
}

body, #content {
    width: 100%;
    min-height: 100%;
    height: auto;
}

body {
    background-color: #1b2434;
    background: radial-gradient(circle, rgba(27, 36, 52, 0) 0%, rgba(0, 0, 0, 0.7) 100%), url('/img/back-bedge-grunge.webp'), #1b2434;
    background-attachment: fixed;
    padding: 0 20px;
}

a {
    font-weight: 700;
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#content {
    max-width: 900px;
    margin: 20px auto;
}

#content>div {
    position: relative;
    width: 100%;
    min-height: 95vh;
    height: auto;
    overflow: hidden;
    margin: 50px 0;
}

#content>div:first-of-type {
    margin-top: 0;
}

#cover-page img {
    left: 25px;
    bottom: -25px;
    height: 105%;
    object-fit: contain;
    position: absolute;
    width: auto;
    max-width: unset;
}

#cover-page .title {
    color: whitesmoke;
    position: absolute;
    bottom: 10%;
    right: 7%;
    opacity: 0.75;
}

#cover-page .title h1 {
    font-size: 2.3rem;
    margin-bottom: unset;
}

#intro-page .mote {
    max-width: 60%;
    text-align: justify;
    text-justify: inter-word;
    letter-spacing: .07rem;
}

.textual .page-content {
    padding: 35px 70px;
    letter-spacing: 0.12rem;
    row-gap: 25px;
    justify-content: start;
}

.signed .page-content>div:last-of-type{
    display: flex;
    justify-content: end;
    width: 100%;
}

h1, h2 {
    margin-bottom: 1.5rem;
}

h3 {
    margin-bottom: 1rem;
}

li {
    list-style: none;
    margin-bottom: 0.8rem;
    font-weight: 300;
}

li:last-child {
    margin-bottom: 1.5rem;
}

.textual p {
    margin-bottom: 1rem;
    font-weight: 300;
    line-height: 1.2rem;
}

.textual p, li{
    font-size: 1.15rem;
}

#info-page #prices {
    width: fit-content;
    margin: 20px auto;
}

#info-page #prices p {
    text-align: justify;
    text-align-last: justify;
}

.textual .signature {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto;
    grid-template-areas: "name logo""title logo""contact logo";
    text-transform: uppercase;
    column-gap: 15px;
    text-align: right;
    margin-top: 25px;
    position: absolute;
    bottom: 80px;
}

.textual .signature .sig-logo {
    grid-area: logo;
    aspect-ratio: 1/1;
    width: 95px;
    object-fit: contain;
}

.textual .signature .sig-name {
    grid-area: name;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.3rem;
}

.textual .signature .sig-title {
    grid-area: title;
    font-weight: 300;
    font-size: 0.7rem;
    letter-spacing: 0.3rem;
    margin-top: 3px;
    font-style: italic;
}

.textual .signature .sig-contact {
    grid-area: contact;
    text-transform: none;
    /* font-weight: 700; */
    font-size: 0.9rem;
    /* letter-spacing: 0.3rem; */
    margin-top: 5px;
}

.textual .signature .sig-contact p {
    margin: 0;
    /* line-height: 1rem; */
}

.black-page .page-content {
    color: whitesmoke;
}

#form-page form {
    max-width: 600px;
}

#about-page .page-content #me {
    width: auto;
    max-width: unset;
    float: left;
    margin-right: 2rem;
    margin-bottom: 1rem;
}

#back-cover-page .footer {
    white-space: nowrap;
    font-size: x-small;
    color: whitesmoke;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, 0);
}

#back-cover-page a, #back-cover-page a:hover {
    color: whitesmoke;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
}


.page-content .img {
    max-width: 75%;
    position: relative;
}

.page-content img, .page-content video {
    width: 100%;
    max-width: 500px;
    object-fit: contain;
}

.page-content .photo img {
    aspect-ratio: 5/7;
}

.page-content video, .page-content img.video-poster {
    aspect-ratio: 500/714;
}

.video-poster {
    position: absolute;
    top: 0;
    left: 0;
}

.black-page {
    background: rgb(31, 31, 31);
    background: radial-gradient(circle, rgba(31, 31, 31, 1) 13%, rgba(0, 0, 0, 1) 100%);
}

.white-page {
    background: rgb(255, 255, 255);
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 25%, rgb(221, 221, 221) 100%);
}

.shadow {
    -webkit-box-shadow: 0px 0px 19px 0px rgba(0, 0, 0, 0.55);
    -moz-box-shadow: 0px 0px 19px 0px rgba(0, 0, 0, 0.55);
    box-shadow: 0px 0px 19px 0px rgba(0, 0, 0, 0.55);
}

.page-content {
    min-height: 900px;
    height: auto;
    margin: 5% auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mote p:last-of-type {
    margin-bottom: 0;
}

.mote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.mote p {
    margin-bottom: 1rem;
}

.sub {
    /* font-size: small; */
    max-width: 500px;
    font-weight: 300;
    margin-top: 8px;
}

strong {
    font-weight: 500;
}

@media (max-width: 800px) {
    body {
        padding: 0 8px;
    }

    #content>div {
        margin: 30px 0;
    }

    #cover-page .title h1 {
        font-size: 1.5rem;
    }

    #content>div, .page-content {
        width: 100%;
        min-height: calc(90vw *1.414285714);
    }

    #intro-page .mote {
        font-size: 0.85rem;
        letter-spacing: .03rem;
    }

    .page-content .img {
        max-height: 85%;
    }

    .page-content img, .page-content video {
        max-height: 95%;
        object-fit: cover;
    }

    .sub {
        font-size: small;
    }

    .textual{
        height: auto;
    }

    .textual h1 {
        font-size: 1.3rem;
    }

   .textual .page-content {
        padding: 35px 15px;
    }

   .textual p, li {
        font-size: 0.95rem;
        line-height: 1.1rem;
    }

    #info-page #prices p {
        text-align: left;
        text-align-last: left;
    }

    .points {
        display: none;
    }

    .textual .signature {
        column-gap: 8px;
        /* position: unset; */
    }

    .textual .signature .sig-logo {
        width: 85px;
        object-fit: contain;
    }

    .textual .signature .sig-name {
        font-size: 0.9rem;
        letter-spacing: 0.1rem;
    }

    .textual .signature .sig-title {
        font-size: 0.6rem;
        letter-spacing: 0.1rem;
    }

    .textual .signature .sig-contact p {
        font-size: 0.8rem;
        line-height: 0.8rem;
    }

    #back-cover-page .page-content img {
        object-fit: contain;
    }
}

.signed .page-content{
    padding-bottom: 150px;
}

/* videocontrols */
video::-webkit-media-controls-fullscreen-button, video::-webkit-media-controls-play-button, video::-webkit-media-controls-timeline {
    display: none;
}