/* Start globals */

:root {
  --main-color: rgb(19, 71, 124);
  --p-color: rgb(70, 88, 105);
}
html {
  font-family: "Open Sans", sans-serif;
}
h3 {
  font-size: 1.5rem;
}

.lead {
  color: var(--p-color);
  font-size: 1.1rem;
}

.btn-custom,
.btn-custom:hover {
  background-color: var(--main-color);
  color: #fff;
}
.btn-custom:hover {
  opacity: 0.7;
}
.custom-field {
  padding: 9px 18px;
  transition: all 0.3s ease-in-out;
  border-width: 1px;
  border-radius: 99rem;
}
textarea.custom-field {
  border-radius: 10px;
}
.custom-field:hover {
  border-color: var(--main-color);
}

/* Start image modal */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background-color: rgba(19, 71, 124, 0.571);
}
.image-modal .fa-xmark {
  position: absolute;
  color: white;
  top: 20px;
  right: 20px;
  cursor: pointer;
}
.image-modal .fa-trash-can {
  position: absolute;
  color: white;
  color: rgb(228, 92, 80);
  top: 23px;
  right: 60px;
  font-size: 1.5rem;
  cursor: pointer;
}
.image-modal img {
  max-width: 100%;
}
/* End image modal */
/* End globals */

/* Start Main Navbar */
nav.navbar .navbar-brand {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--main-color);
}
nav.navbar .navbar-collapse .nav-link {
  font-weight: 500;
  font-size: 1rem;
}
nav.navbar .navbar-collapse .nav-link.active,
nav.navbar .navbar-collapse .nav-link:hover {
  color: var(--main-color);
}
/* End Main Navbar */

/* Start homepage */
header.main {
  height: 100vh;
}

header.main .hub-slider {
  height: calc(100% - 70px);
}
header.main .hub-slider .bullets-holder li {
  background-color: white;
}
header.main .hub-slider > div {
  position: relative;
  height: 100%;
}
header.main .hub-slider > div.active {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
header.main .hub-slider > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.4),
    rgb(8, 33, 57)
  );
}
header.main .hub-slider > div.active img {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
header.main .hub-slider > div > .text {
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 2rem 2rem 2rem;
  z-index: 1;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.9), 0 2px 0 #123;
  background: none;
  border-radius: 0;
  animation: sliderTextFadeIn 1.2s cubic-bezier(0.77, 0, 0.18, 1);
}

header.main .hub-slider > div > .text strong,
header.main .hub-slider > div > .text b {
  display: block;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #14325c;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

header.main .hub-slider > div > .text span,
header.main .hub-slider > div > .text p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
}

@keyframes sliderTextFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
header.main .hub-slider > div > .text:first-line {
  font-size: 3rem;
  font-weight: bold;
  color: rgb(15, 49, 84);
}

.about-intro {
  padding: 50px 0;
}
.about-intro h2 {
  font-size: 1.9rem;
  text-align: center;
  margin: 0;
  margin-bottom: 20px;
  color: var(--main-color);
}
.about-intro p {
  text-align: center;

  max-width: 700px;
  margin: auto;
}
.about-intro a {
  display: block;
  margin: auto;
  width: 150px;
  margin-top: 20px;
  background-color: transparent;
  color: var(--main-color);
  border: 1px solid var(--main-color);
}

.live-story {
  padding: 50px 0;
  background-color: rgba(15, 49, 84, 0.085);
}
.live-story h2 {
  font-size: 1.9rem;
  text-align: center;
  margin: 0;
  margin-bottom: 20px;
  color: var(--main-color);
}
.live-story p {
  text-align: center;

  max-width: 700px;
  margin: auto;
}
.live-story a {
  display: block;
  margin: auto;
  width: 150px;
  margin-top: 20px;
  background-color: transparent;
  color: var(--main-color);
  border: 1px solid var(--main-color);
}

.let-connect {
  padding: 50px 0;
}
.let-connect h2 {
  font-size: 1.9rem;
  text-align: center;
  margin: 0;
  margin-bottom: 20px;
  color: var(--main-color);
}
.let-connect p {
  text-align: center;
  max-width: 700px;
  margin: auto;
}
.let-connect .contacts {
  text-align: center;
  margin-top: 20px;
}
.let-connect .contacts .contact svg {
  position: relative;
  bottom: -20px;
  display: block;
  margin: auto;
  width: 30px;
  height: 30px;
  padding: 10px;
  border-radius: 50%;
  background-color: var(--main-color);
  color: #fff;
}
.let-connect .contacts .contact div {
  background-color: rgba(15, 49, 84, 0.085);
  padding: 40px 20px;
  border-radius: 10px;
  max-width: 300px;
  margin: auto;
  box-shadow: 0 5px 10px rgba(15, 49, 84, 0.2);
}
.let-connect .contacts .contact div h5 {
  color: var(--main-color);
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.let-connect .contacts .contact div p {
  line-height: 2rem;
}
.let-connect .contacts .contact div a {
  color: inherit;
  text-decoration: none;
}
.let-connect .contacts .contact div a.contact-form {
  text-decoration: underline;
  font-weight: normal;
  padding: 0;
}
/* End homepage */

/* Start main footer */
footer.main {
  background-color: var(--main-color);
  padding: 20px;
  color: white;
  text-align: center;
  margin-top: 40px;
}
footer.main .social-media {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}
footer.main .social-media a {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  color: var(--main-color);
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
footer.main .quick-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 0 0 20px 0;
}
footer.main .quick-links a {
  color: white;
  font-size: 1rem;
}
footer.main .quick-links a:hover {
  text-decoration: none;
}
footer.main .copyrights {
  font-size: 1rem;
  margin: 0;
}
/* End main footer */

/************************* Start gallery page *********************************/

.gallery-header .intro {
  /* background-color: var(--main-color);
  color: white;
  text-align: center;
  padding: 20px; */

  background-color: rgba(15, 49, 84, 0.118);
  color: var(--main-color);
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--main-color);
  border-bottom: 1px solid var(--main-color);
}
.gallery-header .intro h2 {
  font-size: 1.5rem;
  margin: 0;
}
.gallery {
  margin-top: 50px;
}
.gallery .image {
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
  height: 200px;
  margin-bottom: 20px;
}
.gallery .image:hover {
  opacity: 0.5;
}
.gallery .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 3px;
  border: 1px solid var(--main-color);
  border-radius: 10px;
}
/************************* End gallery page *********************************/

/************************* Start contact page *********************************/
.contact-header .intro {
  background-color: rgba(15, 49, 84, 0.118);
  color: var(--main-color);
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--main-color);
  border-bottom: 1px solid var(--main-color);
}
.contact-header .intro h2 {
  font-size: 1.5rem;
  margin: 0;
}
.contact-form {
  padding: 100px 0;
  max-width: 600px;
  margin: auto;
}
.contact-form h3 {
  text-align: center;
}
.contact-form .row {
  margin-top: 20px;
}
/************************* End contact page *********************************/

/************************* Start about page *********************************/
.about-header .intro {
  background-color: rgba(15, 49, 84, 0.118);
  color: var(--main-color);
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--main-color);
  border-bottom: 1px solid var(--main-color);
}
.about-header .intro h2 {
  font-size: 1.5rem;
  margin: 0;
}

.about-me {
  padding: 50px 0;
}
.about-me img {
  border-radius: 10px;
  padding: 3px;
  border: 1px solid rgb(19, 71, 124);
}

.skills-summary {
  padding: 50px 0;
  background-color: rgba(15, 49, 84, 0.085);
}
.skills-summary .d-lg-block img {
  object-fit: cover;
  height: 100%;
  border-radius: 10px;
  padding: 3px;
  border: 1px solid rgb(19, 71, 124);
}
.skills-summary h2 {
  font-size: 1.9rem;
  margin: 0;
  margin-bottom: 20px;
  color: var(--main-color);
}
.skills-summary p {
  font-weight: 500;
}
.skills-summary ul {
  line-height: 2rem;
  padding: 0 15px;
}
.skills-summary ul li {
  list-style-type: disc;
  max-width: 700px;
  padding: 5px 0;
}

.my-diplomas {
  background-color: #fff !important;
}
.my-diplomas .hub-slider > .active > .position {
  background-color: rgba(15, 49, 84, 0.085) !important;
}

.my-experience {
  padding: 50px 0;
  background-color: rgba(15, 49, 84, 0.085);
}
.my-experience h2 {
  text-align: center;
  font-size: 1.9rem;
  margin: 0;
  margin-bottom: 20px;
  color: var(--main-color);
}
.my-experience .container > div.lead {
  text-align: center;
  max-width: 700px;
  margin: auto;
  margin-bottom: 20px;
}
.my-experience .hub-slider {
  max-width: 800px;
  margin: auto;
}
.my-experience .hub-slider > .active {
  display: flex;
  text-align: initial;
}
.my-experience .hub-slider > .active > svg {
  color: var(--main-color);
}
.my-experience .hub-slider > .active > .position {
  padding: 20px 20px 50px 20px;
  background-color: #fff;
  margin: 50px 20px;
  margin-top: 30px;
  border-radius: 5px 10px;
  width: 100%;
}
.my-experience .hub-slider > .active > .position span {
  font-weight: 500;
}
.my-experience .bullets-holder {
}
.my-experience .bullets-holder li {
  background-color: rgb(15, 49, 84);
}

.download-cv {
  padding: 50px 0;
}
.download-cv h2 {
  text-align: center;
  font-size: 1.9rem;
  margin: 0;
  margin-bottom: 20px;
  color: var(--main-color);
}
.download-cv div.lead {
  text-align: center;
  max-width: 600px;
  margin: auto;
  margin-bottom: 20px;
}
.download-cv .cv {
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 10px;
}
.download-cv .cv a {
  background-color: transparent;
  color: var(--main-color);
  border: 2px solid var(--main-color);
}
/************************* End about page *********************************/

/************************* Start error page *********************************/
.error-header .intro {
  background-color: rgba(15, 49, 84, 0.118);
  color: var(--main-color);
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--main-color);
  border-bottom: 1px solid var(--main-color);
}
.error-header .intro h2 {
  font-size: 1.5rem;
  margin: 0;
}
.error-illustrator {
  padding: 50px 0;
  display: flex;
  justify-content: center;
}
.error-illustrator img {
  max-width: 100%;
}
/************************* End error page *********************************/

/************************* Start thanks page *********************************/
.thanks-header .intro {
  background-color: rgba(15, 49, 84, 0.118);
  color: var(--main-color);
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--main-color);
  border-bottom: 1px solid var(--main-color);
}
.thanks-header .intro h2 {
  font-size: 1.5rem;
  margin: 0;
}
.thanks-illustrator {
  padding: 50px 0;
  display: flex;
  justify-content: center;
}
.thanks-illustrator img {
  max-width: 100%;
}
/************************* End thanks page *********************************/

/************************* Start admin page *********************************/
.admin-header .intro {
  background-color: rgba(15, 49, 84, 0.118);
  color: var(--main-color);
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--main-color);
  border-bottom: 1px solid var(--main-color);
}
.admin-header .intro h2 {
  font-size: 1.5rem;
  margin: 0;
}
.sections-links {
  padding: 50px 0;
  gap: 25px;
  display: flex;
  font-size: 1.3rem;
  flex-direction: column;
}
.sections-links a {
  color: inherit;
  position: relative;
}
.sections-links a:hover {
  color: var(--main-color);
  text-decoration: none;
}
.sections-links a::before {
  content: "•";
  display: inline-block;
  padding: 0 10px;
  font-size: 1.3rem;
  font-weight: bold;
}
/************************* End admin page *********************************/

/************************* Start admin contact page *********************************/
.admin-contact-header .intro {
  background-color: rgba(15, 49, 84, 0.118);
  color: var(--main-color);
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--main-color);
  border-bottom: 1px solid var(--main-color);
}
.admin-contact-header .intro h2 {
  font-size: 1.5rem;
  margin: 0;
}
.messages-contact {
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.messages-contact .no-messages {
  font-size: 1.3rem;
  text-align: center;
}
.messages-contact .message {
  background-color: rgba(15, 49, 84, 0.2);
  padding: 20px;
  padding-top: 40px;
  border-radius: 5px;
  position: relative;
}
.messages-contact .message .content {
  margin: 0;
  font-size: 1rem;
}
.messages-contact .message .info {
  background-color: var(--main-color);
  color: white;
  position: absolute;
  top: -20px;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 1rem;
}
.messages-contact form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-top: 20px;
}
.messages-contact form > div {
  display: flex;
  gap: 20px;
}
.messages-contact form span:first-of-type {
  display: inline-block;
  padding: 5px 7px;
  border-radius: 5px;
  background-color: var(--main-color);
  color: white;
}
.messages-contact form span:last-of-type {
  display: inline-block;
  padding: 5px 7px;
  color: var(--main-color);
}
.messages-contact form span a {
  color: inherit;
  text-decoration: inherit;
}
.messages-contact form button {
  font-size: 0.9rem;
}
/************************* End admin contact page *********************************/

/************************* Start gallery admin page *********************************/
.admin-gallery-header .intro {
  background-color: rgba(15, 49, 84, 0.118);
  color: var(--main-color);
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--main-color);
  border-bottom: 1px solid var(--main-color);
}
.admin-gallery-header .intro h2 {
  font-size: 1.5rem;
  margin: 0;
}
.gallery-form {
  padding: 50px 0;
}
.gallery-form > h3 {
  text-align: center;
}
.no-images {
  text-align: center;
  font-size: 1.3rem;
}
/************************* End gallery admin page *********************************/

/************************* Start write admin page *********************************/
.write-form {
  padding: 50px 0;
}
.write-form h3 {
  text-align: center;
}
.write-form .btn-publish {
  margin: 20px 0 0 0;
}
/************************* End write admin page *********************************/

/************************* Start login page *********************************/
.login-header .intro {
  background-color: rgba(15, 49, 84, 0.118);
  color: var(--main-color);
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--main-color);
  border-bottom: 1px solid var(--main-color);
}
.login-header .intro h2 {
  font-size: 1.5rem;
  margin: 0;
}
.login-form {
  padding: 100px 0;
  max-width: 600px;
  margin: auto;
}
.login-form h3 {
  text-align: center;
}
.login-form .row {
  margin-top: 20px;
}
/************************* End login page *********************************/
