@import url('https://fonts.googleapis.com/css2?family=Exo:wght@300;500&display=swap');

* {
    font-family: "Exo", sans-serif;
    font-weight: 300;
}

html {
    height: 100%;
}

body {
    margin: 0;
    color: #767676;
}

a {
    text-decoration: none;
    color: #303030;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

form {
    display: flex;
    flex-direction: column;
}

input, textarea, button, select {
    border-style: none;
    font-family: inherit;
    width: 100%;
    padding: 0.7rem 0.5rem;
    margin: 0.5rem 0;
    box-sizing: border-box;
}

input, textarea {
    font-size: 1.1rem;
    background-color: #e9e9e9;
}

button {
    background-color: #c80000;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.s404-page {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 4rem 0 8rem 0;
}

.result {
    text-align: center;
    pointer-events: none;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(-20%);
    opacity: 0;
    width: 100%;
    box-sizing: border-box;
}

.error {
    background-color: #ffeaea;
    color: #c80000;
    padding: 1rem 2rem;
    border: solid 0.1rem #c80000;
    animation: 0.5s ease-in-out 0s 1 normal forwards show-result;
}

.success {
    background-color: #dcf5dc;
    color: #007900;
    font-size: 1.2rem;
    font-weight: 300;
    padding: 0.7rem 0.5rem;
    margin-top: 0.5rem;
    border: solid 0.1rem #007900;
    animation: 0.5s ease-in-out 0s 1 normal forwards show-result;
}

@keyframes show-result {
    0% {
        transform: translateY(-20%);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

.mbc {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: auto;
    margin-bottom: 4rem;
    width: 85%;
}

.slider {
    width: 100%;
    overflow: hidden;
    margin-top: 2rem;
    z-index: -1;
}

.slider-items-container {
    display: flex;
}

.slider-item {
    display: flex;
    flex-direction: column;
    align-items: end;
    text-align: right;
}

.welcome-slide {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.logo-color-span {
    font-weight: 500;
}

#welcome-slide-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#logo {
    width: 7rem;
    transform: translateY(-100%);
    transition: transform 0.8s ease-in-out 0.4s;
}

#logo-shadow {
    border-radius: 50%;
    background-image: radial-gradient(#cfcfcf, white 70%);
    width: 0px;
    height: 0px;
    z-index: -2;
    transition: height 0.8s ease-in-out 0.4s, width 0.8s ease-in-out 0.4s;
}

.welcome-slide h1 {
    font-size: 2.8rem;
    line-height: 2rem;
    margin-top: 0.5rem;
    width: 100%;
    color:#575757;
    transform: translateX(-100%);
    transition: transform 0.8s ease-in-out 0.2s;
}

span.print-shop {
    font-size: 2rem;
    color: #767676;
}

.welcome-slide > h2 {
    padding: 1rem 0;
    margin: 0;
    font-size: 2rem;
    font-weight: 500;
    border-top: solid 0.2rem #c80000;
    border-bottom: solid 0.2rem #c80000;
    width: 80%;
    transform: translateX(120%);
    transition: transform 0.8s ease-in-out 0.4s;
}

.slider-item > h2 {
    font-size: 2rem;
    width: 10rem;
    margin: 1rem 0;
    padding: 0 1rem;
}

.ob {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    padding-top: 2rem;
}

.ob > div {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    margin: 2rem 0;
}

.ob svg {
    fill: #767676;
    width: 5rem;
}

.ob h3 {
    font-weight: 500;
    padding: 0.5rem;
    margin: 0;
    color: #c80000;
}

.ob a {
    font-size: 0.8rem;
    color: #c80000;
    padding: 0 1rem 1rem 1rem;
}

.ob p {
    margin: 0.5rem 0;
}

.divider {
    width: 80%;
    background-color: #767676;
    height: 0.1rem;
    margin: 2rem 0;
}

@media screen and (min-width: 800px) {

    .ob {
        width: 80%;
        padding-top: 3rem;
    }

    .ob > div {
        width: 60%;
    }

    .rb, .lb {
        width: 50%;
        height: 100%;
    }

    .lb h2 {
        font-size: 4rem;
    }

    #logo {
        width: 10rem;
    }
}

@media screen and (min-width: 1080px) {

    .mbc {
        width: 80%;
        margin: auto;
    }

    .ob {
        width: 80%;
        padding: 4rem 0;
        flex-direction: row;
        align-content: start;
        align-items: unset;
        justify-content: center;
    }

    .ob > div {
        margin: 0 2rem;
        width: 33%;
    }

    .ob h3 {
        padding: 1rem;
    }

    .slider {
        width: 80%;
    }

    .slider-item {
        text-align: left;
    }

    #logo {
        width: 12rem;
    }
    
    .welcome-slide h1 {
        font-size: 5rem;
        line-height: 3rem;
        color:#575757;
    }

    span.print-shop {
        font-size: 3rem;
        color: #767676;
    }
    
    .welcome-slide > h2 {
        padding-top: 2rem;
        font-size: 4rem;
    }
}

h1.print-methods {
    font-weight: 500;
}

.mbc img {
    width: 100%;
}

.mbc > p > img:nth-of-type(1) {
    margin-bottom: 1rem;
}

.mbc > p > img:nth-of-type(2) {
    margin: 1rem 0;
}

.print-factors {
    list-style: circle inside;
    color: #767676;
    margin-left: 5%;
    width: 100%;
}

a.p-link {
    font-size: 1rem;
    color: #c80000;
}

.contact-form {
    margin-bottom: 4rem;
}

#gmap {
    width: 100%;
}

.working-hours {
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
}

.working-hours > p {
    margin: 0;
    text-align: center;
}

.contact-methods {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-methods > a {
    display: flex;
    align-items: center;
    color: #767676;
    width: 15rem;
}

.contact-methods svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: #c80000;
    margin-right: 1rem;
}

#fb_logo > svg {
    fill: #1877f2;
}

.social-media {
    display: flex;
    margin-top: 1rem;
}

.social-media > a {
    padding: 1rem;
    margin: 0 0.5rem;
}

.social-media > a > svg {
    margin: 0;
    width: 2rem;
    height: 2rem;
}

.flash-border {
    animation: 0.2s ease-in-out 0s 2 alternate flash-border;
    border: 0.15rem solid #c80000;
    border-radius: 0.3rem;
}

.spinning-loader {
    margin: 1rem auto;
    pointer-events: none;
    height: 3rem;
    width: 3rem;
    border: 0.2rem solid;
    border-radius: 50%;
    border-color: #c80000 transparent;
    animation: spinning-loader 1s ease infinite;
}

@keyframes flash-border {
    from {
        border: 0.15rem solid #c80000;
        border-radius: 0.3rem;
    }

    to {
        border: 0.15rem solid white;
        border-radius: 0.3rem;
    }
}

@keyframes spinning-loader {
    to {
        transform: rotate(360deg);
    }
}

@media screen and (min-width: 800px) {

    .mbc p {
        line-height: 1.5rem;
    }

    .mbc img {
        width: 50%;
    }

    .mbc > p > img:nth-of-type(1) {
        float: right;
        margin: 0 0 1.5rem 2rem;
    }

    .mbc > p > img:nth-of-type(2) {
        float: left;
        margin: 1.5rem 2rem 1.5rem 0;
    }

    .mbc p {
        text-align: justify;
    }

    #gmap {
        width: 90%;
        margin: auto;
    }

    #gmap img {
        width: 100%;
    }

    .working-hours p {
        text-align: center;
    }

    .contact-methods {
        flex-direction: row;
        justify-content: center;
    }

    .contact-form {
        width: 80%;
    }

    div.under-construction {
        margin-bottom: 10rem;
    }

    img.under-construction {
        width: 70%;
    }
}

@media screen and (min-width: 1080px) {

    .mbc {
        width: 60%;
    }
}
