@font-face {
  font-family: "VodafoneLight";
  src: url("fonts/vodafone/vodafone-light.eot");
  src: url("fonts/vodafone/vodafone-light.eot?#ie-fix") format("embedded-opentype"), url("fonts/vodafone/vodafone-light.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "VodafoneRg-Regular";
  src: url("fonts/VodafoneRg-Regular.eot");
  src: url("fonts/VodafoneRg-Regular.eot?#ie-fix") format("embedded-opentype"), url("fonts/VodafoneRg-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "VodafoneRg-Bold";
  src: url("fonts/VodafoneRg-Bold.eot");
  src: url("fonts/VodafoneRg-Bold.eot?#ie-fix") format("embedded-opentype"), url("fonts/VodafoneRg-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

body{
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-family: "VodafoneRg-Regular";
    /*background-color: #b50000;
    background-image: url('images/header-animation.gif');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10%;*/
}
div#select-index {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #333333;
    padding: 5%;
}
#selectIndex {
    display: flex;
    flex-direction: row;
    height: 100vh;
    align-content: center;
    flex-wrap: nowrap;
}
#selectIndex .bg-index {
    background-image: url('images/bg-vodafone.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    text-align: center;
    padding-top: 5%;
}
.logo img{
  width: 70%;
}

form#languageForm {
    display: flex;
    flex-direction: column;
    font-size: 19px;
    width: 50%;
}
select#language {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #111111;
    color: #111111;
    margin-bottom: 15px;
}
/*select#countrySelector, select#languageSelector {
    padding: 20px 10px;
    background: white;
    border: none;
    font-size: 16px;
    color: #7e7e7e;
    border-radius: 0;
    margin-top: 15px;
}*/
button.btn-go {
    background: #e70100;
    color: white;
    text-decoration: none;
    appearance: none;
    border: 1px solid transparent;
    display: inline-block;
    font-size: 20px;
    padding: 6px 30px;
    border-radius: 5px;
}
.subtitle.mb-5 {
    font-size: 20px;
}

    /***********/
.dropdown {
  --max-scroll: 8;
  --text: #3F4656;
  --border: #ffffff;
  --borderActive: #23C4F8;
  --background: #ffffff;
  --arrow: #6C7486;
  --arrowActive: #E4ECFA;
  --listText: #99A3BA;
  --listBackground: #F5F9FF;
  --listActive: #E4ECFA;
  --listTextActive: #6C7486;
  --listBorder: none;
  --textFilled: #99A3BA;
  width: 220px;
  position: relative;
}
.dropdown.light {
  --text: #111111;
  --border: #111111;
  --borderActive: #23C4F8;
  --background: #fff;
  --arrow: #99A3BA;
  --arrowActive: #6C7486;
  --listText: #99A3BA;
  --listBackground: #fff;
  --listActive: #F5F9FF;
  --listTextActive: #6C7486;
  --listBorder: #E4ECFA;
  --textFilled: #6C7486;
}
.dropdown select {
  display: none;
}
.dropdown > span {
  cursor: pointer;
  padding: 9px 16px;
  border-radius: 6px;
  display: block;
  position: relative;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--background);
  transition: all 0.3s ease;
}
.dropdown > span:before, .dropdown > span:after {
  content: "";
  display: block;
  position: absolute;
  width: 8px;
  height: 2px;
  border-radius: 1px;
  top: 50%;
  right: 15px;
  background: var(--arrow);
  transition: all 0.3s ease;
}
.dropdown > span:before {
  margin-right: 4px;
  transform: scale(0.96, 0.8) rotate(50deg);
}
.dropdown > span:after {
  transform: scale(0.96, 0.8) rotate(-50deg);
}
.dropdown ul {
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  max-height: calc(var(--max-scroll) * 25px);
  top: 42px;
  left: 0;
  z-index: 1;
  right: 0;
  background: var(--listBackground);
  border-radius: 6px;
  overflow-x: hidden;
  overflow-y: auto;
  transform-origin: 0 0;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.3s cubic-bezier(0.4, 0.6, 0.5, 1.32);
  transform: scale(0.8) translate(0, 4px);
  border: 1px solid var(--listBorder);
}
.dropdown ul li {
  opacity: 0;
  transform: translate(6px, 0);
  transition: all 0.3s ease;
}
.dropdown ul li a {
  cursor: pointer;
  display: block;
  padding: 10px 16px;
  color: var(--listText) !important;
  text-decoration: none;
  outline: none;
  position: relative;
  transition: all 0.3s ease;
}
.dropdown ul li a:hover {
  color: var(--listTextActive);
}
.dropdown ul li.active a {
  color: var(--listTextActive);
  background: var(--listActive);
}
.dropdown ul li.active a:before, .dropdown ul li.active a:after {
  --scale: .6;
  content: "";
  display: block;
  width: 10px;
  height: 2px;
  position: absolute;
  right: 17px;
  top: 50%;
  opacity: 0;
  background: var(--listText);
  transition: all 0.2s ease;
}
.dropdown ul li.active a:before {
  transform: rotate(45deg) scale(var(--scale));
}
.dropdown ul li.active a:after {
  transform: rotate(-45deg) scale(var(--scale));
}
.dropdown ul li.active a:hover:before, .dropdown ul li.active a:hover:after {
  --scale: .9;
  opacity: 1;
}
.dropdown ul li:first-child a {
  border-radius: 6px 6px 0 0;
}
.dropdown ul li:last-child a {
  border-radius: 0 0 6px 6px;
}
.dropdown.filled > span {
  color: var(--textFilled);
}
.dropdown.open > span {
  border-color: var(--borderActive);
}
.dropdown.open > span:before, .dropdown.open > span:after {
  background: var(--arrowActive);
}
.dropdown.open > span:before {
  transform: scale(0.96, 0.8) rotate(-50deg);
}
.dropdown.open > span:after {
  transform: scale(0.96, 0.8) rotate(50deg);
}
.dropdown.open ul {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translate(0, 12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.4, 0.6, 0.5, 1.32);
}
.dropdown.open ul li {
  opacity: 1;
  transform: translate(0, 0);
}
.dropdown.open ul li:nth-child(1) {
  transition-delay: 80ms;
}
.dropdown.open ul li:nth-child(2) {
  transition-delay: 160ms;
}
.dropdown.open ul li:nth-child(3) {
  transition-delay: 240ms;
}
.dropdown.open ul li:nth-child(4) {
  transition-delay: 320ms;
}
.dropdown.open ul li:nth-child(5) {
  transition-delay: 400ms;
}
.dropdown.open ul li:nth-child(6) {
  transition-delay: 480ms;
}
.dropdown.open ul li:nth-child(7) {
  transition-delay: 560ms;
}
.dropdown.open ul li:nth-child(8) {
  transition-delay: 640ms;
}
.dropdown.open ul li:nth-child(9) {
  transition-delay: 720ms;
}
.dropdown.open ul li:nth-child(10) {
  transition-delay: 800ms;
}

select {
  --text: #3F4656;
  --border: #2F3545;
  --background: #151924;
}
select.dropdown.light {
  padding: 9px 16px;
  border-radius: 6px;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--background);
  line-height: 22px;
  font-size: 16px;
  font-family: inherit;
  -webkit-appearance: none;
}

@media (max-width: 768px){
  #selectIndex {
    display: flex;
    flex-direction: column;
    height: 100vh;
    align-content: center;
    flex-wrap: nowrap;
}
  #selectIndex .bg-index {
    background-image: url('images/bg-vodafone.webp');
    background-size: cover;
    display: flex;
    text-align: center;
    height: 50vh;
    align-items: center;
    justify-content: center;
  }
    form#countryLanguageForm {
        display: flex;
        flex-direction: column;
        font-size: 19px;
        align-items: center;
      
    }
    #select-index {
        padding: 0 10%;
    }
    #select-index h1{
      margin-bottom: 5% !important;
    }
    .select {
        margin-bottom: 5%;
        width: 100%;
        margin-right: 0;
    }
    .dropdown{
      width: 100%;
    }
    button.btn-go{
      width: 100%;
      display: block;
    }
    .logo img {
      margin-bottom: 10% !important;
  }
}