@import url('https://fonts.googleapis.com/css?family=Rubik:400,500i&display=swap');
@import 'https://cdn.jsdelivr.net/npm/bulma@0.9.1/css/bulma.min.css';

* {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #29798f #195566;
}

*::-webkit-scrollbar-track {
  background: #195566;
}

*::-webkit-scrollbar-thumb {
  background-color: #29798f;
  border-radius: 6px;
  border: 3px solid #195566;
}

html,
body {
  width: 100%;
  margin: 0;
  /* background: #0b323d; */
  background: radial-gradient(#143f4b, #061c22);
  font-family: 'Rubik', sans-serif;
  overflow-x: hidden;
}

.contactUs {
  overflow: hidden;
}

.contactUs body,
.complete body {
  height: 100vh;
}

p,
a,
h2,
li,
span,
label,
input,
strong,
button {
  color: #ffffffb3;
  font-family: 'Rubik', sans-serif;
}

form {
  width: 700px;
  margin: 0 auto;
}

label.required:before {
  content: '⁎ ';
  color: #ffffffb3;
}

label.required.red:before {
  color: red;
}

.contactUs form {
  width: 500px;
}

input {
  background-color: #24799149;
  border: 1px solid #195566;
  border-radius: 0 10px 10px 0;
  padding: 10px;
  width: 100%;
}

textarea {
  background-color: #24799149;
  border: 1px solid #195566;
  border-radius: 10px 10px 10px 10px;
  padding: 10px;
  width: 100%;
  height: 150px;
}

input:focus {
  outline: none;
  border: 1px solid #44bcdd;
}

input[type='radio'] {
  width: auto;
  margin-top: 0;
}

.hidden {
  display: none !important;
}

.relative {
  position: relative;
}

.message-success,
.message-error {
  width: 500px;
  margin: 20px auto 0;
}

.message-success p {
  margin-bottom: 20px;
}

.btn {
  background: #38a0bd;
  color: #000;
  transition: 150ms;
  padding: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
}

.btn:hover {
  background: #29798f;
}

.message-error a {
  text-decoration: underline;
  color: #38a0bd;
  transition: 150ms;
}

.form-container {
  margin: 0 auto;
  max-width: 960px;
  padding: 20px;
}

.messages .form-container {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.form-group-1,
.form-group-2 {
  margin-top: 20px;
}

.logo-form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.logo-form img {
  width: 300px;
}

.logo-form h2 {
  font-weight: 800;
}

.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

span.error {
  font-size: 12px;
  color: #ff7373;
}

/* Initial contact */
.modal-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000078;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.modal-loading .loading {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #195566;
  padding: 20px;
  border-radius: 15px;
  width: fit-content;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.modal-loading .loading .waiting {
  width: 30px;
  height: 30px;
  animation: rotate 1.5s infinite linear;
}

.modal-loading .loading .waiting i {
  font-size: 30px;
}

.input-style {
  display: flex;
  align-items: stretch;
  margin-top: 12px;
}
.input-style .icon {
  background-color: #44bcdd;
  border-radius: 10px 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 38px;
}
.input-style .input{
  width: 100%;
  padding: 10px 0;
  border: 0;
  outline: 0;
}
.input-style img{
  background-color: #24799149;
  border-radius: 0 10px 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 38px;
  cursor: pointer;
}
.icon i {
  color: #000;
  font-size: 22px;
}
.control-btn {
  padding: 10px 20px;
  background: #195566;
  border: 1px solid #44bcdd;
  border-radius: 50px;
  cursor: pointer;
  transition: 200ms ease-out;
}

.control-btn:hover {
  background: #44bcdd;
  color: #000;
}

.control-btn:active {
  background: #38a0bd;
  color: #000;
}

.form-group-2 h2 {
  margin-bottom: 12px;
  font-weight: bold;
}

.error-email {
  color: #fb2a2a;
  font-size: 13px;
  margin-left: 5px;
}
.error-name {
  color: #fb2a2a;
  font-size: 13px;
  margin-left: 5px;
}
.error-message {
  color: #fb2a2a;
  font-size: 13px;
  margin-left: 5px;
}
@media screen and (max-width: 800px) {
  .contact .form-container {
    position: relative;
    transform: none;
    top: 0;
  }
  form,
  .contactUs form,
  .message-success,
  .message-error {
    width: auto;
  }

  .input-grid {
    display: block;
  }
}
