/* General */
* {
    font-family: "Roboto", Arial, serif;
    font-weight: normal;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    animation: fadeInAnimation ease 1.5s;
}

footer {
    background: #222831;
    color: #848484;

    width: 100%;

    padding-top: 5em;
    padding-bottom: 2em;

    margin-top: 7em; 
}

footer h3 {
    margin-bottom: 20px;
}

footer li > a {
    color: #656970;
    transition: 0.3s ease-in-out;
}

footer li > a:hover {
    color: #fa7e0a;
}

footer img {
    box-shadow: 0px 0px 0px 0 #888;
    background: white;

    border-style: solid;
    border-color: grey;
    border-width: 2px;
    border-radius: 30%;

    margin: 15px;
    margin-top: 0;

    height: 35px;
    width: 35px;

    transition: 0.3s ease-in-out;
}

button {
    background: none;
    border: none;
}

img, iframe{
    box-shadow: 2px 2px 20px 0 #888;
    border-radius: 1%;
}

li {
    padding-top: 10px;
    padding-bottom: 10px;
    list-style: none;
}

hr {
    color: #393e46;

    margin-top: 1em;
    margin-left: 5vw;
    margin-right: 5vw;
}

p {
    color: #848484;
}

a {
    color: black;
    text-decoration: none;
}

/* Class's */
.bar-links {
    font-size: 1.5em;

    padding-top: 40px;
    padding-bottom: 40px;
    transition: background 0.3s ease-in-out;
}

.bar-links:hover {
    background: #efefef;
    cursor: pointer;
}

.bar-links:active {
    background: #f6f5f5;
}

.center-content {
    width: 60vw;

    padding-left: 10px;
    margin-left: auto;
    margin-right: auto;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.flex div {
    flex-basis: calc( calc(800px - 100%) * 999);
    flex-grow: 1;
    padding: 1em;
}

.social-media-icons:hover {
    background: #fa7e0a;
    border-color: #fa7e0a;
}

.social-media-icons:active {
    background: #faa352;
    border-color: #faa352;
}

.text-fade {
    color: #656970;
}

.team-logos {
    margin-top: 20px;
}

/* Id's */
/* Bar elements */
#bar {
    text-align: left;

    position: fixed;
    right: 0px;
    left: 0px;
    top: 0px;

    background: transparent;
    background-color: #ffffff;
    box-shadow: 0px 6px 5px -4px rgba(0, 0, 0, 0.22);

    -webkit-box-shadow: 0px 6px 5px -4px rgba(0, 0, 0, 0.22);
    -moz-box-shadow: 0px 6px 5px -4px rgba(0, 0, 0, 0.22);
    -ms-box-shadow: 0px 6px 5px -4px rgba(0, 0, 0, 0.22);
    -o-box-shadow: 0px 6px 5px -4px rgba(0, 0, 0, 0.22);

    display: grid;
    grid-template-columns: auto 40vw;
    grid-column-gap: 2vw;
}

#bar-title {
    margin-left: 30px;
    margin-top: 18px;
    margin-bottom: 15px;
}

#bar-title h1 {
    font-size: 2em;
    margin-top: 15px;
}

#bar-elements {
    font-size: 1em;

    display: grid;
    grid-template-columns: auto auto auto auto;
}

#logo {
    width: 66px;
    height: 66px;
    margin-right: 2vw;

    float: left;
}

#logo, img[src^="images/GDMS"], img[src^="../../images/GDMS"] {
    box-shadow: none;
    border-radius: 0;
}

/* Dropdown menu code */
#dropdown-content {
    text-align: left;

    display: none;
    position: absolute;

    margin-top: 40px;

    background: #ffffff;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    -ms-box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    -o-box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

#dropdown-content > ul > li {
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 8px;
    padding-top: 8px;
    transition: 0.3s ease-in-out;
}

#dropdown-content > ul > li:hover {
    background: #efefef;
}

#dropdown-content > ul > li:active{
    background: #fbfbfb;
}

.bar-links:hover #dropdown-content {
    display: block;
}

#welcome { 
    color: white;
    text-align: center;
    font-size: 1.5em;

    line-height: 4;
    
    background-image: url(../images/Banner/Banner.png);

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    padding-top: 40vh;

    min-height: 100vh;
}

#main-content {
    font-size: 1.2em;
    line-height: 1.8;

    margin-top: 7em;
}

#main-content p > a {
    color: #fa7e0a;
    text-decoration: none;
}

#main-content p > a:hover {
    color: #faa352;
    text-decoration: underline;
}

#about {
    margin-bottom: 30px;
    padding: 1em;
}

#gallery {
    text-align: center;
    line-height: 5;
}

#paragraph {
    display: grid;
    grid-template-rows: auto;
    grid-row-gap: 45px;
}

#our_robots {
    text-align: center;
    margin-left: 100px;
    margin-right: 100px;
    margin-bottom: 5vh;
}

#robot_images {
    display: grid;
    grid-template-columns: auto auto;

    text-align: center;
}

#contact-us {
    line-height: 1.5;
}

#copyright-and-socials {
    text-align: center;
    padding-top: 2em;
}

@media screen and (max-width: 1350px) {
    #bar-title h1 {
        font-size: 1.6em;
        margin-top: 20px;
    }

    #logo {
        width: 50px;
        height: 50px;
        margin-top: 13px;
    }
}

@media screen and (max-width: 1074px) {
    .bar-links {
        font-size: 1.2em;
    }

    #bar-title h1 {
        font-size: 1.5em;
    }

    #logo {
        width: 40px;
        height: 40px;
    }

}

@media screen and (max-width: 800px) {
    #bar-title h1 {
        font-size: 0.9em;
    }

    #logo {
        width: 35px;
        height: 35px;
    }
}

/* Mobile */
@media screen and (max-width: 600px) {
    .bar-links {
        font-size: 0.5em;
        text-align: left;

        background: #ffffff;
        padding-left: 10px;

        text-align: left;
        display: inherit;
    }

    .center-content {
        display: block;
        width: auto;
    }

    #bar {
        height: 65px;
        grid-template-columns: auto 35vw;
        margin: 0;
    }

    #bar-title {
        margin-left: 10px;
    }

    #bar-title h1 {
        margin-top: 10px;
    }

    #logo {
        margin-top: 0;
    }

    #menu-button {
        font-size: 2em;
        margin-top: 15px;

        height: max-content;
    }

    #menu-button:before {
        content: '☰';
    }

    #menu-button:focus-within #bar-elements {
        display: block;
    }

    #bar-elements {
        display: none;

        margin-top: 12px;

        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        -webkit-box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        -moz-box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        -ms-box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        -o-box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    }
    
    #dropdown-content {
        position: static;
        margin: 0;

        background-color: transparent;
        font-size: 0.9em;

        box-shadow: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        -ms-box-shadow: none;
        -o-box-shadow: none;
    }

    #dropdown-content > ul > li {
        padding: 10px;
        padding-left: 10px;
        margin-top: 15px;
        transition: background 0.2s ease-in-out;
    }

    #dropdown-content > ul > li:hover, .dropdown-content > ul > li:active {
        background: #faf6f1;
    }

    #paragraph {
        padding-top: 10px;
    }

    #welcome {
        font-size: 1em;
    }

    #main-content {
        font-size: 1em;    
        margin-top: 3em;
    }

    #about {
        padding: 15px;
    }

    #ftc-sponsors-merch {
        display: block;
        flex-wrap: none;
    }

    #gdms-canada-logo {
        text-align: left;
    }

    #our_robots {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        padding: 15px;
        margin-bottom: 5vh;
    }

    #robot_images {
        display: block;
        text-align: center;
    }

    #affiliations-and-contacts {
        display: block;
        width: auto;
    }
}

@media screen and (max-width: 361px) {
    #bar-title h1 {
        font-size: 0.7em;
        margin-top: 10px;
    }

    #logo {
        width: 32px;
        height: 32px;
    }
}

/* keyframes */
@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
     }
}
