html {
  min-height: 650px;
  position: relative;
  font-family: "Montserrat";
  background-color: #75B1C1;
}
body {
  width: 100%;
}

section {
  display: none;
} 

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 9999s ease-in-out 0s;
}


/* DESKTOP */
@media all and (min-width: 768px) {
  .hideThis {
    display: none;
  }

  #start {
    width: 100%;
    height: 100vh;
    background-color: white !important;
    background-image: url("../img/desktop/BANNER-HOME.jpg");
    background-position: 85% 50%;
    background-repeat: no-repeat;
    background-size: 30vw;
    display: none;
  }
  .page {
    width: 100%;
    height: 100vh;
    background-image: url("../img/desktop/BACKGROUND.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cotain;
    display: none;
  }
  .background {
    display: none;
  }
  .button {
  }
  .row {
    /* display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(auto-fill, 1fr);
    grid-column-gap: 25px;
    grid-row-gap: 25px; */

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: stretch;
  }

  #start .header-text {
    position: absolute;
    margin-top: 42.5vh !important;
    margin-left: 22.5vh !important;
    left: 0;
    right: 0;
    margin: auto;

    text-align: left;
  }
  #start .header-text p {
    font-size: 1.2vw;
  }
  #logo_start-rdp {
    position: absolute;
    margin-left: 22.5vh !important;
    margin-top: 15vh !important;
  }
  #logo_start-origen {
    position: absolute;
    margin-left: 22.5vh !important;
    margin-bottom: 15vh !important;
    bottom: 0;
  }
  #btn_start-vote {
    width: 7.5vw;
    position: absolute;
    margin-top: 7.5vh !important;
    left: 0;
    margin: 0 auto;
  }

  #select .header-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 10vh;
    margin: auto;
    text-align: center;
  }
  #select .header-text p {
    font-size: 5vh;
    font-weight: 700;
  }
  #dragons-container {
    position: absolute;
    height: 60vh;
    max-width: 1200px;
    top: 15vh;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  .dragon {
    height: 40vh;
    width: 30vh;
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    margin-bottom: 5vh;
    box-sizing: border-box;
  }
  .dragon_image {
    height: 75%;
    width: 60%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .dragon_image img {
    width: 100% !important;
  }
  .dragon_info {
    text-align: center;
    min-height: 27.5%;
  }
  .dragon_info-title {
    margin-bottom: 1vh;
    font-size: 80%;
    font-weight: 600;
  }
  .dragon_info-author {
    margin-bottom: 2.5vh;
    font-size: 1.65vh;
  }
  .btn_dragon-vote {
    width: 12.5vh;
    margin: 0 auto;
    display: block;
  }

  #form {
    display: flex;
  }
  #section_form-left {
    position: absolute;
    top: 5vw;
    left: 9vw;
    height: 80vh;
    width: 40vw;
  }
  #section_form-left p {
    font-size: 1.35em;
    line-height: 1.2em;
  }
  #section_form-left #form-container {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 40vh;
    max-height: 30vh;
  }
  #input_form-email {
    width: 100%;
    background-color: transparent;
    background-image: url(../img/envelope.svg);
    background-size: 10%;
    background-repeat: no-repeat;
    padding-left: 40px;
    padding-bottom: 12.5px;
    border-width: 0 0 1px;
    border-color: white;
    color: white;
    margin-top: 5vh;
    font-size: 1.1em;
  }
  ::placeholder {
    font-family: Montserrat;
    color: white;
  }
  #input_form-email:focus {
    outline: none;
  }
  #button-group {
    margin-top: 5vh;
  }
  #btn_form-volver {
    margin-right: 2vh;
  }
  #btn_form-volver,
  #btn_form-vote {
    width: 12.5vh !important;
  }
  #section_form-right {
    position: absolute;
    top: 5vw;
    right: 9vw;
    height: 80vh;
    width: 40vw;
  }
  #section_form-right .dragon {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 35vh;
  }

  #end {
    text-align: center;
  }
  #end #img_end-check {
    margin-top: 25vh;
    width: 15em;
  }
  #end .header-text {
    margin-top: 5vh;
    font-size: 1.65em;
  }
  #end .header-text p {
    line-height: 1.2em;
    margin-top: 5vh;
  }
  #btn_end-back {
    margin-top: 7.5vh;
    width: 15vh;
  }

  #dialog .card {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 50vh;
    min-width: 35vw;
    max-width: 60vw;
    width: 600px;
    background-color: white;
  }
  .card-content {
    text-align:center;
  }
  .card-content .dragon {
    margin: 5vh auto;
    height: auto;
  }
  .card-content .dragon .dragon_image {
    width: 65%;
  }
  .card-content .dragon .dragon_image img {
    height: auto;
  }
  #btn_dialog-close {
    position: absolute;
    right: 0;
    width: 6.5vh;
  }
  #btn_dialog-confirm {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2.5vh;
    margin: auto;
    width: 17.5vh;
  }
}

/* MOBILE */
@media all and (min-width: 300px) and (max-width: 768px) {
  .Hidethis {
    display: none;
  }
  #logo_start-rdp,
  #logo_start-origen {
    display: none;
  }

  #start {
    width: 100vw;
    height: 100vh;
    background-color: white !important;
    background-image: url("../img/mobile/BANNER-HOME.jpg");
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100vw;
    display: none;
  }
  #select {
    background-color: #75B1C1 !important;
    background-image: none;
  }
  .page {
    width: 100vw;
    height: 100vh;
    background-image: url("../img/mobile/BACKGROUN.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: none;
  }
  .background {
    height: 100vw;
  }
  .button {
  }
  .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: stretch;
  }

  #start .header-text {
    position: absolute;
    margin-top: 20vw !important;
    left: 0;
    right: 0;
    margin: auto;

    text-align: center;
  }
  #start .header-text p {
    font-family: "Montserrat";
    font-size: 4.5vw;
  }
  #btn_start-vote {
    width: 35vw;
    position: absolute;
    margin-top: 12.5vw !important;
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  #select .header-text {
    position: absolute;
    left: 0;
    right: 0;
    margin: 7.5vh auto;

    text-align: center;
  }
  #select .header-text p {
    width: 100%;
    font-size: 4vh;
    font-weight: 550;
  }
  #dragons-container {
    position: absolute;
    height: 60vh;
    top: 0vh;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  .dragon {
    height: 40vh;
    width: 25vh;
    display: block;
    flex-grow: 0;
    flex-shrink: 0;
    align-self: auto;
    order: 0;
    margin-bottom: 7.55vh;
    box-sizing: border-box;
  }
  .dragon_image {
    height: 60%;
    width: 70%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .dragon_image img {
    width: 100% !important;
    height: auto;
  }
  .dragon_info {
    text-align: center;
    vertical-align: middle;
    width: 90%;
    min-height: 24%;
    margin-top: 2.5vh;
    margin: 0 auto;;
  }
  .dragon_info-title {
    margin-bottom: 1vh;
    font-size: 1em;
    font-weight: 600;
  }
  .dragon_info-author {
    font-size: 0.60em;
  }
  .btn_dragon-vote {
    display: block;
    position: relative;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 12.5vh;
    bottom: 0;

  }

  .centered {
    padding: 12% 0;
  }

  #form {
    display: block;
  }
  #section_form-left {
    text-align: center;
  }
  #section_form-left p {
    font-size: 1.1em;
    line-height: 1.2em;
  }
  #section_form-left #form-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10vh;
    margin: auto;
    width: 85vw;
    /* position: relative;
    top: 40vh;
    left: 0;
    right: 0;
    bottom:0;
    margin: auto;
    width: 40vh;
    max-height: 30vh; */
  }
  #input_form-email {
    width: 40vh;
    background-color: transparent;
    background-image: url(../img/envelope.svg);
    background-size: 10%;
    background-repeat: no-repeat;
    padding-left: 40px;
    padding-bottom: 15px;
    border-width: 0 0 1px;
    border-color: white;
    color: white;
    margin-top: 5vh;
    font-size: 1.1em;
  }
  ::placeholder {
    font-family: Montserrat;
    color: white;
  }
  #input_form-email:focus {
    outline: none;
  }
  #button-group {
    margin-top: 5vh;
  }
  #btn_form-volver {
    margin-right: 2vh;
  }
  #btn_form-volver,
  #btn_form-vote {
    width: 15vh !important;
  }
  #section_form-right {
    display: block;
    /* position:absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 80vh;
    width: 40vw; */
  }
  #section_form-right .dragon {
    position: relative;
    left: 0;
    right: 0;
    top: 20vh;
    bottom: 0;
    margin: auto;
    width: 40vh;
    height: 45vh;
  }

  #end {
    text-align: center;
  }
  #end #img_end-check {
    margin-top: 25vh;
    width: 10em;
  }
  #end .header-text {
    font-size: 1.2em;
  }
  #end .header-text p {
    line-height: 1.2em;
    margin-top: 5vh;
  }
  #btn_end-back {
    margin-top: 7.5vh;
    width: 15vh;
  }

  #dialog .card {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 57.5vh;
    width: 85vw;
    background-color: white;
  }
  .card-content {
    text-align:center;
  }
  .card-content .dragon {
    margin: 5vh auto;
    height: auto;
  }
  .card-content .dragon .dragon_image {
    width: 75%;
  }
  .card-content .dragon .dragon_image img {
    height: auto;
  }
  #btn_dialog-close {
    position: absolute;
    right: 0;
    width: 6.5vh;
  }
  #btn_dialog-confirm {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2.5vh;
    margin: auto;
    width: 17.5vh;
  }
}

@media all and (max-width: 300px) {
  html {
    display: none;
  }
}
