html, body {
    font-family: "Nunito", sans-serif;
    width: 100%;
    height: 100%;
    background-color: white;
    position: relative;
    scroll-behavior: smooth;
}

#loading-inner {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: white;
}

.parallax-bg {
    background: url("imgs/lampakorte.jpg");
    height: 30vh; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.btn:focus,.btn:active {
    outline: none !important;
    box-shadow: none;
 }

 button, a {
    outline: none !important;
 }

/* Navbar */

#mainNavbar {
    color: white;
    background-color: rgb(47, 79, 79, 0.5);
    transition: background 750ms;
}

#mainNavbar:hover {
    background-color: rgb(47, 79, 79, 0.9);
}

#mainNavbar .navbar-brand {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

#mainNavbar .nav-link {
    color: white;
    font-size: 1.25rem;
    font-weight: 300;
    transition: color 400ms linear;
    width: max-content;
}

#mainNavbar .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: white;
    transition: width 400ms;
}

#mainNavbar .nav-link:hover::after {
    width: 100%;
    background: yellow;
}

#mainNavbar .nav-link:hover, .active {
    color: yellow !important;
}

.active::after {
    width: 100% !important;
    background: yellow !important;
}

.scrolled {
    background-color: rgb(47, 79, 79) !important;
}

/* Navbar end */

/* Header */

.header-content {
    background-color: rgb(47, 79, 79, 0.9);
    text-align: center;
    color: white;
}

#header {
    width: 100%;
    height: 100%;
    padding: 0;
}

#header>div {
    height: inherit;
}

hr {
    width: 50%;
    border-top: 1px solid #f8f8f8;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

#header h1 {
    font-weight: 300;
    font-size: 4rem;
}

#header p {
    font-weight: 400;
    font-size: 1.25rem;
}

#header a {
    font-weight: bold;
    font-size: 1.5rem;
    color: rgb(47, 79, 79);
    background-color: white;
}

#header a:hover {
    background-color: yellow;
}
/* Header end */

/* Carusel Start */

.carousel {
    height: 95vh;
    overflow: hidden !important;
}
   
.carousel-inner > .carousel-item > img {
    height: 95vh;
    object-fit: cover;
}

.carousel-caption {
    right: 0;
    left: 0;
    bottom: 30%;
}

.carousel-indicators {
    height: 5vh;
    margin: 0;
    align-items: center;
    background-color: rgb(47, 79, 79);
}


/* Carusel end */

/* General content rules */

section {
    padding-bottom: 5rem;
    padding-top: 5rem;
}

.content {
    color: rgb(47, 79, 79);
    background-color: white;
}

.content h2 {
    font-weight: 600;
    font-size: 2.5rem;
}

.content h3 {
    font-weight: 600;
    font-size: 1.5rem;
    display: inline-block;
}

.content h5 {
    font-weight: 600;
}

.content p {
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 2;
}

.logo {
    font-size: 1.5rem;
}

/* General content rules end */

/* About section */

#about {
    min-height: 100vh;
    display: inline-block;
}

.about-wrapper {
    transition: 400ms;
    border: 2px solid rgb(47, 79, 79, 0.5);
    border-radius: 0.5rem;
    padding: 1rem 1rem 0 1rem;
    height: 100%;
    width: 25rem;
    text-align: center;
    display: block;
}

.about-wrapper:hover {
    background-color: rgb(47, 79, 79);
    color: white;
}

.about-wrapper h3::after {
    display: block;
    content: '';
    height: 1rem;
    border-bottom: solid 0.125rem rgb(47, 79, 79);
    transform: scaleX(0.3);
    transition: transform 400ms ease-in-out;
}

.about-wrapper:hover>h3::after {
    transform: scaleX(1);
    border-bottom-color: white;
}

/* About section end */

/* Services section start */

#services {
    min-height: 100vh;
    display: inline-block;
}

.card {
    width: 30rem;
    border-color: rgb(47, 79, 79);
}

.card-header {
    background-color: rgb(47, 79, 79);
    min-height: 5rem;
    color: white;
    align-items: center;
    vertical-align: middle;
}

.list-group {
    min-height: 14rem;
}

.list-group-item {
    font-weight: 400 !important;
    font-size: 1.05rem !important;
    border-color: rgb(47, 79, 79, 0.3);
    height: 100%;
}

.fastservice-wrapper {
    align-items: center;
    border: 1px solid rgb(47, 79, 79);
    border-radius: .25rem;
    display: block;
    text-align: center;
}

.fastservice-wrapper h5 {
    background-color: rgb(47, 79, 79);
    color: white;
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1rem;
    text-align: center;
}

.fastservice-wrapper h6 {
    font-weight: 700;
    font-size: 1.25rem;
    color: rgb(47, 79, 79);
    padding: 0.5rem;
    text-align: center;
}

.btn-fastservice {
    color: white;
    background-color: rgb(47, 79, 79);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.btn-fastservice:hover {
    color: rgb(47, 79, 79);
    background-color: yellow;
}

/* Services section end */

/* Contact section*/

#contacts {
    min-height: 80vh;
    display: inline-block;
}

.contact-name, .contact-type, .contact-link {
    color: rgb(47, 79, 79) !important;
    font-weight: 700;
    font-size: 2rem;
    display: block;
}

.contact-type {
    margin-bottom: 1.5rem;
}

.contact-link {
    width: max-content;
    text-decoration: none !important;
}

.contact-link::after {
    display: block;
    content: '';
    border-bottom: solid 0.2rem rgb(47, 79, 79);
    transform: scaleX(0);
    transition: transform 400ms ease-in-out;
}
.contact-link:hover::after {
    transform: scaleX(1);
}

.fa-phone {
    transform: rotate(90deg);
}

/* Contact section end*/

/* Footer */

#footer {
    min-height: 20vh !important;
    background-color: rgb(47, 79, 79);
    color: white;
    font-weight: 300;
    font-size: 1.125rem;
    text-align: center;
    padding: 1rem;
}

#footer>div {
    height: inherit;
}

#footer span {
    white-space: pre;
}

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

#footer a {
    color: white;
    transition: color 400ms linear;
    text-decoration: none;
    white-space: pre;
}

#footer a:hover {
    color: yellow;
}
/* Footer end */

/* Cookie Consent Begin */

a.cc-btn {
    transition: color .15s ease-in-out,
                background-color .15s ease-in-out,
                border-color .15s ease-in-out,
                box-shadow .15s ease-in-out;
    color: rgb(47, 79, 79);
}

a.cc-btn:hover {
    background-color: yellow !important;
    color: rgb(47, 79, 79);
}

/* Cookie Consent End */

/* Media queries */

@media (max-width: 1200px) {
    .content-extra {
        margin-bottom: 12rem;
    }
    .btn-fastservice {
        font-size: 1.25rem;
    }
}

@media (max-width: 992px) {
    .contact-link, .contact-name, .contact-type  {
        font-size: 1.75rem;
    }
    .fastservice-wrapper {
        width: 30rem;
    }
}

@media (max-width: 768px) {
    #header h1 {
        font-size: 3rem;
    }
    #header p {
        font-size: 1rem;
    }
    #header a {
        font-size: 1.25rem;
    }
    .btn-fastservice {
        font-size: 1.2rem;
    }
    .contact-link, .contact-name, .contact-type  {
        font-size: 1.5rem;
    }
    .contact-link::after {
        border-bottom-width: 0.15rem;
    }
}

@media (max-width: 480px) {
    #header h1 {
        font-size: 2rem;
    }
    #header a {
        font-size: 1rem;
    }
    .content h2 {
        font-size: 1.5rem;
    }
    .content p {
        font-size: 1rem;
    }
    .btn-fastservice {
        font-size: 1rem;
    }
    .contact-link, .contact-name, .contact-type  {
        font-size: 1.25rem;
    }
}

/* Media queries end*/