body,
html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Raleway';
}

.modal-container {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: url(img/bg.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.toolbar {
  height: 118px;
  background: #25303b;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 16px;
  box-sizing: border-box;
  display: flex;
}

.logo img {
  height: 100%;
}

.address {
  align-self: center;
  color: white;
  text-align: center;
  font-weight: 400;
  font-family: sans-serif;
}

.address address {
  margin-bottom: 8px;
}

.content {
  flex: 1;
}

.content ul {
  list-style: none;
  padding-left: 16px;
  margin-top: 64px;
}

.content ul li {
  width: 350px;
  margin-bottom: 16px;
}

.content ul li a {
  transition: all ease 0.3s;
  border-radius: 2px;
  cursor: pointer;
  width: 100%;
  display: block;
  font-size: 22px;
  font-weight: 100;
  color: rgb(236, 240, 241);
  text-decoration: none;
  background: rgba(63, 17, 19, 0.8);
  text-align: right;
  padding: 24px 16px;
  box-sizing: border-box;
  letter-spacing: 0.3em;
  position: relative;
}

.content ul li a img {
  transition: all ease 0.3s;
  opacity: 0;
  position: absolute;
  right: 16px;
  width: 32px;
  top: 9px;
}

.content ul li a span {
  transition: all ease 0.3s;
  position: absolute;
  left: 100%;
  top: 11px;
  transform: translateX(-110%);
}

.content ul li a:hover {
  background: rgba(63, 17, 19);
  /*font-size: 24px;*/
}

.content ul li a:hover img {
  opacity: 1;
}

.content ul li a:hover span {
  top: 9px;
  right: auto;
  left: 16px;
  transform: translateX(0);
}

.flex {
  flex: 1;
}

.modal {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal .backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.modal .modal-container {
  position: relative;
  width: 500px;
  max-height: 90%;
  
 
  z-index: 100;
  border-radius: 5px;
  padding: 25px;
  box-sizing: border-box;
  overflow-y: auto;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

.icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  padding: 4px;
  float: right;
}

.icon img {
  width: 100%;
  height: 100%;
}

.modal-container h3,
.modal-container label,
.modal-container h4 {
  color: white;
}

.modal-container h3 {
  display: block;
  font-size: 30px;
  font-weight: 300;
  margin-bottom: 5px;
  margin-top: 10px;
}

.modal-container h4 {
  margin: 5px 0 15px;
  display: block;
  font-size: 13px;
  font-weight: 400;
}

.modal-container h3,
.modal-container h4 {
  text-align: center;
}

.form-container .input-container {
  border: medium none !important;
  margin: 0 0 10px;
  min-width: 100%;
  padding: 0;
  width: 100%;
}

.form-container input,
.form-container select,
.form-container textarea {
  width: 100%;
  border: 1px solid #ccc;
  background: #fff;
  margin: 0 0 5px;
  padding: 10px;
  box-sizing: border-box;
}

.form-container select {
  height: 35px;
}

.form-container label {
  margin-bottom: 5px;
  display: block;
}

.submit-btn {
  cursor: pointer;
  width: 100%;
  border: none;
  background: #4caf50;
  color: #fff;
  margin: 0 0 5px;
  padding: 10px;
  font-size: 15px;
}

.submit-btn:hover {
  background: #43a047;
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}

.submit-btn:active {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 490px) {
  .content ul li {
    width: 90%;
  }
  .content ul li a span {
    top: 9px;
    right: auto;
    left: 16px;
    transform: translateX(0);
  }
  .content ul li a img {
    opacity: 1;
  }
}

.address-bottom {
  display: none;
}

@media (max-width: 600px) {
  .address:not(.address-bottom) {
    display: none;
  }
  .address-bottom {
    display: block;
    margin-bottom: 16px;
  }
  .modal .modal-container {
    width: 95%;
    max-height: 95%;
    height: 95%;
    padding: 16px;
  }
}
.message-container {
    position: fixed;
    z-index: 100;
    bottom: 16px;
    width: 100%;
    display: flex;
    justify-content: center;
}
.message-container .message {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 16px;
    border-radius: 40px;
}
.message p {
    margin:0;
}

