/* GENERAL */
:root{
    --black: rgb(47, 47, 47);
    --white: white;
}

*{
    box-sizing: border-box;
    color: inherit;
    text-decoration: inherit;
    font-family: 'Roboto';
    font-weight: 300;
}

img{
    max-width: 100%;
}

body{
    margin: 0;
    font-family: 'Roboto';
}

strong{
    font-weight: 500;
}

.no-margin-top p{
    margin-top: 0;
}

.content-container{
    overflow-x: hidden;
    margin: auto;
    max-width: 1500px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */

.top-header{
    background-color: var(--black);
    color: var(--white);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 0.2rem;
    padding-inline: 0.5rem;
    display: none;
}

.top-header-link{
    text-decoration: none;
}

.bottom-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    font-size: 1.05rem;
    text-transform: uppercase;
    font-weight: bold;
    gap: 3rem;
    position: relative;
}

.header-logo{
    width: 8rem;
}

.header-menu-list{
    list-style: none;
    display: flex;
    gap: 1rem;
    padding-left: unset;
    flex-wrap: wrap;
    align-items: center;
}

.header-submenu-list{
    list-style: none;
    display: flex;
    flex-direction: column;
    padding-left: unset;
    position: absolute;
    top: 100%;
    background-color: var(--white);
    padding: 1rem;
    gap: 0.5rem;
    width: max-content;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear, height 0.5s ease;
    z-index: 10;
    box-shadow: 0px 6px 11px #6060606b;
    cursor: default;
}

.dropdown-menu-button{
    position: relative;
    cursor: pointer;
}

.hamburger-menu-icon{
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

.showDropdown{
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    margin-top: 0.5rem;
}

.phone-badge{
    border: 1px solid #50c85e;
    color: #50c85e;
    padding: 0.5rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    font-weight: bolder !important;
}

/* MAIN */
main{
    margin: 0 1rem 1rem 1rem;
}

/* FOOTER */
footer{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background-color: var(--black);
    color: var(--white);
    padding: 1rem 3rem 1rem 3rem;
    gap: 0.5rem;
    margin-top: auto;
}

.footer-element{
    padding: 1rem;
    grid-column: span 1;
    grid-row: span 1;
}

.footer-title{
    font-size: 1.05rem;
    font-weight: bold;
}

.footer-list{
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-list-social{
    list-style: none;
    padding-left: 0;
    display: flex;
    gap: 0.5rem;
}

.footer-element-bottom{
    grid-column: span 3;
    text-align: center;
    font-size: 0.7rem;
}

.footer-list-social{
    font-size: 3rem;
    margin: 0;
    margin-top: 0.5rem;
}

.social-media-container{
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    padding: 0.3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: -1px -1px 8px #00000057;
    z-index: 100;
}

.social-media-container img{
    width: 2.5rem;
}

@media screen and (max-width: 600px) {
    /* HEADER */

    .top-header{
        display: flex;
        justify-content: center;
    }
    
    .top-header-link:nth-child(2){
        display: none;
    }

    .hamburger-menu-icon{
        display: block;
    }

    .bottom-header nav{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        opacity: 0;
        visibility: hidden;
        height: 0;
        transition: visibility 0s, opacity 0.5s linear, height 0.5s ease;
        z-index: 10;
        background-color: white;
        margin-top: 0;
        box-shadow: 0px 20px 20px #34343463;
    }

    .header-menu-list{
        flex-direction: column;
        padding-left: 1rem;
        align-items: unset;
    }

    .header-submenu-list{
        position: relative;
        width: 100%;
        padding: 0;
        height: 0;
        margin-left: 1rem;
        box-shadow: unset;
    }

    .phone-badge-bottom{
        display: none;
    }

    /* FOOTER */
    footer{
        grid-template-columns: 1fr;
    }

    .footer-element-bottom{
        grid-column: span 1;
    }
    
    .social-media-container{
        top: unset;
        transform: unset;
        bottom: 0;
        border-bottom-left-radius: unset;
    }
}