﻿@font-face {
  font-family: "FiraCode";
  src: url("Fonts/FiraCode-VariableFont_wght.ttf");
}
@font-face {
  font-family: "Montserrat";
  src: url("Fonts/Montserrat-VariableFont_wght.ttf");
}
@font-face {
  font-family: "Inter";
  src: url("Fonts/Inter-VariableFont_opsz,wght.ttf");
}
*, html {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #0A0915;
  color: #91A0B5;
  font-family: Inter, monospace;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Montserrat;
}

h1:focus {
  outline: none;
  border: none;
}

h1 {
  color: #7C43EF;
}

h2 {
  color: #F8FAFC;
  margin: 10px 0px margin(small) 0px;
}

p {
  line-height: 1.5;
  font-family: Inter, monospace;
}

.row {
  margin: auto;
  /*margin-top: margin(primary_margin);*/
}

.btn {
  padding: 10px 15px !important;
  border-radius: 8px;
  font-family: Montserrat;
  margin: 10px 0px 0px 0px;
  outline: none !important;
  box-shadow: none !important;
}

.btn:active, .btn:focus {
  outline: none;
  box-shadow: none;
}

.secondary-background-dark {
  background-color: #141222;
}

.bi {
  color: #7C43EF;
  margin: 5px 0px;
}

.btn-primary, a.btn.btn-primary {
  background-color: #7C43EF !important;
  color: #F8FAFC;
  border: 2px solid #7C43EF;
}

.btn-primary:hover, a.btn.btn-primary:hover {
  color: #F8FAFC;
  background-color: #6F3AD4 !important;
  border: 2px solid #7C43EF;
}

.btn-primary:visited, .btn-primary:active, .btn-primary:focus {
  border: 2px solid #7C43EF !important;
}

.btn-secondary, a.btn.btn-secondary {
  background-color: #0A0915 !important;
  color: #F8FAFC;
  border: 2px solid #141222;
}

.btn-secondary:hover, a.btn.btn-secondary:hover {
  color: #F8FAFC;
  background-color: #7C43EF !important;
  border-color: #7C43EF;
}

.btn-secondary:active, .btn-secondary:visited {
  outline: none;
  box-shadow: none;
  border: 2px solid #141222;
}

div.validation-message {
  color: red;
  font-size: 12px;
  padding: 3px 0px 0px 6px;
  text-align: left;
}

.navbar-toggler {
  color: #7C43EF;
  border: 0;
  box-shadow: none;
}

.emoje-span {
  font-size: 24px;
}

.navbar-toggler:focus, .navbar-toggler:active {
  outline: none;
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("ham.svg");
}

.navbar {
  margin-top: 30px;
}

.nav-item {
  padding: 0px 30px;
}

.nav-link {
  font-size: 18px;
  color: #91A0B5;
  font-family: Montserrat;
}

.navbar-nav a:hover {
  color: #7C43EF;
}

.active, .nav-link:focus {
  color: #7C43EF !important;
  font-weight: 700;
}

.content-div {
  padding: 0;
  margin: 30px 0px 0px 0px;
}

section.row {
  margin-top: 40px;
  padding: 40px 0px;
}

.hero-section {
  min-height: 20vh;
  background-image: url("images/hero-img.png");
  background-position: right;
  background-size: auto;
  background-repeat: no-repeat;
  display: flex;
  margin-top: 30px;
  align-content: center;
}
.hero-section .hero-div {
  width: 70%;
}

.about-section img {
  max-width: 100%;
  border-radius: 8px;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.project-card {
  background-color: #0A0915;
  border: 1px solid;
  transition: box-shadow 0.3s;
}

.project-card:hover {
  box-shadow: rgba(124, 67, 239, 0.5) 0 2px 4px 0;
}

.card-body h5 {
  color: #F8FAFC;
}

.card-body p {
  padding-top: 10px;
  line-height: 1.3;
  color: #91A0B5;
}

.project-info {
  margin-bottom: 10px;
}

.technology-div {
  display: flex;
  flex-flow: wrap;
  gap: 0.5rem;
}

.primary-badge {
  background-color: #141222;
  color: #7C43EF;
  padding: 5px 10px;
  border-radius: 16px;
  text-wrap: nowrap;
  display: inline-block;
  font-size: 12px;
}

.secondary-badge {
  background-color: #141222;
  color: #91A0B5;
  padding: 10px;
  border-radius: 8px;
  text-wrap: nowrap;
  display: inline-block;
  font-size: 12px;
}

.primary-span {
  color: #91A0B5;
  font-size: 12px;
}

.footer {
  padding-bottom: 0;
}

.contact-info span {
  padding-left: 10px;
  color: #F8FAFC;
}

.contact-info span a {
  color: #F8FAFC;
}

.bi-telegram {
  color: #F8FAFC;
}

.contact-form {
  background-color: #0A0915;
  padding: 30px;
  border: 1px solid rgba(187, 186, 186, 0.1803921569);
  border-radius: 8px;
  text-align: left;
}

.form-control {
  background-color: #141222;
  border: 1px solid #141222;
  border-radius: 8px;
  font-family: Inter;
}

label {
  font-family: Montserrat;
}

.form-control:focus {
  border: 1px solid #7C43EF;
  background-color: #141222;
  outline: none;
  box-shadow: none;
  color: #F8FAFC;
}

.form-control:active {
  border: 1px solid #7C43EF;
  background-color: #141222;
}

.form-row {
  margin-bottom: 10px;
}

textarea.form-control {
  height: 170px;
  resize: none;
}

.button-submit {
  width: 100%;
}

.copy-rights {
  margin-top: 30px;
  font-family: Montserrat;
}

hr {
  background-color: #F8FAFC;
}

.copy-rights p {
  font-size: 14px;
  padding: 10px 0px;
}

.background-mask {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.message-container {
  position: fixed;
  top: 50%;
  left: 50%;
  max-width: 100%;
  /*height: 400px;*/
  transform: translate(-50%, -50%);
  background-color: #141222;
  padding: 100px;
  border-radius: 8px;
  border: 2px solid rgba(187, 186, 186, 0.1803921569);
  box-shadow: 1px 2px 20px #7C43EF;
}

.message-body img {
  height: 100px;
  width: 100px;
}

.message-body h1, .message-body p {
  font-family: Montserrat;
}

.visible {
  visibility: visible;
}

.hidden {
  visibility: hidden;
}

ul {
  text-align: left;
}

@media (max-width: 992px) {
  .navbar {
    padding: 10px;
  }
  .navbar-nav {
    padding: 20px 0px;
    align-content: center;
    align-items: center;
  }
  /*section {
      padding: 20px;
  }*/
  .hero-section .hero-div {
    width: 100%;
  }
}
@media (max-width: 576px) {
  .container, .container-sm {
    max-width: 100%;
    padding: 0;
  }
  .col-sm-12 {
    /*margin-top: margin(primary_margin);*/
    text-align: center;
  }
  /*
  .navbar {
      padding: padding(small_padding) padding(secondary_padding);
  }*/
  .hero-section {
    margin-top: 0;
  }
  .hero-section .hero-div {
    width: 100%;
  }
  .contact-form {
    margin-top: 20px;
  }
}
