*{
    margin: 0;
    padding: 0;
}
body {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: normal;
    padding-top: 58.5px;

    line-height: 1.6em;
}
.clr {
    clear: both;
}
.header {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #222;
}
.header:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .4;
    z-index: 1;
}
.h1 {
    color: white;
    font-size: 3.6rem;
    margin: 50px;
    z-index: 2;
}
.background-image {
    position: absolute;
    width: 100%;
    height: 100%;
}
.background {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.showing{
    opacity: 1;
}
.box-2 {
    float:left;
    width: 50%;
    height: 12em;
    border: 1px #333 solid;
    padding: 10px;
    box-sizing: border-box;
    margin: auto;
}
.images {
    float: left;
    width: 50%;
    margin: auto;
    height: 500px;
    border: 1px solid #333;
    margin-top: 30px;
    position: relative;
    background-image:url('Images/teamPhoto.jpg');
    background-position: center;
    background-size: cover;
}
.photo {
    float: left;
    width: 50%;
    margin: auto;
    height: 500px;
    border: 1px solid #333;
    margin-top: 30px;
    position: relative;
    background-size: cover;
    background-position: center;
}
.navbar {
    background: #00d5ff;
    /*padding: 0.5em 0;*/
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    top: 0;
    width: 100%;
    position: fixed;
}
.nav-menu {
    list-style: none;
    margin: 0;
    padding-left: 10px;
    display: flex;
    justify-content: center;
    z-index: 10;
}
.nav-item {
    position: relative;
}
.nav-item a {
    color: #fff;
    text-decoration: none;
    padding: 1em;
    display: block;
}
.nav-item a:hover, .nav-item.dropdown:hover > a {
    background: #fff;
    color: #222;
    transition: background 0.2s, color 0.2s;
}
.dropdown-menu {
    display: none;
    position: absolute;
    background: #333;
    min-width: 160px;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 100;
}
.dropdown-menu li a {
    padding: 0.75em 1em;
}
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}
.site-header {
    display: flex;
    align-items: center;
    padding: 1em;
    background: #00d5ff;
    /*border-top-left-radius: 8px;*/
}
.logo-container {
    margin-right: 1em;
}
.site-logo {
    height: 60px;
    width: auto;
}
.site-title {
    font-size: 2em;
    margin: 0;
    color: #ffffff;
}
.about-section {
    clear: both;
    background: #ffffff;
    padding: 1em;
    margin-top: 2em;
    border-top: 1px solid #ccc;
    font-size: 1em;
    color: #000000;
}
.sponsor-bar {
    width: 100%;
    background-color: #333;
    padding: 20px 0;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sponsor-header {
    font-size: 2.5em;
    margin-bottom: 20px;
}
.sponsor-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    
}
.sponsor-logo {
    max-height: 180px;
    object-fit: contain;
}
.video-header {
    text-align: center;
    margin: 40px 0 20px 0;
    font-size: 2.5em;
    color :black
}
iframe {
    margin: 0 auto 40px auto;
    display: block;
    border: none;
}
.social-links a {
    color: #0000EE;
    text-decoration: none;
}
.social-links a:hover {
    text-decoration: underline;
}
.social-links a:visited {
    color: #0000EE;
}
.video-bar {
    background-color: white;
    padding: 20px;
    border-top: 1px solid #eee;
}
.past-robots {
    background-color: #f9f9f9;
    padding: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}
.past-robots-header {
    font-size: 2.5em;
    margin-bottom: 20px;
}
.past-robots-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.past-robot-logo {
    flex: 0 1 45%;
    max-width: 45%;
    margin-bottom: 20px;
    object-fit: contain;
}
.contact-form-container {
    max-width: 700px;
    margin: 50px auto;
    padding: 40px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-form h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8em;
    color: #333;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #00d5ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.2em;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #00b8e6;
}