:root {
    --pf: Dosis;
    --sf: Source Sans 3;
}

body {
    background: #ffffff;
    background-color: #ffffff;
    background-repeat: repeat;
    background-position: center center;
    background-attachment: scroll;
    font-family: var(--sf);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    text-transform: none;
    color: #606060;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    overflow-x: hidden;
}

#beryl-moon h1, #beryl-moon h2, #beryl-moon h3, #beryl-moon h4, #beryl-moon h5, #beryl-moon h6 {
    color: #404040;
    font-family: var(--pf);
}

header a {
    font-family: var(--pf);
}


#beryl-moon h3, #beryl-moon h5 {
    letter-spacing: 2px;
}

#beryl-moon h5 {
    font-size: 15px;
}

#beryl-moon p {
    font-family: var(--sf);
    color: rgb(96, 96, 96);
    font-size: 14px;
}

#beryl-moon .section-heading {
    font-size: 20px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 60px;
}

/* #beryl-moon .container {
    padding-left: 70px;
    padding-right: 70px;
} */

/* Icon box */
#beryl-moon .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    background-color: #404040;
    width: 50px;
    height: 50px;
    border-radius: 7px;
}

#beryl-moon .icon-box > img {
    width: 20px;
    height: 20px;
}
/* end Icon box */

/* HEADER */
header {
    margin: 25px 0;
}

header a {
    color: #505050;
    text-decoration: none;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
}
header a:hover {
    text-decoration: underline;
}

header img {
    width: clamp(150px, 30vw, 350px);
    height: auto;
}

/* END HEADER */

/* HERO */
section#hero {
    display: flex;
    justify-content: center;
}

#hero > .container {
    display: flex;
    width: 100%;
    justify-content: center;
    margin: 75px 0 10px;
}

#hero h1 {
    color: rgb(64, 64, 64);
    line-height: 50px;
    font-size: 50px;
    text-align: center;
    letter-spacing: 6px;
    font-weight: 500;
}

@media only screen and (min-width: 993px) {         /* lg */
    #hero h1 {
        width: 722px;
    }
}

@media only screen and (max-width: 992px) {         /* md */
    #hero h1 {
        width: 644px;
        line-height: 45px;
        letter-spacing: 5px;
        font-size: 45px;
    }
}

@media only screen and (max-width: 768px) {         /* sm */
    #hero h1 {
        width: 713px;
        line-height: 49px;
        font-size: 49px;
        letter-spacing: 6px;
    }
}

@media only screen and (max-width: 576px) {         /* xs */
    #hero h1 {
        width: 100%;
        line-height: 33px;
        font-size: 33px;
    }
}

/* END HERO */

/* ABOUT */
#about .container {
    padding-top: 60px;
    padding-bottom: 70px;
}

#about .container h5 {
    margin-bottom: 30px;
}

#about .container .row > div {
    padding: 0 30px;
}

#about .container #about-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    padding-right: 45px;
}
#about .container #about-gallery > img {
    height: 100%;
    width: 100%;
}

/* END ABOUT */

/* SERVICES */
#services {
    background-color: #f8f8f8;
}

#services .container {
    padding-top: 75px;
    padding-bottom: 75px;
}

#services .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 15px;
    grid-row-gap: 30px;
}

#services .services-item__icon {
    width: 25px;
    height: 25px;
    margin-bottom: 20px;
}

#services .services-item__content h5 {
    text-transform: uppercase;
}

#services .services-item__content p {
    margin-top: 25px;
}


@media only screen and (max-width: 992px) {         /* md */
    #services .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 768px) {         /* sm */
    #services .services-grid {
        grid-template-columns: 1fr;
    }
}

/* END SERVICES */

/* TESTIMONIALS */ 
#testimonials .testimonial__icon {
    margin-bottom: 40px;
    line-height: 1;
}
#testimonials .testimonial__icon > svg {
    height: 50px;
    width: auto;
}


/* END TESTIMONIALS */ 

/* CONTACT */
#contact .container {
    padding-top: 70px;
    padding-bottom: 70px;
}

#contact h5 {
    margin: 0;
    text-transform: uppercase;
}

#contact p {
    margin: 8px 0 0;
    letter-spacing: 1px;
}

#contact .contact__item a {
    text-decoration: none;
    color: #505050;

}
#contact .contact__item a:hover {
    text-decoration: underline;
}
/* END CONTACT */