* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style-type: none;
    color: black;
    font-family: 'Montserrat', sans-serif;
}

::-moz-selection {
    background: rgba(229, 8, 21, 0.5);
    color: white;
}

::selection {
    background: rgba(229, 8, 21, 0.7);
    color: white;
}

body,
html {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

main {
    position: relative;
    margin-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

h1 {
    font-weight: 900;
    font-size: 36px;
    text-transform: uppercase;
}

h2 {
    font-weight: 900;
    font-size: 29px;
    text-transform: uppercase;
    text-align: center;
}

h3 {
    font-weight: 900;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
}

section {
    width: 100%;
    display: flex;
}

.image_container img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

header {
    position: fixed;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 0;
    z-index: 101;
    background-color: #F5F5F5;
}

header a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90%;
    font-size: 14px;
    font-weight: 500;
    color: #E50815;
}

header nav {
    width: 80%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    padding-right: 5vw;
}

header a>img {
    max-height: 100%;
    padding-left: 5vw;
    max-width: 250px;
    width: 100%;
}

header nav>a:not(:last-child) {
    padding-bottom: 5px;
    padding-top: 5px;
    background: linear-gradient(to top, #E50815 0%, #E50815 10%, transparent 10.01%) no-repeat left bottom / 0 100%;
    transition: background-size .2s;
}

header nav>a:hover:not(:last-child) {
    background-size: 100% 100%;
}

header nav>a:last-child {
    position: relative;
    text-decoration: none;
    color: white;
    padding: 10px 30px;
    text-align: center;
    border: solid 3px #E50815;
    background-color: #E50815;
    z-index: 1;
}

header nav>a:last-child:hover {
    color: #E50815;
    cursor: pointer;
    transition-duration: 0.1s;
    text-decoration: none;
}

header nav>a:last-child::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: white;
    transform-origin: left;
    transition: width 0.25s ease;
    z-index: -1;
}

header nav>a:last-child:hover::after {
    width: 100%;
}

#burger_menu {
    display: none;
    height: 325px;
}

.menu-btn {
    margin-right: 50px;
    position: relative;
    display: none;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all .5s ease-in-out;
}

.menu-btn__burger {
    width: 30px;
    height: 3px;
    background: #E50815;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(255, 101, 47, .2);
    transition: all .5s ease-in-out;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: #E50815;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(255, 101, 47, .2);
    transition: all .5s ease-in-out;
}

.menu-btn__burger::before {
    transform: translateY(-10px);
}

.menu-btn__burger::after {
    transform: translateY(10px);
}

/* ANIMATION */
.menu-btn.open .menu-btn__burger {
    transform: translateX(-50px);
    background: transparent;
    box-shadow: none;
}

.menu-btn.open .menu-btn__burger::before {
    transform: rotate(45deg) translate(35px, -35px);
}

.menu-btn.open .menu-btn__burger::after {
    transform: rotate(-45deg) translate(35px, 35px);
}

.section_title {
    margin: 50px;
}

.call-to-action {
    position: relative;
    text-decoration: none;
    color: #E50815;
    padding: 16px 32px;
    text-align: center;
    border: solid 3px #E50815;
    font-size: 20px;
    font-weight: 600;
    z-index: 1;
}

.call-to-action:hover {
    color: white;
    cursor: pointer;
    transition-duration: 0.1s;
    text-decoration: none;
}

.call-to-action::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #E50815;
    transform-origin: left;
    transition: width 0.25s ease;
    z-index: -1;
}

.call-to-action:hover::after {
    width: 100%;
}

footer {
    background-color: #202020;
    position: relative;
    z-index: -1;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.footer_container {
    height: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer_left,
.footer_right {
    width: 40%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.footer_link {
    margin: 15px;
}

.footer_link a {
    color: white;
}

.footer_right h2 {
    color: white;
    text-align: right;
    margin-bottom: 50px;
}

.footer_right {
    align-items: flex-end;
}

.logo_container {
    width: 50%;
    display: flex;
    justify-content: space-evenly;
}

.social_logo {
    width: 40px;
    height: 40px;
}

.social_logo img {
    width: 100%;
}

#madeby {
    color: lightgrey;
    line-height: 5;
    font-size: 12px;
}

#madeby a {
    color: white;
}

.footer_right h2 {
    font-size: 24px;
}

@media screen and (max-width: 1050px) {
    header nav {
        display: none;
    }

    #burger_menu {
        position: absolute;
        background-color: #F5F5F5;
        top: 100px;
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
    }

    #burger_menu>a:last-child {
        color: #E50815;
        padding: 10px 0px 10px 0px;
        border: none;
        background-color: transparent;
        z-index: 0;
    }

    #burger_menu a {
        padding-top: 10px;
        padding-bottom: 10px;
        width: 100%;
    }

    header nav>a {
        padding-bottom: 5px;
        padding-top: 5px;
        background: linear-gradient(to top, #E50815 0%, #E50815 10%, transparent 10.01%) no-repeat left bottom / 0 100%;
        transition: background-size .2s;
    }

    header nav>a:hover {
        background-size: 100% 100%;
    }

    header nav>a:last-child::after {
        background-color: transparent;
    }

    .menu-btn {
        display: flex;
    }

    .logo_container {
        width: 100%;
    }

    .footer_right h2 {
        font-size: 19px;
        text-align: center;
    }

    .footer_container {
        flex-direction: column;
        align-items: center;
        margin-top: 50px;
    }

    .footer_right,
    .footer_left {
        width: 80%;
        align-items: center;
    }
}