html {
  background: #c8fff4;
  font-family: "Poppins";
  font-size: 14px;
  color: #3700b3;
}
@font-face {
  font-family: "BoldenVan";
  src: url("/static/fonts/BoldenVan.woff") format("woff"),
    url("/static/fonts/BoldenVan.otf") format("opentype");
}
a.link {
  color: #3700b3;
  font-weight: bold;
}

h2 {
  color: #3700b3;
}

a.link:hover {
  border-bottom: 2px solid;
  text-decoration: none;
  color: #3700b3;
}
.heading {
  font-family: "BoldenVan", Arial;
  font-size: 40px;
  color: #3700B3;
}
.uk-navbar-nav a {
  border: none !important;
}
.uk-navbar-right .uk-navbar-nav li a {
  color: #ffffff;
  font-size: 1rem;
}
#footer {
  background: #181818;
  padding: 30px;
  color: #e5e3e3;
  font-size: 16px;
}
#footer p {
    padding: 1em;
}
#footer a {
  color: #e5e3e3;
}
#footer .uk-nav-default {
  font-size: 14px;
  color: #e5e3e3;
}
#footer .uk-nav-default a {
  color: #e5e3e3;
}
#footer .uk-nav-header {
  font-size: 1.5em;
  color: #e5e3e3;
  text-transform: none;
  font-weight: bold;
}
.frontbutton,
.frontbutton:hover {
  font-size: 20px;
  font-weight: bold;
  text-transform: none;
  color: #fff;
  border-radius: 100px;
  padding: 10px 0;
  width: 250px;
  display: block;
  margin: 0 auto;
  border: 0;
}
.pinkbutton {
  background: #ff47da;
}
.bluebutton {
  background: #3700b3;
}
.bluetext {
  color: #3700b3;
}
.fieldstyle,
.fieldstyle::placeholder {
  /*color: #3700B3 !important;*/
  font-weight: bold;
  font-size: 12px;
}
.fieldstyle {
  /*border: none;*/
  border-radius: 8px;
  box-shadow: 0 0 20px #ccc;
}
.primarybutton {
  font-size: 14px;
  font-weight: bold;
  text-transform: none;
  color: #fff;
  border-radius: 8px;
  padding: 15px 0;
  border: none;
}
.info {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}
.competition-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 20px #ccc;
}
.uk-text-lead {
  color: #3700b3;
}
input:focus::placeholder {
  color: transparent !important;
}

/* New CSS introduced by Vinkel */
ul.form-errors {
  margin-top: 0;
  margin-bottom: 0;
}

ul.form-errors li {
  padding-top: 0.1em;
  color: #f0506e;
}

div.card-container {
    justify-content: space-evenly;
    display: flex;
    flex-wrap: wrap;
    margin-top: 2em;
}

/* A custom breakpoint we just made up */
@media screen and (max-width: 620px) {
    div.card-container {
        flex-direction: column;
    }

    html body div.card-container > .uk-card {
        width: 100%;
    }
}


div.card-container > .uk-card {
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    margin-bottom: 2em;
    width: 18em;
}

div.card-container .uk-card-media-top {
    height: 200px;
}

div.card-container .competition-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

div.card-container .competition-image-placeholder {
    background-color: #e5e5e5;
    width: 100%;
    height: 100%;
}

div.card-container .competition-organization {
    border-bottom: 1px solid #e5e5e5;
    padding: 1em;
}

div.card-container .competition-value {
    font-size: 1.3em;
}

div.card-container .competition-participants {
    border-bottom: 1px solid #e5e5e5;
}


div.card-container .enter-competition-button {
    display: block;
    background-color: #EB5757;
    border-radius: 100px;
    color: white;
    margin: 1em;
    padding: 0 20px;
    text-transform: none;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

div.card-container .competition-draw-details {
    padding: 1em;
    margin: 0;
}

div.card-container .competition-details {
    padding: 1em;
    flex-grow: 1;
    border-bottom: 1px solid #e5e5e5;
}

div.card-container .competition-details p {
    margin-top: 0px;
    margin-bottom: 0.4em;
}

div.card-container .competition-details p:last-child {
    margin-bottom: 0;
}

div.card-container ul.competition-bulletpoints {
    margin-top: 0;
    margin-bottom: 0.5em;
    padding: 1em;
    padding-bottom: 0;
    list-style-type: none;
}

div.card-container ul.competition-bulletpoints li {
    margin-bottom: 0.4em;
}

div.card-container .competition-name {
    font-size: 1.5em;
    font-weight: bold;
}

.participate-competition {
    display: flex;
    justify-content: center;
}

label.uk-form-label {
    font-size: 1.5em;
}

/* Competition buttons */
.competition-status-buttons {
    display: flex;
    justify-content: space-around;
    max-width: 40rem;
    margin: 0 auto;
}

.competition-status-buttons a.active-status {
    color: #3700B3;
    border: 1px solid #3700B3;
    background-color: #c8fff4;
}

.competition-status-buttons a,
a.index-button {
    font-size: 1.3em;
}

.competition-status-buttons a:last-child,
a.index-button:last-child {
    margin-right: 0px;
}

/* The "Small" breakpoint in UiKit */
@media screen and (max-width: 479px) {
    .competition-status-buttons {
        flex-direction: column;
        min-height: 10rem;
    }
}

/* The Mini/Xsmall breakpoint in UiKit */
@media screen and (max-width: 767px) {
    .competition-status-buttons a {
        font-size: 1em;
        padding: 0 15px;
    }

}

/* Index CSS */
.how-it-works {
    text-align: center;
    color: #3D3367;
    font-family: "BoldenVan", Arial;
}
.index-container-secondary-background {
    background-color: #8BFFE8;
}

.index-how-it-works-cards {
    margin-left: 0;
}

.index-how-it-works-cards > * {
    text-align: center;
    padding: 1em;
}

.index-how-it-works-cards .uk-card-body {
    padding: 25px;
}

.index-how-it-works-cards .uk-card-body h3.uk-card-title {
    margin-top: 20px;
    margin-bottom: 10px;
}

.index-how-it-works-cards .uk-card > .fas {
    color: #3700B3;
}

.index-top-container {
}

.index-top-container > * {
    border: 1px solid black;
    padding: 1em;
}


.uk-button-primary {
    background-color: #3700B3;
    border-radius: 100px;
    font-size: 1.3em;
}

html body .uk-navbar-item, .uk-navbar-nav >li > a {
    font-family: "Poppins";
    padding: 0 18px;
}

#off-menu .uk-offcanvas-bar ul {
    margin-top: 3em;
    margin-left: 0;
    padding-left: 0;
}

#off-menu .uk-offcanvas-bar li {
    list-style-type: none;
    margin-bottom: 1em;
    font-size: 1.3em;
}

#off-menu .uk-offcanvas-bar li a:hover {
    text-decoration: none;
}
