p
{
    font-family: 'Ubuntu', sans-serif;
}
h1,h2,h3,h4
{
    font-family: 'Ubuntu', sans-serif;
}


/* fading animations */
.fadeT
{
    -webkit-animation: fadeT 1.2s both;
    -moz-animation: fadeT 1.2s both;
    -o-animation: fadeT 1.2s both;
    animation: fadeT 1.2s both;
}
@-webkit-keyframes fadeT
{
    0%
    {
        opacity: 0;
        -webkit-transform: translateY(-30px);
    }
    100%
    {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}
@-moz-keyframes fadeT
{
    0%
    {
        opacity: 0;
        -moz-transform: translateY(-30px);
    }
    100%
    {
        opacity: 1;
        -moz-transform: translateY(0);
    }
}
@-o-keyframes fadeT
{
    0%
    {
        opacity: 0;
        -o-transform: translateY(-30px);
    }
    100%
    {
        opacity: 1;
        -o-transform: translateY(0);
    }
}
@keyframes fadeT
{
    0%
    {
        opacity: 0;
        transform: translateY(-30px);
    }
    100%
    {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FOOTER SECTION */

footer
{
    background-color: #333333;
    padding-top: 5rem;
    margin-top: auto;
}
#top_footer_section
{
    border-bottom: #333333 solid 1pt;
}
#footer_logo
{
    padding: 0.5rem;
    border-radius: 25px;
    background-color: white;
    height: 75px;
    width: 100px;
    margin-bottom: 1rem;
}

#company_summary_container
{
    display: flex;
    flex-direction: column;
}
#company_summary_text
{
    width: 60%;
    color: #b5b5b5;
}
.footer_nav_section
{
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: auto 60%;
    justify-content: space-between;
}
#link_group_container
{
    display: grid;
    grid-template-columns: auto auto auto;
    justify-self: center;
    gap: 4rem;
}
.footer_nav_titles
{
    color: white;
    font-family: 'Ubuntu bold', sans-serif;
    font-size: 120%;
    margin-bottom: 1.5rem;
    white-space: nowrap;
}
.footer_nav_item
{
    width: fit-content;
    color: #b5b5b5;
    font-family: 'Ubuntu', sans-serif;
    white-space: nowrap;
    transition: 0.3s;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.footer_nav_item:hover
{
    color: #ffffff;
}
#footer_list_1
{
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
#footer_list_2
{
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
#footer_list_3
{
    display: flex;
    flex-direction: column;
    row-gap: 0.6rem;
}
.contact_row
{
    display: flex;
    flex-direction: row;
}
.footer_images
{
    margin-top: 1rem;
}
#email_text
{
    padding: 0.5rem;
    text-overflow: ellipsis;
    overflow-y: hidden;
}
#phone_text
{
   padding: 0.5rem;
   text-overflow: ellipsis;
   overflow-y: hidden;
}
#bottom_footer_section
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem;
    background-color: #404040;
    padding-left: 7rem;
    padding-right: 7rem;
    margin-top: 2rem;
}

/* HEADER SECTION */

#logo_image
{
    height: 60px;
    width: 85px;
    padding-top: 0.2rem;
}
header
{
    background-color: rgb(255, 255, 255);
    position:sticky;
    top: 0;
    padding-bottom: 1rem;
    padding-left: 0.5rem;
    padding-right: 1rem;
    box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: 0.4s ease-in-out;
}
.header_nav_item
{
    padding-top: 1.5rem;
    padding-bottom: 1.45rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
    color: #333333;
    white-space: nowrap;
}
#header_sidebar_button
{
    display: none;
    border: none;
    background-color: white;
    transition: 0.2s;
    margin-top: 1.1rem;
    margin-bottom: 1.05rem;
    margin-left: 0.6rem;
    padding: 0.4rem;
    border-radius: 10px;
    align-self: flex-end;
}
#header_sidebar_button:hover
{
    background-color: #dfdfdf;
}
.header_dropdown_hidden
{
    display: none;
}

.header_cont
{
    display:flex;
    flex-direction:row;
    justify-content: space-between;
    top: 0;
    height: 3.1rem;
}
.header_links_container nav
{
    display: flex;
    flex-direction: row;
    gap: 0.1rem;
    padding-right: 1rem;
    font-size: medium;
    font-family: 'Ubuntu', sans-serif;
}
.header_links_container nav a:hover
{
    color: rgb(255, 255, 255);
    transition: 0.1s;
    background-color: #333333;
}
.dropdown_div
{
    padding-top: 1.5rem;
    padding-bottom: 1.45rem;
    float: left;
    overflow: hidden;
}
.dropdown_div:hover .dropdown_content
{
    display:block;
}
.dropdown_content
{
    margin-top: 1.45rem;
    display: none;
    position: absolute;
    min-width:auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    background-color: rgb(235, 235, 235);
}
.dropdown_item
{
    float: none;
    color: #333333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
.dropdown_item:hover
{
    background-color:#333333;
}

#header_dropdown_section
{
    margin-top: 2rem;
    display: none;
    font-size: medium;
    font-family: 'Ubuntu', sans-serif;
}
.header_dropdown_item
{
    border-radius: 15px;
    align-self: center;
    transition: 0.3s ease-in-out;
    padding: 1rem;
}
.header_dropdown_item:hover
{
    background-color: #333333;
    color: white;
}

/* BODY SECTION */

body
{
    background-color: rgb(220, 220, 220);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main_area_margins
{
    padding-left: 8rem;
    padding-right: 8rem;
    padding-bottom: 4rem;
    padding-top: 4rem;
}
#tnc_area
{
    background-color: white;
}
.tnc_text
{
    font-family: 'Ubuntu', sans-serif;
    color: #333333;
    font-size: 110%;
}
#tnc_container
{
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1rem;
    padding: 2rem;
}
.tnc_box
{
    display: flex;
    flex-direction: column;
    padding: 0.1rem;
    gap: 1rem;
}
.tnc_box_title
{
    font-weight: bold;
    font-size: 130%;
    font-family: 'Ubuntu bold', sans-serif;
}

#main_hero_container
{
    background-color: #333333;
    height: fit-content;
}
#hero_text_container
{
    color: #ffffff;
    font-family: 'Ubuntu bold', sans-serif;
    align-self: center;
    align-content: center;
}
#slide_title
{
    font-size: 400%;
}

/* media queries */
@media (min-width: 1500px)
{   
    .main_area_margins
    {
        padding-left: 12rem;
        padding-right: 12rem;
    }
}

@media (max-width: 1300px)
{
    #link_group_container
    {
        gap: 2rem;
    }
    .main_area_margins
    {
        padding-top: 2rem;
        padding-bottom: 2rem;
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

@media (max-width: 1100px)
{
    .tnc_text
    {
        font-size: 95%;
    }
    #slide_title
    {
        text-align: center;
    }
}

@media (max-width: 900px)
{
    #link_group_container
    {
        display: flex;
        flex-direction: column;
        row-gap: 2rem;
    }
    #slide_title
    {
        font-size: 250%;
    }
    .main_area_margins
    {
        padding-left: 4rem;
        padding-right: 4rem;
    }
    .header_normal_nav
    {
        display: none;
    }
    #header_sidebar_button
    {
        align-self:flex-end;
        display: inline-block;
    }
    .header_links_container nav
    {
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
        padding-right: 1rem;
        font-size: medium;
        font-family: 'Ubuntu', sans-serif;
    }
    #tnc_area
    {
        display: flex;
        flex-direction: column;
        height:fit-content;
    }
}

@media (max-width: 610px)
{
    .main_area_margins
    {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    .footer_nav_section
    {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    #link_group_container
    {
        gap: 1rem;
    }
    #company_summary_text
    {
        width: 90%;
        color: #b5b5b5;
    }
    #top_footer_section
    {
        margin: 1rem;
    }
}

@media (max-width: 500px)
{
    #bottom_footer_section
    {
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
        text-align: center;
    }
    #slide_title
    {
        font-size: 250%;
    }
}

@media (max-width: 350px)
{
    #slide_title
    {
        font-size: 180%;
    }
    .main_area_margins
    {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    #bottom_footer_section
    {
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
        text-align: center;
    }
}
