@font-face {
    font-family: dob-font;
    src: url(/resources/fonts/dob-font/Bayformance.otf);
}
@font-face {
    font-family: anonymous;
    src: url(/resources/fonts/Anonymous_Pro/AnonymousPro-Regular.ttf);
}
@font-face {
    font-family: courierprime;
    src: url(/resources/fonts/Courier_Prime/CourierPrime-Regular.ttf)
}

body {
    background-color: #f9ecd6;
    color: #382c2a;
    display: flex;
    font-family: courierprime, anonymous, monospace, Helvetica, sans-serif;
    font-size: 15px;
    flex-direction: column;
    justify-content: flex-start;
    padding: 8px;
    padding-bottom: 0;
    margin: 0;
    /* text-transform: lowercase; */
}
/* header */
header nav {
    display: flex;
    justify-content: space-between;
    font-family: dob-font, Arial, Helvetica, sans-serif;
    padding: 5px;
    padding-left: 0;
}
.logo {
    font-size: 20px;
    position: relative;
    top: -3px;
}
header nav a {
    color: #382c2a;
    text-decoration: none;
}
.logo:hover, .nav-right a:hover {
    color: #5f4b46;
}
.section-title {
    font-size: 18px;
}
.service-title {
    font-size: 16px;
}
.reviewer-name {
    font-size: 12px;
}
.services {
    display: flex;
    flex-direction: column;
}
.services ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin-top: 10px;
    padding: 0;
}
.services ul li {
    background-color: #ece0ce;
    font-size: 12px;
    margin: 0 2px;
    padding: 2px;
    width: calc((100vw - 16px) / 3);
}
.reviews-container {
    position: relative;
    overflow: hidden;
}
.reviews {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    font-size: 10px;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: calc(100vw -20px);
}
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #5f4b46;
}
.left-arrow {
    left: 20px;
}
.right-arrow {
    right: 20px;
}
.reviews::-webkit-scrollbar {
    display: none;
}
.review {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    justify-content: center;
    margin: 0 20vw;
    padding: 0 5px;
    scroll-snap-align: center;
    text-align: justify;
    width: 70vw;
}
footer {
    background-color: #ece0ce;
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin: -8px;
    margin-top: 20px;
}
footer > * {
    flex: 1;
}
footer a {
    color: #382c2a;
    height: 10px;
    line-height: 12px;
    margin: 5px;
    margin-top: 8px;
    padding: 5px;
    text-align: center;
    text-decoration: none;
}
footer a:hover {
    color: #c7b69b;
    border-radius: 10px;
}
.coin-container {
    flex: 0 !important;
    position: relative;
    height: 40px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
@keyframes coinFlip {
    0%, 90% {
        transform: rotateY(0deg);
    }
    40% {
        transform: rotateY(180deg);
    }
}
.coin {
    border-radius: 50%;
    position: absolute;
    height: 100%;
    width: 40px;
    transform-style: preserve-3d;
    animation: coinFlip 3.5s infinite ease;
    border: 1px solid #382c2a;

}
.front-face {
    position: absolute;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: url(/resources/graphics/DOB\ 314.png);
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.back-face {
    position: absolute;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: url(/resources/graphics/REMOSWORLD\ 131.png);
    background-size: cover;
    background-position: center;
    transform: rotateY(180deg);
}

/* responsive rules */
@media screen and (min-width: 700px) {
    body {
        margin: 0 15px;
    }
    footer {
        margin: -22px;
        margin-top: 20px;        
    }
}
@media screen and (min-width: 800px) {
    body {
        margin: 0 25px;
    }
    footer {
        margin: -33px;
        margin-top: 20px;        
    }
}
@media screen and (min-width: 900px) {
    body {
        margin: 10px 50px 0 50px;
    }
    footer {
        margin: -58px;
        margin-top: 20px;
    }
}
@media screen and (min-width: 1000px) {
    body {
        margin: 25px 150px 0 150px;
    }
    .about-and-services-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .short-about {
        margin-right: 70px;
    }
    .services ul {
        display: flex;
        flex-direction: column;
        margin-top: 0;
    }
    .services ul li {
        margin-bottom: 5px;
        font-size: 13px;
    }
    .reviews {
        margin-top: 15px;
        width: calc(100vw -50px);
    }
    .left-arrow {
        left: 0;
    }
    .right-arrow {
        right: 0
        ;
    }
    .review {
        width: 40vw;
    }
    footer {
        background-color: transparent;
    }
}