@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

:root {
  --primaryText: #000;
  --primaryTextA: #434655;
  --secondaryText: #a8aabc;
  --whiteText: #fff;
  --primaryColor: #37def5;
  --secondaryColor: #4282f5;
  --dangerColor: #f5664e;
  --successColor: #2af59b;
  --warningColor: #f5b01d;
}

html,
body {
  padding: 0;
  margin: 0;
  height: 100vh;
  width: 100vw;
  font-family: 'Roboto', sans-serif;
  background-color: #fcfeff;
}

body {
  display: flex;
  flex-direction: column;
}

nav {
  display: block;
  width: 100%;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--secondaryColor);
}

.navBar {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  height: 60px;
}

.navLeft {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.navLeft img {
  margin: 0.5rem;
}

.navCompanyText {
  color: var(--secondaryColor);
  font-size: 1.2rem;
  font-weight: 600;
}

.navRight {
  flex: 2;
}

.navMenu {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
}

.navButton {
  flex: 1;
  margin: 0 0.25rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--whiteText);
  background-color: var(--secondaryColor);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2rem;
}

.navButton:hover {
  text-decoration: underline;
}

.container {
  flex: 1;
}

.cover-image {
  height: calc(80% - 62px - 0.5rem);
  width: 100vw;
  background-image: url(/img/vessel.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.cover-image-tagline {
  margin: 1rem 0;
  font-size: 4rem;
  color: var(--primaryText);
  font-weight: 900;
}

.cover-image-phone {
  color: var(--primaryText);
  font-size: 2rem;
}

.services-section {
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-around;
}

.services-section-item {
  flex: 0 0 1;
  border: 1px solid var(--secondaryColor);
  margin: 1rem 0.5rem;
  margin-bottom: 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: stretch;
  width: calc(100% - 1rem);
  border-radius: 10px;
}

.card-header {
  padding: 0.5rem;
  text-align: center;
}

.card-header-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border: 2px solid var(--secondaryColor);
  padding: 1rem;
  height: 96px;
  width: 96px;
  border-radius: 50%;
  background-color: var(--secondaryColor);
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.3);
}

.card-header-image svg {
  height: 72px;
  width: auto;
}

.card-header-image span {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--whiteText);
}

.card-body {
  flex: 1;
  width: 80%;
  text-align: left;
}

.card-action {
  flex: 1;
  width: 80%;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.card-action a {
  display: block;
  text-decoration: none;
  background-color: var(--successColor);
  color: #fff;
  padding: 0.5rem 1rem;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.3);
}

.card-action a:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
}

.contact-us {
  width: 100vw;
  min-height: 400px;
  background-color: rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-us-title {
  /* margin-top: 3rem; */
  color: var(--secondaryColor);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-us-info-title {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.contact-us-info-phone {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact-us-footer {
  color: rgba(0, 0, 0, 0.5);
  margin-top: 1rem;
  font-size: 1.4rem;
}

.social-media-row {
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding: 1rem 0;
}

.social-media-row a {
  height: 64px;
  width: 64px;
  border-radius: 50%;
  background-color: var(--secondaryColor);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}

.footer {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #19315c;
  min-height: 200px;
}

.footer-copyright {
  color: #fff;
  font-size: 0.9rem;
}

.footer-tagline {
  color: #fff;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.services-banner-row {
  display: block;
  height: 30vh;
  width: 80%;
  margin: 0 auto;
  background-image: url(../img/services-banner.jpg);
  background-size: cover;
  background-position: 25% 60%;
  margin-bottom: 2rem;
}

.services-banner-text-container {
  display: block;
  width: 80%;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 2px solid var(--secondaryColor);
}

.service-header {
  font-size: 1.4rem;
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--secondaryText);
}

.service-text {
  padding-top: 0.25rem;
  margin-bottom: 2rem;
}

.code-container {
  width: 80%;
  margin: 0 auto;
  margin-top: 3rem;
  margin-bottom: 3rem;
  height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.activationError {
  display: none;
  background-color: var(--dangerColor);
  width: 100%;
  padding: 0.5rem 0;
  text-align: center;
  margin-top: -2rem;
  margin-bottom: 2rem;
}

.txtActivationCode {
  font-size: 2rem;
}

.activationButton {
  margin-top: 0.5rem;
  border: 0;
  background-color: var(--successColor);
  font-size: 2rem;
  font-weight: 600;
  padding: 0.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.activationButton:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
}

.rate-request-container {
  margin: 0 auto;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 80%;
  margin-bottom: 5rem;
}

.rate-request-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.row-origin-destination {
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.origin,
.destination {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.row-pieces {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  margin-top: 1rem;
}

.quantity {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.origin label,
.destination label,
.quantity label {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.rate-text {
  font-size: 1.4rem;
}

.buttonGetRate {
  border: 0;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: var(--successColor);
  font-size: 1.4rem;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
}

.buttonGetRate:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
}

.rate-response-container {
  display: none;
  margin-top: 1rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 80%;
  margin: 0 auto;
  margin-bottom: 5rem;
}

#response-area {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.outerDiv {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  border-bottom: 1px solid var(--secondaryText);
}

.outerDiv:first-of-type {
  margin-bottom: 0.5rem;
  margin-top: 1rem;
  border-bottom: 1px solid var(--secondaryText);
  font-weight: 600;
}

.outerDiv span {
  flex: 1;
}

.go-back-row {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.buttonGoBack {
  border: 0;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: var(--successColor);
  font-size: 1.4rem;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
}

.buttonGoBack:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
}

.accessorials-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 1.5rem;
}

.accessorials-container div {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-group {
  flex: 1;
  display: flex;
  align-items: center;
}

.checkbox-group label {
  margin-left: 0.5rem;
}

@media (max-width: 1000px) {
  .navBar {
    flex-direction: column;
    height: 100%;
  }

  .navMenu {
    width: 100vw;
  }

  .cover-image {
    background-size: cover;
    height: 70%;
  }

  .cover-image-tagline {
    text-align: center;
    font-size: 3rem;
  }

  .cover-image-phone {
    font-size: 1.5rem;
  }

  .services-section {
    flex-direction: column;
    align-items: center;
  }
}
