/*
Theme Name: Twenty Twenty-Five Child
Author: Lukas Winterleitner
Description:  Child Theme für Twenty Twenty‑Five
Version: 1.0
Template: twentytwentyfive
*/

@font-face {
  font-family: 'F1';
  src: url( 'fonts/Formula1-Black.ttf' ) format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'F1-Bold-Web';
  src: url( 'fonts/Formula1-Bold_web.ttf' ) format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'F1-Bold';
  src: url( 'fonts/Formula1-Bold-4.ttf' ) format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'F1-Italic';
  src: url( 'fonts/Formula1-Italic.ttf' ) format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'F1-Regular';
  src: url( 'fonts/Formula1-Regular-1.ttf' ) format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'F1-Wide';
  src: url( 'fonts/Formula1-Wide.ttf' ) format('truetype');
  font-weight: normal;
  font-style: normal;
}


/* Global styles */
body {
  font-family: 'F1-Regular', sans-serif;
}


h1, h2, h3, h4, h5, h6 {
  font-family: 'F1-Bold', sans-serif;
}


/* Navigation styles */

div.wp-block-navigation__responsive-container {
  background-color: #e10600 !important;
}

.wp-block-navigation-item__label {
  font-weight: bold;
  color: #fff;
}

a.wp-block-navigation-item__content:hover {
  text-decoration: underline;
  text-decoration-color: #fff;
}

/* Register form styles */
.register-form form, .login-form form {
  display: inline-grid;
}

/* Race list styles */
h2.list-title {
  margin: 60px 0 20px 0;
}

option, label, .date-sort, .button, .custom-button, #status-filter, #continent-filter, #sprint-filter, a, p {
  font-family: 'F1-Regular', sans-serif;
}


.country-flags {
  vertical-align: middle;
  margin-left: 0.5em;
}

.country-flags.fi {
  font-size: 2em;
  border: 1px solid;
  border-radius: 5px;
}

.date-sort .is-checked {
    background: #e10600;
    color: #fff;
}

button {
  background-color: #38383F;
  color: #fff;
  border-radius: 5px;
  font-family: 'F1-Regular', sans-serif;
}

.race-grid {
  max-width: 100%;
}

.race-item {
  margin: 0;
  padding: 20px 0;
  width: 100%;
}

.race-content {
  border: 1px solid;
  border-radius: 5px;
  background-color: #333333;
  padding: 20px;
}

.race-content p, .event-countdown {
  color: #fff;
  text-align: left;
  font-family: 'F1-Regular', sans-serif;
}

span.event-data-label {
  font-weight: bold;
}

h3.event-title  {
  padding-bottom: 20px;
  color: #fff;
  text-align: center;
  font-family: 'F1', sans-serif;
}

h3.saved-event-title {
  padding-bottom: 20px;
  color: #fff;
  font-family: 'F1', sans-serif;
}

.select-event, .event-content {
  align-content: center;
}

.filter {
  margin: 20px 0 20px 0;
}

.filter .container .row .col-lg-4 {
  padding: 0;
  margin: 20px 0 20px 0;
}

.filter-label {
  font-weight: bold;
  font-size: 20px;
}

.select-event {
  text-align: center;
}

.custom-button {
  background-color: #e10600;
  color: #fff;
  font-weight: bold;
  border: 1px solid;
  border-radius: 5px;
  padding: 10px;
}

input[type="checkbox"] {
  width: 30px;
  height: 30px;
  accent-color: #e10600;
}

