@import url('fonts.css');

:root {
	--accent-blue:#1F5DEA;
	--accent-blue-opaque:#1F5DEA77;
	--accent-blue-half-opaque:#1F5DEACC;
    --accent-purple: #A51FEA;
    --accent-yellow: #F5A623;
    --accent-red: #E21E1E;
	--dark-gray:#4F5362;
    --light-gray:#eee;
    --gray: #ddd;
}

* {
    padding: 0;
    margin: 0;
    font-family: FF-Mont, sans-serif;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    position: relative;
}

body {
    background: #fff;
    display: block;
    padding-bottom: calc(70px + 2rem);
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

a, a:visited, a:active {
    color: inherit;
}

a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

hr {
    border: none;
    border-top: 1px solid var(--light-gray);
    margin: 1rem 0;
}

hr.divider {
    border: none;
    border-top: 3px dashed var(--dark-gray);
    margin: 1rem 0;
}

textarea {
    width: 100%;
    resize: vertical;
    border: 1px solid var(--gray);
    padding: 0.5rem;
    box-sizing: border-box;
}

input[type=file] {
    width: 100%;
    border: 2px dashed var(--accent-blue);
    padding: 0.25rem;
}

input[type=text] {    
    border: 1px solid var(--gray);
    padding: 0.25rem;
    width: 100%;
}

input[type=text]:focus {
    outline: none;
    border: 1px solid var(--gray);
    border-bottom: 2px solid var(--accent-blue);
    transition: 0.3s;
}

input[type="submit"]:not([disabled]) {
    cursor: pointer;
}

select {
    width: 100%;
    padding: 0.5rem;
    margin: 1rem 0 0.5rem 0;
}

select option {
    padding: 0.5rem;
}

label {
    display: block;
    margin: 0.75rem 0 0.25rem 0;
}

header {
    z-index: 9001;
    position: sticky;
    vertical-align: middle;
    height: 61px;
    top: 0;
    background-color: #ffffff;
    border-bottom: 2px solid var(--accent-blue);
    box-sizing: border-box;
    vertical-align: middle;
}

header img {
    height: 39px;
    margin: 10px 2rem;
    display: inline-block;
}

header #menu {
    display: none;
    background-color: var(--accent-blue);
    color: #ffffff;
    text-align: center;
    position: absolute;
    top: 61px;
    left: 0;
    right: 0;
}

header #menu li {
    list-style: none;
    padding: 0.5rem 0;
    width: 100%;
}

header #menu li:hover {
    background-color: #ffffff;
    color: var(--accent-blue);
    cursor: pointer;
    transition: 0.3s;
}

footer {
    margin-top: 2rem;
    background-color: var(--light-gray);
    vertical-align: middle;
    text-align: center;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    clear: both;
}

footer img {
    width: 7rem;
    vertical-align: middle;
    margin-left: 1rem;
}

.w-100 {
    width: 100%;
}

#sandwich {
    float: right;
    margin: 10px 2rem;
}

div.sandwich-bar {
    width: 35px;
    height: 5px;
    background-color: var(--accent-blue);
    margin: 6px 0;
}

.error {
    margin-top: 1rem;
}

.btn {
    padding: 0.5rem 2rem;
    color: #ffffff;
    border: none;
}

.btn-primary {
    background-color: var(--accent-blue);
}

.btn-secondary {
    background-color: var(--dark-gray);
}

a.btn {
    color: #ffffff;
    display: inline-block;
    margin-top: 1rem;    
}

a.btn:hover {
    text-decoration: none;
}

.label {
    padding: 0.25rem 0.5rem;
    color: #ffffff;    
    background-color: var(--accent-blue);
}

.text-center {
    text-align: center;
}

.login-form {
    text-align: center;
    background-color: #fff;
    width: 90%;
    margin: 5vh auto;
}

.login-form .icon {
    float: left;
    font-size: 1.2em;
    vertical-align: middle;
}

.login-form a:hover {
    text-decoration: none;
}

.login-btn {
    width: 80%;
    color: #fff;
    text-align: center;
    padding: 0.75rem;
    margin: 0.25rem auto;
}

.login-btn#fb-login {
    background-color: #3C5A99;
}

.login-btn#g-login {
    background-color: #DB4437;
}

.login-btn#li-login {
    background-color: #0077B5;
}

.page-title {
    background-color: #fff;
    border-bottom: 3px solid var(--accent-blue);
    margin-bottom: 1rem;
    padding: 1rem;
    padding-left: 0;
    width: 100%;
}

.page-title h1 {
    text-transform: uppercase;
}

#wrapper {
    width: 60%;
    margin: 0 auto;
}

.date {
    background-color: var(--dark-gray);
    display: inline-block;
    width: auto;
    padding: 0.5rem;
    color: #ffffff;
    font-size: 0.8em;
    margin-top: 0.5rem;
}

.post {
    background-color: #fff;
    width: 100%;
    padding: 1rem;
    margin-top: 2rem;
    border-bottom: 2px dashed var(--accent-blue);
}

.teams {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
}

.team-container {
    width: 100%;
    margin-top: 2rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.team-container.user-team {
    border: 3px solid #f5a623 !important;
    box-shadow: 0 0 10px rgba(245, 166, 35, 0.5) !important;
}

.team-list {
    background-color: var(--accent-blue-opaque);
    color: #ffffff;
    width: 100%;
    padding: 1rem;
    text-align: center;
    height: 300px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}


.team-list:hover {
    background-color: var(--accent-blue-half-opaque);
    transition: 0.3s;
}

.team .team-img {
    position: absolute;
    width: 100vw;
    top: 61px;
    left: 0;
    right: 0;
    height: 50vh;
    object-fit: cover;
}

.team .team-header .team-cover .team-img {
    filter: blur(1px)
}

.team .team-header .team-logo {
    position: absolute;
    top: calc(25vh + 61px - 100px);
    left: calc(50% - 100px);
}

.team .team-header .team-logo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 5px solid var(--accent-blue);
}

.team {
    padding-top: calc(50vh + 1rem);
}

.team .team-title {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.team .team-topic {
    border: 3px dashed var(--accent-blue);
    text-align: center;
    margin: 1rem 0;
    padding: 1rem;
}

.team .team-bio {
    margin: 0.5rem 0;
}

.team .team-bio::first-letter {
    font-size: 3rem;
    color: var(--accent-blue);
}

.type {
    margin-top: 0.5rem;
    color: #fff;
    border-radius: 5px;
    padding: 0.25rem 1rem;
    text-transform: uppercase;
    font-size: 0.8em;
    display: inline-block;
    width: auto;
}

.type-0 {
    background-color: var(--accent-blue);
}

.type-1 {
    background-color: var(--accent-yellow);
}

.type-2 {
    background-color: var(--accent-purple);
}

.type-3 {
    background-color: var(--accent-red);
}

.type-4 {
    background-color: var(--accent-blue);
}

.type.mentor-type {
    display: none;
}

#team-members {
    background-color: var(--accent-blue);
    color: #ffffff;
    padding: 2rem;
    text-align: center;
}

.person-info {
    position: relative;
    margin: 1rem 0.5rem;
    height: 400px;
    overflow: hidden;
    width: 25%;
    text-align: center;
    display: inline-block;
    color: var(--dark-gray);
    background-color: #ffffff;
    border-radius: 10px;
    padding: 0.5rem;
}

.person-info.mentor {
    height: 500px;    
}

.person-info img {
    width: 60%;
    max-width: 60%;
    padding: 25px;
    margin: 0 auto;
    border-radius: 50%;
    display: block;
}

.person-info .person-name {
    color: #000000;
    font-weight: 600;
    text-transform: uppercase;
}

.person-info .person-email {
    text-transform: lowercase;
    margin: 0.25rem 0;
}

.person-info .person-bio {
    font-weight: 500;
    margin: 1.5rem 0 0.5rem 0;
    overflow: hidden;
    height: 200px;
    text-overflow: ellipsis;
}

.person-info.mentor .person-bio {
    height: 220px;
}

.person-info ul.person-social {
    position: absolute;
    right: 0;
    bottom: 0.5rem;
    left: 0;
    width: 100%;
    text-align: center;    
}

.person-info ul.person-social  li {
    display: inline-block;
    list-style: none;
    width: auto;
    margin: 0.25rem 0.5rem;
    font-size: 1.2em;
}

.person-single {
    margin: 0 auto;
    text-align: center;
}

.person-single img {
    width: 40%;
    max-width: 40%;;
}

.person-single .person-info {
    width: 100%;
    height: auto;
}

.person-single .person-info .person-social {
    position: relative;
    margin-top: 1rem;
}

#mentors, #crew {
    background-color: var(--accent-blue);
    text-align: center;
    width: 100%;
    margin: 0;
}

#mentors a:hover {
    color: inherit;
    text-decoration: none;
}

#sponsors {
    text-align: center;
}

#sponsors a:hover {
    text-decoration: none;
}

#sponsors img {
    width: 20%;
    margin: 1rem;
}

#sponsors h2 {
    margin-bottom: 1.5rem;
}

.stream-post {
    width: 100%;
    vertical-align: middle;
    border: 2px solid var(--accent-blue);
    margin-top: 1rem;
    padding: 1rem;
}

.stream-post img {
    width: 3rem;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
}

.stream-post .stream-post-user-info {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.25rem;
}

.stream-post .stream-post-user-name {
    font-weight: bold;
}

.stream-post .stream-post-user-props {
    text-transform: capitalize;
    color: var(--dark-gray);
}

.schedule-day {
    margin-top: 1rem;
}

.schedule-item {
    margin-top: 0.75rem;
}

.schedule-time {
    color: var(--accent-blue);
    font-size: 0.9em;
    font-weight: 600;
}

.radio-group{
    text-align: center;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    /* margin: 1rem 0; */
    align-items: stretch;
}

.radio {
    display: flex;
    flex-direction: column;
    width: 100%;
    cursor: pointer;
    border: 2px solid var(--gray);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 250px;
}

.radio:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 2px 8px rgba(31, 93, 234, 0.2);
}

.radio-head {
    background-color: var(--accent-blue);
    color: #fff;
    width: 100%;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 180px;
    justify-content: center;
}

.radio-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
}

.radio-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.radio-head h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.radio-body {    
    border: none;
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}

.radio-topic {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.radio.selected{
    border: 3px solid var(--accent-blue);
    box-shadow: 0 4px 12px rgba(31, 93, 234, 0.3);
}

.radio.selected .radio-body {
    border: none;
}

.radio.selected .radio-head {
    background-color: var(--accent-blue);
}

.radio-keywords {
    font-weight: bold;
    color: var(--dark-gray);
    font-size: 0.8em;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--light-gray);
}

/* MEDIA QUERIES */

@media screen and (max-width: 768px) {
    .radio-group {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media screen and (max-width: 480px) {
    .radio-group {
        grid-template-columns: 1fr;
    }
}

@media screen and (min-width: 768px) {
    .team-container {
        width: 30%;
    }
    
    .teams {
        flex-direction: row;
    }
}