@media screen and (min-width: 1280px) {
    html {
        font-size: 1.15vw;
    }
}

@media screen and (max-width: 1279px) {
    html {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: #E2E8F0;
    background: #1A1D24;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    line-height: 1.65;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.8rem;
}

h2, h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.8rem;
    position: relative;
    line-height: 1.3;
}

h3::after, h2::after {
    content: "";
    display: block;
    width: 7rem;
    height: 0.2rem;
    background: linear-gradient(to right, rgba(254, 190, 51, 1), rgba(254, 190, 51, 0));
    position: absolute;
    margin-top: 0.5rem;
    
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.4;
}

.muted {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #94a3b8;
}

#intro {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.5;
    color: #fff;
}

#motto {
    font-style: italic;
    font-weight: 300;
    font-size: 1.8rem;
    line-height: 1.3;
    color: #fff;
}

.decorated {
    position: relative;
    margin: 0 2rem;
    display: inline-block;
    padding-left: 0.6rem
}

.decorated:before {
    content: "";
    display: block;
    height: 3rem;
    width: 2.37rem;
    background-image: url("../img/decor.svg");
    background-size: contain;
    background-repeat: no-repeat; 
    background-position: left center; 
    position: absolute;
    bottom: -0.5rem;
    left: -3rem;
}

.decorated:after {
    content: "";
    display: block;
    height: 3rem;
    width: 2.37rem;
    background-image: url("../img/decor.svg");
    background-size: contain;
    background-repeat: no-repeat; 
    background-position: left center; 
    position: absolute;
    top: -0.5rem;
    right: -3rem;
    transform: rotate(180deg);
}

a {
    color: #E2E8F0;
    text-decoration: none;
    line-height: 1.3;
}

a:hover {
    color: #FEBE33;
}

nav ul li {
    margin-bottom: 1.2rem;
}

.active {
    position: relative;
}

.active::after {
    content: "";
    display: block;
    width: 5rem;
    height: 0.15rem;
    background: linear-gradient(to right, rgba(254, 190, 51, 1), rgba(254, 190, 51, 0));
    position: absolute;
    margin-top: 0.3rem;
}

