html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

html,
* {
    margin: 0;
    padding: 0;
    font-family: "Raleway", Arial, Helvetica, sans-serif;
    font-weight: bold;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #c68b69;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.content-container {
    width: 85%;
    height: 100%;
    max-width: 1700px;
    margin: 0 auto;
}

body #huvud {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    background: #ebd3c7;
}

section {
    height: 100%;
    width: 100%;
    position: relative;
}

h1 {
    font-family: "Lobster Two", Arial, Helvetica, sans-serif;
    font-size: 3.2rem;
    color: #ae6137;
    margin-left: -10px;
    margin-bottom: 12px;
}
@media only screen and (max-width: 1000px) {
    h1 {
        font-size: 45px;
    }
}

@media only screen and (max-width: 740px) {
    h1 {
        font-size: 33px;
    }
    h3 {
        font-size: 25px;
        line-height: 27px;
    }

    .ridterapi-info-text {
        font-size: 19px !important;
        line-height: 21px !important;
    }
}

.number {
    font-family: Arial, Helvetica, sans-serif;
}

/* ##################
#                   #
#       Kontakt     #
#                   # 
###################*/

#kontakt {
    background: #ebd3c7;
    min-height: 100vh !important;
}

.kontakt-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: unset !important;
}

.map-container {
    padding-top: 100px;
}

#map {
    width: 100%;
    height: 32vh;
}

.kontakt-title {
    margin-top: 20px;
    border-bottom: 3px solid currentColor;
    z-index: 2;
}

#kontakt-svg {
    width: 100%;
    position: absolute;
    top: calc(32vh + 100px);
    left: 0;
    right: 0;
    height: 14vh;
    z-index: 1;
}

.kontakt-info {
    width: 100%;
    min-height: 350px;
    flex: 1;
    z-index: 2;
    margin-top: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.kontakt-cards {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.kontakt-card {
    background: #d5875c;
    border: 4px solid #ae6137;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.anchor {
    display: hidden;
    position: absolute;
    top: -120px;
}

.anchor:target + .kontakt-card {
    animation: flash 1s ease;
    animation-iteration-count: 2;
}

@keyframes flash {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: scale(1.1) translateY(-5px);
    }
}

.kontakt-card div {
    display: flex;
    flex-direction: column;
}

.kontakt-card-title {
    color: white;
    font-size: 20px;
}

.kontakt-card-subtitle {
    color: rgba(255, 255, 255, 0.678);
    font-size: 13px;
    margin-top: 2px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    margin-top: 7px;
}

.entry {
    display: flex;
    flex-direction: row !important;
    margin-top: 10px;
    align-items: center;
}

.entry img {
    width: 23px;
    margin-right: 15px;
}
.entry a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.portrait {
    width: 80px;
    border-radius: 20px;
    border: 3px solid white;
    margin-left: 20px;
}

.besok-card {
    background: white;
    border: 3px solid #ae6137;
    min-width: 250px;
    max-width: 400px;
    width: 17vw;
    padding: 30px 40px 30px 40px;
    color: #d5875c;
    font-size: 22px;
}

.besok-card-title {
    font-size: 27px;
    color: #ae6137;
    border-bottom: 2px solid currentColor;
    display: inline-block;
}

.besok-card-address {
    margin-top: 25px;
}

.address-title {
    color: #d5875c;
    font-size: 30px !important;
}

.address {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
}

.address span {
    color: #d5875c;
    font-size: 25px;
}

#vagbeskrivning {
    background: rgb(172, 100, 58);
    background: linear-gradient(
        270deg,
        rgba(172, 100, 58, 1) 0%,
        rgba(211, 142, 104, 1) 50%,
        rgba(172, 100, 58, 1) 100%
    );
    background-position: 100%;
    background-size: 200%;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 10px;
    font-size: 18px;
    margin-top: 25px;
    cursor: pointer;
    transition: all 0.2s;
}

#vagbeskrivning:hover {
    background-position: 70%;
}

.faktura-card {
    background: #d5875c;
    border: 4px solid #ae6137;
    border-radius: 20px;
    padding: 30px 40px 30px 40px;
}

.faktura-card-title {
    font-size: 27px;
    color: white;

    display: inline-block;
}

.faktura-card-address {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    font-size: 22px;
    color: rgba(255, 255, 255, 0.849);
    line-height: 35px;
}

.faktura-uppgifter {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    line-height: 35px;
    color: rgba(255, 255, 255, 0.952);
}

.faktura-uppgifter div {
    display: flex;
    flex-direction: column;
}

.faktura-uppgifter span {
    font-size: 22px;
    color: rgb(255, 255, 255);
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
}

.secret {
    color: rgba(255, 255, 255, 0.541) !important;
    font-size: 14px !important;
    margin-top: -7px;
}

@media only screen and (max-width: 1260px) {
    .kontakt-info {
        flex-direction: column;
        align-items: center;
    }
    #ivan {
        margin: 20px 0;
    }
    .faktura-card {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .kontakt-cards {
        width: 100% !important;
    }
    .kontakt-card:last-child {
        margin: 20px 0px;
    }
}

@media only screen and (max-width: 490px) {
    .portrait {
        display: none;
    }
}

.card-cont {
    position: relative;
}
