@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root{
    --color-primary: #b33a3a;
    --color-secondary: #861d30;
    --color-additional: #6d1111;
    --color-bright: #9c3434;
    --color-text: #d1d0d0;
} 
html{
    scroll-behavior: smooth;
}
body::before{
    content: "";
    display: block;
    height: 100px;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-decoration: none;
}
span{
    color: var(--color-primary);
}
h1, h2, h3, h4, h5, h6{
    font-family: 'Playfair Display', serif;
}
p, a{
    font-family: 'Lato', sans-serif;
}
section{
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 80px;
    scroll-margin-top: 120px;
}
.container{
    width: 100%;
    max-width: 1500px;
    height: 100%;
    padding: 0 50px;
}
.section-heading{
    font-size: 50px;
}

.to-top {
    background-color: var(--color-primary);
    z-index: 10000;
    position: fixed;
    bottom: 16px;
    right: 18px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: all .4s;
}
.to-top.active{
    bottom: 18px;
    pointer-events: auto;
    opacity: 1;
}
.to-top:hover{
    background-color: var(--color-additional);
}

@media (max-width: 550px){
    .section-heading{
        font-size: 40px;
    }
}
@media (max-width: 400px){
    .section-heading{
        font-size: 30px;
    }
}
@media (max-width: 380px){
    .container{
        padding: 0 30px;
    }
}