@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,300;0,400;0,500;0,600;1,200;1,300;1,400;1,500;1,600&display=swap");

body {
  background-color: white;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

/*------------------- Border------------------------------------------------------ */
.border {
  margin: 0 auto;
  border-bottom: 1px solid black;
}
@media (min-width: 1200px) {
  .border {
    width: 40%;
  }
}
@media (max-width: 1199.98px) and (min-width: 992px) {
  .border {
    width: 70%;
  }
}

/* ---------------------Navbar---------------------------------------------------- */
.navbar-custom {
  background-color: rgb(255, 255, 255);
}
.navbar-custom .nav-link {
  color: #666666a4;
  font-weight: bold;
}
.navbar-custom .nav-link:hover {
  color: rgb(0, 0, 0);
}
.navbar-custom .active {
  color: rgb(0, 0, 0) !important;
}
.custom-toggler {
  border-color: rgb(255, 255, 255);
}
.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='rgb(124, 30, 27)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}
.custom-toggler:focus,
.custom-toggler:active {
  color: rgba(100, 28, 26, 0.562);
  border: 1px;
}
/* ------------------ Header------------------------------------------------------ */
header {
  padding-top: 50px;
}
.mycard {
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 19px;
  padding-bottom: 1rem;
}
.mycard a {
  text-decoration: none;
  color: #584d4d;
}
.mycard a:hover {
  text-decoration: underline;
  color: black;
}
.card-title {
  color: rgb(124, 30, 27);
}
header br {
  line-height: 10px;
}
header h5 {
  font-size: 1.05rem;
  font-weight: 400;
}
/* -----------------------CV ------------------------------------------------------*/
.cv {
  padding-top: 50px;
  text-align: center;
  font-size: 0.95rem;
}
.cv-links a {
  text-decoration: none;
  color: #247297;
}

.cv-links a:hover {
  color: black;
}
.short-cv {
  text-align: justify;
}
.profiles span {
  display: flex;
  justify-content: center;
}
/* --------------------------Research---------------------------------------------- */
.research {
  padding-top: 50px;
}
.pub-category {
  color: rgb(124, 30, 27);
  text-align: center;
  font-size: 1.1rem;
}
.pub-sub-category {
  font-size: 0.95rem;
}
.research a {
  color: rgb(48, 83, 123);
  font-size: 0.95rem;
  text-decoration: none;
}
.research a:hover {
  color: rgb(0, 0, 0);
  text-decoration: underline;
}
.research span,
.pub-collective {
  font-size: 0.95rem;
}
.pub-journal {
  font-style: italic;
}
.working-paper {
  text-align: justify;
  font-size: 50rem;
  font-size: 0.95rem;
}

/* ----------------Teaching---------------------------------------------------------- */
.card-teaching {
  font-size: 0.95rem;
  line-height: 1.9rem;
}

/* ----------------------Quotes----------------------------------------------------------- */

.blockquote-custom {
  font-size: 0.8rem;
  text-align: justify;
  /* background-color: #e2e2e25e; */
}
.quote .author {
  font-size: 0.8rem;
}
.blockquote-custom .the-quote {
  font-style: italic;
}

/* ----------------Contact-------------------------------------------------------------- */
.contact {
  line-height: 1.8rem;
}
.contact a {
  text-decoration: none;
  color: #584d4d;
}
.contact a:hover {
  color: black;
}
.fas,
.fab {
  color: #584d4d;
}
.profiles {
  /* line-height: 2rem; */
  margin: 0 auto;
}
.profiles > p {
  margin-bottom: 0;
  color: #212529;
}
.profiles img,
.profiles a {
  margin: 0 auto;
  width: 100px;
  object-fit: contain;
}

.profiles img:hover {
  transition: 0.5s;
  transform: scale(120%);
}
.mycontact {
  padding-top: 50px;
}
.mycontact .profiles {
  font-size: 0.95rem;
}
/* -------------------------Photos ---------------------------------------------------*/
.photos {
  padding-top: 50px;
  text-align: center;
}
.photos a {
  text-decoration: none;
  color: #247297;
}

.photos a:hover {
  color: black;
}
.mygrid .row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
  justify-content: center;
}

/* four equal columns*/
.mygrid .column {
  flex: 25%;
  max-width: 20%;
  padding: 0 4px;
}

.mygrid .column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* two column */
@media screen and (max-width: 800px) {
  .mygrid .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* one column */
@media screen and (max-width: 600px) {
  .mygrid .column {
    flex: 100%;
    max-width: 100%;
  }
}

/*------------------------- Media Queries----------------------------------------------- */
@media (min-width: 992px) {
  .navbar-custom .navbar-nav .nav-link {
    padding-left: 20px;
    padding-right: 20px;
  }
  .navbar-custom .navbar-brand {
    display: none;
  }
  .research {
    width: 60%;
  }
  .quote {
    padding-top: 1rem;
  }
}
@media (max-width: 991.98px) {
  .navbar-collapse {
    padding-top: 10px;
  }
  .navbar-custom .navbar-nav .nav-link {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .navbar-brand {
    color: rgb(124, 30, 27);
    font-size: 1.2rem;
  }
  .profile-image {
    text-align: center;
  }
  .profile-text {
    text-align: center;
  }
  .card-body {
    text-align: center;
    padding-bottom: 2rem;
  }
  .border {
    width: 95%;
  }
  .research {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .card-teaching-body {
    text-align: center;
    padding-bottom: 2rem;
  }
  .teaching-picture {
    padding-bottom: 2rem;
  }
  .mycard img {
    padding-bottom: 1rem;
  }
  .cv {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .cv img {
    padding-bottom: 2rem;
  }
  .profiles img {
    width: 7rem;
  }
  .contact {
    padding-top: 10px;
    text-align: center;
  }
}
