html {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100%;
    position: relative;
    background-color: #15151D;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    box-sizing: inherit;
    margin: 0px 30px;
}

.page-content {
    width: 100%;
    height: 98vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.f1-logo {
    width: 350px;
    height: 150px;
}

h1 {
    color: #fff;
    font-size: 3em;
    margin-bottom: 0em;
    margin-top: -13px;
}

.search-infos p {
    color: #BDC1C5;
    font-size: 1.3em;
    margin-top: 8px;
}

.select-years,
.btn-search {
    width: 150px;
    height: 4vh;
    border-radius: 4px;
    font-size: 1em;
    text-align: center;
    border: none;
}

.select-years {
    background-color: #fff;
}

.btn-search {
    background-color: #FB1E00;
    color: #fff;
}

.btn-search:hover {
    cursor: pointer;
    box-shadow: inset 0 0 30px #AB1400;
}

.answer-infos {
    display: none;
}

.champion-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-top: 20px;
}

.champion-txt {
    color: #fff;
    font-size: 1.3em;
    margin-top: 13px;
}

.error-txt {
    display: none;
    color: #fff;
}

.loader {
    width: 48px;
    height: 48px;
    display: none;
    border-width: 3px;
    border-style: dashed solid  solid dotted;
    border-color: #FF3D00 #FF3D00 transparent #FF3D00;
    border-radius: 50%;
    position: relative;
    box-sizing: border-box;
    margin-top: 40px;
    animation: rotation 0.5s linear infinite;
  }
  .loader::after {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    left: 20px;
    top: 31px;
    border: 10px solid transparent;
    border-right-color: #FF3D00;
    transform: rotate(-40deg);
  }
  
  @keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  } 

footer {
    width: 100%;
    min-height: 2vh;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    padding-bottom: 2em;
    color: #656566;
    font-style: italic;
    font-size: 0.7em;
}

footer a {
    text-decoration: none;
    color: #656566;
}

footer a:hover {
    color: #FB1E00
}

@media only screen and (max-width: 768px) {

    .f1-logo {
        width: 300px;
        height: 120px;
    }
    
    h1 {
        font-size: 2em;
    }  

    .search-infos p,
    .champion-txt {
        font-size: 1em;
    }

    .select-years,
    .btn-search {
        width: 120px;
    }
}