@font-face {
  font-family: 'AmazonEmber';
  src: url('/assets/fonts/AmazonEmber.ttf') format('truetype');
}

@font-face {
  font-family: 'AmazonEmberBold';
  src: url('/assets/fonts/AmazonEmber_Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'AmazonEmberLight';
  src: url('/assets/fonts/AmazonEmber_Light.ttf') format('truetype');
}

@font-face {
  font-family: 'Tahoma';
  src: url('/assets/fonts/tahoma_0.ttf') format('truetype');
}

@font-face {
  font-family: 'TahomaBold';
  src: url('/assets/fonts/tahomabd_0.ttf') format('truetype');
}

body {
  font-family: 'Tahoma', sans-serif;
  /* Sets the custom font as the default for the entire page */
}

/* Additional CSS rules for specific elements or classes */
h1 {
  font-size: 1.3rem;
  font-family: 'TahomaBold';
  font-weight: bold;
}

p {
  font-family: 'Tahoma', sans-serif;
}

.footerFonts,
.footerLink {
  color: black;
}

.rightForm {
  width: 85% !important;
  border: 1px solid rgb(221, 221, 221);
  background-color: #3C4CAA;
  box-shadow: 1px 1.732px 8.55px 0.45px rgba(221, 221, 221, 0.72),
              inset 2px 3.464px 0 rgba(228, 121, 17, 0.004);
  padding: 10px;
  margin: auto;
  color: #ffffff;
  border-radius: 30px;
}

.formLabel {
  font-size: 0.85rem;
  font-weight: bold;
}

.formInput {
  -webkit-appearance: none;
  background-color: #fff;
  line-height: 1.5em;
  color: #000;
  border: 1px solid #aeb0b6;
  border-radius: 7px;
  padding: 0.2em 0.3em;
  box-shadow: inset 1px 1px 4px 1px #ddd;
  min-height: 1.9em;
}

.aws-register {
  margin: auto;
  width: 93%;
}
.aws-submit {
  margin: auto;
  width: 120%;
}

.aws-register {
  margin-top: -15px;
  margin-bottom: 20px;
}

.aws-submit {
  max-width: 150px;
  margin-top: 20px;
}

.submitButton {
  background: transparent;
  border: 0;
  display: block;
  margin: auto;
}

.submit-parent-container {
  display: flex;
  justify-content: center;
}

.footerBackground {
  background: #3C4CAA;
  color: black;
}

.aws-event {
  /* Define styles as needed */
}

/* Desktop (default, larger than 430px) */
.eventRowMobile {
  display: none;
}

.eventRowDesktop {
  display: block;
}

.speaker-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 310px; /* Set a fixed height to make all cards the same size */
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}

.speaker-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.speaker-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.speaker-card h4 {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.speaker-card p {
    font-size: 0.8em;
    color: #666;
    flex-grow: 1; /* Allows the description to take up remaining space */
    margin-bottom: 20px;
}

.speaker-card .button-bios {
    background-color: #FF3C00;
    border: none;
    font-size: 0.85em;
    padding: 8px 20px;
    border-radius: 20px;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: auto;
    align-self: center; /* Centers the button horizontally */
     margin-bottom: 10px;
}

.speaker-card .button-bios:hover {
    background-color: #e63900;
    font-size:1rem;
}

/* Modal styles */
.modal-header .close {
    background-color: #FF3C00;  /* Orange background */
    color: #ffffff!important;  /* White color for the 'X' */
    font-size: 1.2em;  /* Adjust font size of 'X' */
    font-weight: bold;
    border: none;
    border-radius: 50%;  /* Makes it a circle */
    width: 40px;  /* Fixed width */
    height: 40px;  /* Fixed height */
    line-height: 30px;  /* Aligns 'X' vertically within the button */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    outline: none;
    position: absolute;
    right: -30px;
    top: -30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.modal-header .close:hover {
    background-color: #e63900;  /* Darker shade on hover */
    text-decoration: none;
}

.modal-content {
    border: 1px solid #333; /* Adds a dark border */
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Slight shadow for depth */
}

.modal-header {
    border-bottom: none; /* Remove default header border */
    padding-bottom: 0;
    position: relative;
}

.modal-header h5 {
    font-size: 1.1em;
    font-weight: normal;
}

.modal-body {
    display: flex;
    align-items: flex-start;
    padding-top: 0;
}

.modal-body img {
    border-radius: 50%; /* Make the image circular */
    margin-right: 15px;
}

.modal-body p {
    font-size: 0.9em;
    line-height: 1.5;
    text-align: justify;
    color: #333;
}

.modal-title {
  font-weight: bolder;
  font-size: 1em;
}

.button-bios {
  background-color: #FF3C00;
  color: white;
  padding: 10px 40px;
  border: none;
  border-radius: 35px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

@media (max-width: 430px) {
  h1 {
  font-size: 1rem;
  font-family: 'TahomaBold';
  font-weight: bold;
}

  .aws-event {
    margin-top: -40px;
    margin-bottom: -25px;
  }
  .aws-register {
    margin-top: 0px;
    margin-bottom: -5px;
  }
  .eventRowMobile {
    display: block!important; /* Show on small screens */
  }
  .eventRowDesktop {
    display: none!important; /* Hide on small screens */
  }

  .modal-body p {
    font-size: 0.8em;
  }
}

/* Set modal width to 700px on larger screens */
@media (min-width: 768px) {
    .modal-dialog {
        max-width: 700px; /* Set the maximum width of the modal */
    }
}