@font-face {
  font-display: swap;
  font-family: Roboto;
  font-weight: 400;
  src: url("/fonts/Roboto-Regular.ttf");
}
@font-face {
  font-display: swap;
  font-family: Roboto;
  font-weight: 500;
  src: url("/fonts/Roboto-Medium.ttf");
}
html {
  height: 100%;
}

body {
  background-color: #fff;
  color: #666;
  display: flex;
  flex-direction: column;
  font-family: Roboto, Arial;
  font-size: 14px;
  font-weight: 400;
  height: 100%;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: none;
}
@media (min-width: 768px) {
  body {
    font-size: 16px;
  }
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #bbb;
}

::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

* {
  box-sizing: border-box;
}

.clearfix::before, .clearfix::after {
  content: "";
  display: table;
}
.clearfix::after {
  clear: both;
}

strong {
  font-weight: 500;
}

p {
  clear: both;
  margin: 0 0 20px;
  width: 100%;
}
p.no-margin {
  margin: 0;
}
p .mini-header {
  color: #333;
  font-weight: 500;
}

.main-content {
  flex: 1 0 auto;
}

.content {
  margin: 0 auto;
  max-width: 1000px;
  padding: 0 15px;
}

hr {
  background-color: #ccc;
  border: 0;
  clear: both;
  display: block;
  height: 1px;
  margin: 35px auto;
  outline: 0;
  padding: 0;
  width: 100%;
}
@media (min-width: 768px) {
  hr {
    margin: 50px auto;
  }
}
hr.margin-top-reduced {
  margin-top: 15px;
}
@media (min-width: 768px) {
  hr.margin-top-reduced {
    margin-top: 30px;
  }
}

h2 {
  color: #333;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 20px;
}
@media (min-width: 768px) {
  h2 {
    font-size: 24px;
  }
}

.hero {
  background: #f7f7f7;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 1px solid #ccc;
  border-top: 6px solid royalblue;
  margin: 0 0 35px;
  overflow: hidden;
  padding: 0 0 35px;
}
@media (min-width: 768px) {
  .hero {
    margin-bottom: 50px;
    padding-bottom: 50px;
  }
}
.hero .left-tab {
  background: royalblue;
  color: #fff;
  display: block;
  float: left;
  font-size: 18px;
  line-height: 1.2;
  outline: none;
  padding: 20px 20px 10px;
  text-decoration: none;
}
@media (min-width: 768px) {
  .hero .left-tab {
    font-size: 22px;
  }
}
.hero .left-tab span {
  font-size: 14px;
}
@media (min-width: 768px) {
  .hero .left-tab span {
    font-size: 18px;
  }
}
.hero .right-tab {
  float: right;
  font-size: 13px;
  line-height: 1.2;
  margin: 10px 0 0;
}
@media (min-width: 768px) {
  .hero .right-tab {
    font-size: 15px;
  }
}
.hero h1 {
  clear: both;
  color: #333;
  display: block;
  float: left;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  margin: 40px 0 20px;
  padding: 0;
  position: relative;
  width: 100%;
  z-index: 100;
}
@media (min-width: 768px) {
  .hero h1 {
    font-size: 50px;
    margin: 50px 0 20px;
  }
}

.portfolio-items {
  clear: both;
}
.portfolio-items .item {
  background-color: #b1cece;
  color: #fff;
  display: block;
  float: left;
  font-size: 16px;
  line-height: 1.2;
  margin: 5px 10px 5px 0;
  overflow: hidden;
  padding: 9px 18px 8px;
  position: relative;
  text-decoration: none;
  transition: none;
}
@media (min-width: 768px) {
  .portfolio-items .item {
    font-size: 18px;
    padding: 12px 20px 10px;
  }
}
.portfolio-items .item::after {
  background-color: deeppink;
  content: "";
  display: block;
  height: 20px;
  position: absolute;
  right: -12px;
  top: -12px;
  transform: rotate(45deg);
  transition: none;
  width: 20px;
}
.portfolio-items .item:visited {
  color: #fff;
  text-decoration: none;
}

.skills-container {
  clear: both;
}
.skills-container .skills-set {
  float: left;
  width: 50%;
}
@media (min-width: 768px) {
  .skills-container .skills-subset {
    clear: none;
    float: left;
    width: 50%;
  }
}

.standard-form {
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}
@media (min-width: 768px) {
  .standard-form {
    width: 50%;
  }
}

.success-container {
  display: none;
}

.standard-input,
.standard-textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  border: 1px solid #ccc;
  border-radius: 0;
  box-shadow: none;
  clear: both;
  float: left;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0 0 15px;
  outline: none;
  padding: 10px;
  width: 100%;
}
.standard-input::-ms-clear,
.standard-textarea::-ms-clear {
  display: none;
}
.standard-input.disabled,
.standard-textarea.disabled {
  pointer-events: none;
}
.standard-input::-moz-placeholder, .standard-textarea::-moz-placeholder {
  color: #999;
  opacity: 1;
}
.standard-input::placeholder,
.standard-textarea::placeholder {
  color: #999;
  opacity: 1;
}

.standard-input {
  height: 44px;
  padding: 0 10px;
}
@media (min-width: 768px) {
  .standard-input {
    height: 50px;
  }
}

.standard-textarea {
  min-height: 150px;
  resize: none;
}

.error-border {
  border-color: red;
}

.dummy {
  left: -8000px;
  position: absolute;
}

.button-area {
  clear: both;
  float: left;
  height: 42px;
  width: 100%;
}
@media (min-width: 768px) {
  .button-area {
    height: 46px;
  }
}
.button-area .error-message {
  color: red;
  display: none;
  float: left;
  font-size: 13px;
  padding: 10px 0 0 10px;
}
@media (min-width: 768px) {
  .button-area .error-message {
    font-size: 14px;
    padding-top: 12px;
  }
}
.button-area .error-message.show-error {
  display: block;
}

.standard-submit {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  background-color: royalblue;
  border: none;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  float: left;
  font-family: inherit;
  font-size: inherit;
  height: 42px;
  line-height: inherit;
  margin: 0;
  outline: none;
  padding: 0 25px;
}
@media (min-width: 768px) {
  .standard-submit {
    height: 46px;
  }
}
.standard-submit.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.fail-human-label {
  clear: both;
  display: block;
  margin: 0 0 10px;
  padding: 0 0 0 26px;
  position: relative;
}
.fail-human-label::before {
  border: 1px solid #666;
  content: "";
  display: block;
  height: 16px;
  left: 0;
  position: absolute;
  top: 2px;
  width: 16px;
}
@media (min-width: 768px) {
  .fail-human-label::before {
    top: 4px;
  }
}

.fail-human-input {
  display: none;
}

.fail-human-input:checked + .fail-human-label::after {
  background: #666;
  content: "";
  display: block;
  height: 12px;
  left: 3px;
  position: absolute;
  top: 5px;
  width: 12px;
}
@media (min-width: 768px) {
  .fail-human-input:checked + .fail-human-label::after {
    top: 7px;
  }
}

#backup-recaptcha {
  display: none;
  padding-bottom: 14px;
}

.turnstile-container {
  clear: both;
  padding: 0 0 15px;
}
.turnstile-container.invisible {
  padding: 0;
}
.turnstile-container iframe {
  display: block;
}

footer {
  background-color: #666;
  clear: both;
  flex-shrink: 0;
  float: left;
  margin: 60px 0 0;
  padding: 40px 0;
  position: relative;
  width: 100%;
}
@media (min-width: 768px) {
  footer {
    margin-top: 80px;
    padding: 50px 0;
  }
}
footer .footer-text {
  color: #fff;
  font-size: 12px;
}
@media (min-width: 768px) {
  footer .footer-text {
    font-size: 14px;
  }
}
footer .footer-text.credits {
  clear: both;
  float: none;
  text-align: center;
}
@media (min-width: 768px) {
  footer .footer-text.credits {
    clear: none;
    float: left;
    text-align: left;
  }
}
footer .footer-text.copyright {
  clear: both;
  float: none;
  padding: 10px 0 0;
  text-align: center;
}
@media (min-width: 768px) {
  footer .footer-text.copyright {
    clear: none;
    float: right;
    padding: 0;
    text-align: right;
  }
}
footer .footer-text a {
  color: inherit;
  text-decoration: none;
}

.recaptcha-message {
  clear: both;
  color: #999;
  font-size: 12px;
  line-height: 1.2;
  padding: 0 0 14px;
}
@media (min-width: 768px) {
  .recaptcha-message {
    font-size: 13px;
    padding-bottom: 15px;
  }
}
.recaptcha-message a {
  color: inherit;
  text-decoration: underline;
}

.grecaptcha-badge {
  visibility: hidden;
}

.modal-overlay {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  height: 100%;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.modal-overlay.active {
  display: flex;
}

.modal {
  background-color: #fff;
  color: #333;
  max-height: 80vh;
  max-width: 600px;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  width: 90%;
}
.modal h2 {
  font-size: 20px;
  margin: 0 0 15px;
}
@media (min-width: 768px) {
  .modal h2 {
    font-size: 24px;
  }
}
.modal h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 20px 0 8px;
}
@media (min-width: 768px) {
  .modal h3 {
    font-size: 17px;
  }
}
.modal p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 10px;
}
@media (min-width: 768px) {
  .modal p {
    font-size: 14px;
  }
}

.modal-close {
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 15px;
  top: 15px;
}