@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800');

body {
  background: #6e28d9;
  color: white;
  font-family: 'Open Sans';
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  margin: 0;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #6e28d9;
}

li {
  float: left;
}

li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li a:hover {
  background-color: white;
  color: #6e28d9;
}

#search-box {
  width: 300px;
  height: 40px;
  border-radius: 5px;
  border: 0px;
  padding-left: 20px;
  box-sizing: border-box;
}

ion-icon {
  height: 30px;
  width: 30px;
  /* padding-right: 5px; */
}

/* #search-button {
  font-family:'Courier New';
  font-weight: bold;
  border: 0px;
  width: auto;
  height: 30px;
  border-radius: 8px;
  background-color: white;
  color: #6e28d9;
}

#search-button:hover {
  background-color: whitesmoke;
  color: #6e28d9;
}

#search-button:active {
  transform: translateY(1px);
} */

#search-container{
  position: relative;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#search-container label {
  margin-right: 8px; /* Adjust the space between the icon and the input box as needed */
}

.divider{
  width:5px;
  height:auto;
  display:inline-block;
}

label {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 30px;
}

#main-title{
  align-items: center;
  font-size: calc(.5em + 1vw);
  /* font-size: 30px; */
}

#searchResults {
  position: absolute;
  z-index: 1;
  top: 42px;
  width: 95%;
  left: 0;
  text-align: left;
  background: #6e28d9;
  border: 1px solid white;
  border-top: 0px;
  padding-left: 10px;
}

#searchResults a {
  text-decoration: none;
}

a {
  color: white;
  font-weight:bold;
  text-decoration: underline;
  /* font-family:'Courier New'; */
}

/* #main-page-form {
  font-family:'Courier New';
  position:relative;
  top: 100px;
  text-align: center;
  width: 100%;
} */

#results-table a {
  text-decoration: none;
}

#results-table {
  display: inline-block;
  position: relative;
  top: 50px;
  padding-bottom: 50px;
}

.padded-cell {
  padding: 10px; /* Adjust the padding value as needed */
}

#about {
  /* font-family:'Courier New'; */
  position:relative;
  top: 100px;
  text-align: center;
}

#contact {
  /* font-family:'Courier New'; */
  position:relative;
  top: 100px;
  text-align: center;
}

#table-contact {
  margin-left:auto;
  margin-right: auto;
  text-align: right;
}

#send-message {
  /* font-family:'Courier New'; */
  font-weight: bold;
  border: 0px;
  width: auto;
  height: 30px;
  border-radius: 8px;
  background-color: white;
  color: #6e28d9;
}

#send-message:hover {
  background-color: whitesmoke;
  color: #6e28d9;
}

#send-message:active {
  transform: translateY(1px);
}

#privacy-policy {
  position: relative;
  top: 100px;
  text-align: left;
}

#terms-of-use {
  position: relative;
  top: 100px;
  text-align: left;
  margin-bottom: 100px;
}

#terms-and-conditions {
  position: relative;
  top: 100px;
  text-align: left;
}

#affiliate-disclosure {
  position: relative;
  top: 100px;
  text-align: left;
}

#ticket-scams-notice {
  background-color: white;
  color: #6e28d9;
  width: 200px;
  margin-left: auto;
  margin-right: auto;
}

#footer a {
  text-decoration: underline;
}

#body-footer {
  text-align: center; 
}

#close-footer a {
  text-decoration: none;
}

nav {
  background-color: black;
  position:absolute;
  top:0;
  /* font-family:'Courier New'; */
  color: white;
  text-align: center;
  justify-content: center;
}

#clear-search {
  font-size: small;
  text-decoration: underline;
}

#searching-for-event {
  display: inline-block;
  padding-inline: 10px;
}

#vendors-searching {
  text-align: center;
}

#searching-viagogo {
  display: inline-block;
}

#searching-stubhub {
  display: inline-block;
}

#searching-ticketmaster {
  display: inline-block;
}

.loader {
  border: 5px solid #f3f3f3;
  border-radius: 50%;
  border-top: 5px solid #6e28d9;
  border-bottom: 5px solid #6e28d9;
  
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  display: inline-block;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 769px) {
  body {
    font-size: medium;
    padding: 30px;
  }
  
  #footer {
    background-color: #6e28d9;
    position:fixed;
    bottom:0;
    font-size: medium;
    /* font-family:'Courier New'; */
    width: 100%;
    color: white;
    text-align: center;
    justify-content: center;
    display: block;
  }

  #main-page-form {
    /* font-family:'Courier New'; */
    position: relative;
    top: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* #results-table {
    display: flex;
    flex-direction: column;
    align-content: center;
  } */

  table {
    margin: auto;
    font-size: large;
    width: 768px;
    text-align: left; 
    border-collapse: collapse;
  }

  th, td {
    border-style: dashed;
    border-color: white;
    border-width: 0.5px;
    padding: 10px;
  }

  /* #searchResults {
    text-align: left;
    padding-left: 30%;
  } */

  #main-title-subtext {
    margin-top: -35px;
    font-size: calc(.05em + 1vw);
    padding-bottom: 50px;
  }
  
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  body {
    padding: 30px;
    font-size: medium;
  }

  #footer {
    background-color: #6e28d9;
    position:fixed;
    bottom:0;
    font-size: medium;
    /* font-family:'Courier New'; */
    width: 100%;
    color: white;
    text-align: center;
    justify-content: center;
    display: block;
  }
  
    /* #main-page-form {
    font-family:'Courier New';
    position:relative;
    top: 50px; */
    /* text-align: center; */
    /* width: 80%;
  } */

  #main-page-form {
    /* font-family:'Courier New'; */
    position: relative;
    top: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* #results-table {
    font-size: medium;
    width: 50%;
    align-content: center;
    text-align: center;
  } */

  table {
    margin: auto;
    /* font-size: medium; */
    width: 100%;
    text-align: left;
    border-collapse: collapse;
  }

  th, td {
    border-style: dashed;
    border-color: white;
    border-width: 0.5px;
    padding: 5px;
  }

  /* #searchResults {
    text-align: left;
    padding-left: 30%;
  } */

  #main-title{
    align-items: center;
    font-size: calc(.5em + 1vw);
    /* font-size: 30px; */
  }
  
  #main-title-subtext {
    margin-top: -10px;
    font-size: calc(.3em + 1vw);
    padding-bottom: 30px;
  }

}

@media only screen and (max-width: 480px) {
  /* For mobile phones: */
  body {
    font-size: small;
    padding: 30px;
  }

  #footer {
    background-color: #6e28d9;
    position:fixed;
    bottom:0;
    font-size: x-small;
    /* font-family:'Courier New'; */
    width: 100%;
    color: white;
    text-align: center;
    justify-content: center;
    display: block;
  }

  /* #main-page-form {
    font-family:'Courier New';
    position:relative;
    top: 50px; */
    /* text-align: center; */
    /* width: 100%;
  } */

  #main-page-form {
    /* font-family:'Courier New'; */
    position: relative;
    top: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* #results-table {
    font-size: small;
    width: 100%;
    align-content: center;
    text-align: center;
  } */

  table {
    margin: auto;
    /* font-size: small; */
    width: 100%;
    text-align: left;
    border-collapse: collapse;
  }

  th, td {
    border-style: dashed;
    border-color: white;
    border-width: 0.5px;
    padding: 5px;
  }  

  /* #searchResults {
    text-align: left;
    padding-left: 30px;
  } */

  #main-title{
    align-items: center;
    font-size: calc(.5em + 1vw);
    /* font-size: 30px; */
  }
  
  #main-title-subtext {
    margin-top: -10px;
    font-size: calc(.3em + 1vw);
    padding-bottom: 30px;
  }

}