@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');

* {
    box-sizing: border-box;
}

p {
    font-size: 16px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

span {
    font-size: 12px;
}

a {
    color: #333;
    text-decoration: none;
    margin: 15px 0;
}

button {
    border-radius: 20px;
    border: none;
    background-color: var(--main-color);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    transition: transform 80ms ease-in;
}

button[type="submit"] {
    text-transform: uppercase;
    letter-spacing: 1px;
}

form {
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    text-align: center;
}

input:not([type='checkbox']) {
    background-color: #f7f7f7;
    border: 1px solid #ced4da;
    padding: 12px 15px;
    margin: 8px 0;
}

input[type="checkbox"] {
    padding: 10px;
}

.logo {
    max-height: 100px;
}

.main-container {
    width: auto;
    min-height: 480px;
    height: auto;
    overflow: hidden;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.form-container {
    min-height: 500px;
}

.log-in-container {
    z-index: 2;
}

.tab, .tab:active, .tab:hover, .tab:visited {
    background: rgb(227, 227, 227);
    color: #212529;
}

.selected-tab, .selected-tab:active, 
.selected-tab:hover, .selected-tab:visited {
    background: var(--main-color);
    color: #FFFFFF;
}

.overlay-container {
    padding: 0;
}

.overlay {
    background: var(--main-color);
    background-size: cover;
    color: #FFFFFF;
    position: relative;
    height: 100%;
}

.overlay-with-bg-image {
    background: linear-gradient(0deg, rgb(226 6 19 / 50%), rgb(226 6 19 / 50%)), url('/images/runners.png');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
}

.overlay-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 20px;
    text-align: center;
    height: 100%;
}

.social-container {
    margin: 50px 0;
}

.social-container a {
    border: 1px solid #DDDDDD;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    height: 40px;
    width: 40px;
}

#form-company input:not([type='checkbox']),
#form-company .bootstrap-select,
#form-individual input:not([type='checkbox']),
#form-individual .bootstrap-select {
    font-size: 0.8rem;
    margin: 0 0 10px 0;
}

.bootstrap-select > .dropdown-toggle {
    padding: 12px 15px;
}

#register-team-title {
    font-size: 2.2rem;
}

#instructions-section {
    font-size: 14px;
}

.language-switcher-wrapper {
    position: absolute;
    top: 1rem;
    right: 1rem;
    max-width: 240px;
}

@media (max-width: 768px) {
    .language-switcher-wrapper {
        position: unset;
        width: 100%;
        max-width: unset;
    }
}