* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    font-family: "DM Sans", sans-serif;
    overflow: hidden;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 40px;
    aspect-ratio: 1;
    outline: 2px solid #fff;
    background:
      radial-gradient(farthest-side,#000 90%,#0000) 0 0/8px 8px no-repeat,
      conic-gradient(from  90deg at 10px 10px,#0000 90deg,#fff 0),
      conic-gradient(from -90deg at 30px 30px,#0000 90deg,#fff 0);
    animation: l3 1.5s infinite;
  }
  @keyframes l3 {
    0%   {background-position:0    0   ;clip-path:circle(15px at left  4px top    4px)}
    25%  {background-position:100% 0   ;clip-path:circle(15px at right 4px top    4px)}
    50%  {background-position:100% 100%;clip-path:circle(15px at right 4px bottom 4px)}
    75%  {background-position:0    100%;clip-path:circle(15px at left  4px bottom 4px)}
    100% {background-position:0    0   ;clip-path:circle(15px at left  4px top    4px)}
  }

.transition {
    transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -ms-transition: all .3s ease;
}

.text-center {
    text-align: center;
}

.text-white {
    color: #F7F7F7;
}

.display-1 {
    font-size: 3rem;
    font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

.mt-5 {
    margin-top: 3rem;
}
.mb-5 {
    margin-bottom: 3rem;
}
.my-5 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 2rem;
}
.mb-4 {
    margin-bottom: 2rem;
}
.my-4 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.mt-3 {
    margin-top: 1rem;
}
.mb-3 {
    margin-bottom: 1rem;
}
.my-3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.mt-2 {
    margin-top: .5rem;
}
.mb-2 {
    margin-bottom: .5rem;
}
.my-2 {
    margin-top: .5rem;
    margin-bottom: .5rem;
}

.mt-1 {
    margin-top: .25rem;
}
.mb-1 {
    margin-bottom: .25rem;
}
.my-1 {
    margin-top: .25rem;
    margin-bottom: .25rem;
}

.pt-5 {
    padding-top: 3rem;
}
.pb-5 {
    padding-bottom: 3rem;
}
.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.pt-4 {
    padding-top: 2rem;
}
.pb-4 {
    padding-bottom: 2rem;
}
.py-4 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.pt-3 {
    padding-top: 1rem;
}
.pb-3 {
    padding-bottom: 1rem;
}
.py-3 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.pt-2 {
    padding-top: .5rem;
}
.pb-2 {
    padding-bottom: .5rem;
}
.py-2 {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.pt-1 {
    padding-top: .25rem;
}
.pb-1 {
    padding-bottom: .25rem;
}
.py-1 {
    padding-top: .25rem;
    padding-bottom: .25rem;
}

.btn {
    display: inline-block;
    padding: .75rem 1.5rem;
    border-radius: 2px;
    text-decoration: none;
    color: #F7F7F7;
    background-color: transparent;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    border: 2px solid #F7F7F7;
}

.btn-reverse {
    color: #1A1A1A;
    background-color: #F7F7F7;
    border: 2px solid #1A1A1A;
}

.btn:hover, .btn.active {
    background-color: #F7F7F7;
    color: #1A1A1A;
}

.btn-reverse:hover, .btn-reverse.active {
    background-color: #1A1A1A;
    color: #F7F7F7;
}

.form-group {
    margin: 1rem 0;
}

.form-control {
    padding: .75rem 1.5rem;
    border: none;
    background: #fff;
    width: 100%;
}

.lead {
    font-size: 1.4rem;
}

@media (max-width: 767px) {
    .display-1 {
        font-size: 2rem;
    }
}

section {
    position: relative;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('images/blue-gradient.jpg');
}

section.overflow {
    overflow-y: scroll;
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/blue-gradient.jpg');
    background-size: cover;
    background-position: center;
    opacity: .75;
}

section * {
    z-index: 2;
}

.option-chooser {
    display: block;
}

.option-chooser .btn {
    display: block;
    margin-bottom: .5rem;
}

.control-buttons .prev, .control-buttons .next {
    position: fixed;
    bottom: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
    line-height: 40px;
    font-size: 30px;
    text-align: center;
    background: rgba(255,255,255,.25);
    border-radius: 50%;
}

.control-buttons .prev:hover, .control-buttons .next:hover {
    background: rgba(255,255,255,.5);
    cursor: pointer;
}

.control-buttons .next {
    left: auto;
    right: 10px;
}

.result-item {
    display: block;
    position: relative;
    padding-bottom: .25rem;
}


.description {
    background: rgba(255,255,255,.75);
    font-size: .85rem;
    padding: .5rem 1rem;
    opacity: .75;
}

.result-item .text-container p {
    padding: .25rem .5rem;
    margin: 0;
    background: #fff;
    background: rgba(255,255,255,.25);
    border-radius: 5px;    
    position: relative;
    opacity: .3;
}
.result-item .text-container p .txt {
    position: relative;
    z-index: 2;
}
.result-item .text-container p .percentage {
    position: absolute; 
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(177, 231, 252, .5);
    z-index: 0;
}
.result-item .text-container p.best {
    font-weight: bold;
    opacity: 1;
}
.result-item .text-container p.best .percentage {
    background: #c5ff9e;
}

.w-100 {
    width: 100%;
}

main {
    height: 100%;
    overflow-y: scroll;
    background: url('images/final.jpg') no-repeat center fixed;
    background-size: cover;
}

canvas {
    padding: 1rem;
    background: #fff;
}
