// general tipography classes, used when @media is not necessary 
html {
    font-size: 62.5%;
}

p {
    text-align: justify;
    white-space: pre-line;
}

h1 {
    margin: 0px;
    margin-bottom: 10px;
    font-weight: 600;
}
h3 {
    margin: 0px;
    font-weight:400;
}
h2 {
    color: #022d5c;
    border-bottom: 2px solid #022d5c;
    padding-bottom: 5px;
    font-weight: 600;
}
h5, span {
    margin: 0px;
    font-weight: 200;
}
.link-yellow {
    color: #ffff98;
    text-decoration: none;
}
.link-yellow:hover {
    text-decoration: underline;
}

a {
    text-decoration: none;
}

.styled-title {
    color: white;
    margin-top: 0px;
    border-image: linear-gradient(90deg, red, yellow, green, rgb(0, 225, 255), purple, rgb(25, 0, 255)) 1;
    animation: animateBorderGradient 2s ease infinite;
    border-bottom: 3px solid;
}
@keyframes animateBorderGradient {
    0% { border-image-source: linear-gradient(90deg, red, yellow, green, rgb(0, 225, 255), purple, rgb(25, 0, 255)); }
    50% { border-image-source: linear-gradient(90deg, purple, rgb(25, 0, 255), red, yellow, green, rgb(0, 225, 255)); } 
    100% { border-image-source: linear-gradient(90deg, red, yellow, green, rgb(0, 225, 255), purple, rgb(25, 0, 255)); }
}

body {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-size: 1.6rem;
    color: #333;
    background-color: #d5e2f0;
}

// @media
@media only screen and (min-width: 1920px){
    h1 {
        font-size: 4rem; 
    }
    h2 {
        font-size: 2.6rem; 
    }
    h3 {
        font-size: 2.3rem;
    }
    p {
        font-size: 2rem; 
    }
    span, h5 {
        font-size: 1.9rem;
    }
    .sm-font-size {
        font-size: 1.5rem;
    }
}

@media only screen and (min-width: 1440px) and (max-width: 1920px){
    h1 {
        font-size: 3.6rem; 
    }
    h2 {
        font-size: 2.2rem; 
    }
    h3 {
        font-size: 1.9rem;
    }
    p {
        font-size: 1.8rem; 
    }
    span, h5 {
        font-size: 1.7rem;
    }
    .sm-font-size {
        font-size: 1.3rem;
    }
}
@media only screen and (min-width: 728px) and (max-width: 1440px){
    h1 {
        font-size: 3.3rem; 
    }
    h2 {
        font-size: 2.1rem; 
    }
    h3 {
        font-size: 1.9rem;
    }
    p {
        font-size: 1.8rem; 
    }
    span, h5 {
        font-size: 1.7rem;
    }
    .sm-font-size {
        font-size: 1.3rem;
    }
}

@media only screen and (min-width: 425px) and (max-width:768px) {
    h1 {
        font-size: 3rem; 
    }
    h2 {
        font-size: 1.9rem; 
    }
    h3 {
        font-size: 1.7rem;
    }
    p {
        font-size: 1.6rem; 
    }
    span, h5 {
        font-size: 1.5rem;
    }
    .sm-font-size {
        font-size: 1.1rem;
    }
}
@media only screen and (max-width:425px) {
    h1 {
        font-size: 2.6rem; 
    }
    h2 {
        font-size: 1.8rem; 
    }
    h3 {
        font-size: 1.6rem;
    }
    p {
        font-size: 1.5rem; 
    }
    span, h5 {
        font-size: 1.4rem;
    }
    .sm-font-size {
        font-size: 1rem;
    }
}