/* open-sans-condensed-300 - latin */
@font-face {
    font-family: 'Open Sans Condensed';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/open-sans-condensed-v12-latin-300.eot'); /* IE9 Compat Modes */
    src: local('Open Sans Condensed Light'), local('OpenSansCondensed-Light'),
         url('../fonts/open-sans-condensed-v12-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/open-sans-condensed-v12-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/open-sans-condensed-v12-latin-300.woff') format('woff'), /* Modern Browsers */
         url('../fonts/open-sans-condensed-v12-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/open-sans-condensed-v12-latin-300.svg#OpenSansCondensed') format('svg'); /* Legacy iOS */
}
  
  /* source-sans-pro-regular - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/source-sans-pro-v11-latin-regular.eot'); /* IE9 Compat Modes */
    src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'),
         url('../fonts/source-sans-pro-v11-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/source-sans-pro-v11-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/source-sans-pro-v11-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/source-sans-pro-v11-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/source-sans-pro-v11-latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

html, body {
    background-color: #FFFFFF;
    margin: 0;
    padding: 0;
    
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1em;
}

#top-menu {
    width: 100%;
    height: 50px;
    background-color: #282a35;
    position: relative;
}

#top-menu h1 {
    margin-left: 20px;
    color: white;
}

#clear-all-groups-button {
    margin-top: 5px;
    height: 40px;
    position: absolute;
    top: 0;
    right: 4;
    color: white;
    background-color: #414454;
    border: none;
    border-radius: 5px;
    font-size: 18px;  
}

#clear-all-groups-button:hover {
    background-color: #000000;
}

#roulette-animation-area {
    float: left;
    width: 50%;
    height: 100%;
    background-color: black;
    background-repeat: no-repeat;
    background-size: contain;
}

#roulette-animation {
    width: 100%;
    padding-bottom: 75%;
    position: relative;
    background-size: 100%;
    background-repeat: no-repeat;
}

#roulette-animation-result {
    width: 40%;
    color: white;
    position: absolute;
    top: 50%;
    left: 33%;
    text-align: center;
    font-size: 3vw;
}

#roulette-animation-result .fade-in {
    animation: fadeIn 4s;
    -webkit-animation: fadeIn 4s;
    -moz-animation: fadeIn 4s;
    -o-animation: fadeIn 4s;
    -ms-animation: fadeIn 4s;
}

@keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}
  
@-moz-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}
  
@-webkit-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}
  
@-o-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}
  
@-ms-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}

#groups {
    float: left;
    width: 50%;
    height: 100%;
    background-color: white;
}

.add-group input {
    width: calc(100% - 62px);
    height: 40px;
    margin-left: 4px;
    margin-right: 4px;
    border-radius: 5px;
}

#add-group-button {
    width: 50px;
    height: 40px;
    margin-right: 4px;
    border-radius: 5px;
    font-size: 16px;
}

#groups h1 {
    height: 50px;
    margin-left: 4px;
    margin-right: 4px;
    padding-left: 15px;
    color: white;
    background-color: #282a35;
    border-radius: 5px;
}

.group-overview {
    margin-left: 20px;
    margin-right: 20px;
}

.group-header {
    width: 100%;
}

.group-header h2 {
    height: 40px;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 15px;
    color: white;
    background-color: #282a35;
    border-radius: 5px;
    position: relative;
}

.group-header .add-to-group-input {
    width: calc(100% - 54px);
    height: 30px;
    margin-left: 0px;
    margin-right: 4px;
}

.group-choose-button {
    height: 50px;
}

.add-to-group-button {
    width: 50px;
    height: 30px;
    margin-right: 0px;
    border-radius: 5px;
    font-size: 16px;
}

.group-remove-button {
    width: 40px;
    height: 40px;
    margin-left: 10px;
    position: absolute;
    top: 0;
    right: 0;
    color: white;
    background-color: #282a35;
    border: none;
    font-size: 16px;
}

.group-remove-button:hover {
    background-color: #414454;
}

.group-choose-button {
    margin-top: 10px;
    color: white;
    background-color: #282a35;
    border-radius: 5px;
    font-size: 18px;
}

.group-choose-button:hover {
    background-color: #414454;
}

.group-overview ul {
    margin: 0;
    padding-top: 10px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 10px;
}

.group-entry {
    list-style-type: none;
    position: relative;
    background-color: #eee;
}

.group-entry:nth-child(odd) {
    background-color: #f9f9f9;
}

.group-entry-remove-button {
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-color: transparent;
    border: none;
}

.group-entry-remove-button:hover {
    color: white;
    background-color: #282a35;
}
