@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


:root{
    --color-primary: #FF2D2D;
    --color-secondary: #141414;
    --color-additional: #6d1111;
    --color-nav: #ff3737;
    --color-text: #d1d0d0;
} 
html{
    scroll-behavior: smooth;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Poppins";
    text-decoration: none;
}
body{
    background-image: url('../images/background_image.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}
section{
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 50px;
}
.container{
    width: 100%;
    max-width: 1500px;
    height: 100%;
    padding: 0 50px;
}
.section-heading h1#back-text{
    transform: translate(-50px, 30px);
}
.section-heading h1{
    text-transform: uppercase;
    font-size: 80px;
    line-height: 70px;
    color: #fff;
}

.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: 380px){
    .container{
        padding: 0 30px;
    }
}
@media (max-width: 1500px){
    .section-heading h1{
        font-size: 60px;
        line-height: 50px;
    }
    .section-heading h1#back-text {
    transform: translate(20px, 20px);
    }
}

@media (max-width: 576px) {
    .section-heading{
        text-align: center;
    }    

    .section-heading h1 {
        font-size: 40px;
        line-height: 36px;
    }

    .section-heading h1#back-text {
        font-size: 40px;
        transform: translate(0, 15px);
    }
}