:root {
  --main-color: rgb(165, 53, 53);
  --main-color-2: rgb(255, 168, 168);
  --main-background-color: white;
  --main-text-color: black;
  --main-nav-color: rgb(165, 53, 53);
  --main-color-3: #f8f9fa;
  --opacity: 0.55;
}
* {
  margin: 0;
  padding: 0;
  font-size: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--main-background-color);
  color: var(--main-text-color);
  width: 100%;
}

#themeIcon {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--main-text-color);
  font-size: 1.25rem;
  padding: 10px 8px;
  margin: 15px 15px 15px 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  color: inherit;
}
a:focus {
  outline: none;
}
.center {
  width: 60%;
  margin: 0 auto;
  text-align: center;
}

.navbar {
  padding: 15px 0;
  background-color: var(--main-background-color);
}
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus,
.navbar-toggler {
  border: none;
  box-shadow: none;
  outline: none;
}
.navbar ul {
  width: 40%;
}
.nav-item {
  position: relative;
  cursor: pointer;
}
.nav-link {
  color: var(--main-text-color) !important;
  opacity: var(--opacity);
}
nav a::after {
  content: '';
  position: absolute;
  height: 3px;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--main-nav-color);
  transition: transform ease-in-out 175ms;
  transform: scaleX(0);
}
nav a:focus::after,
nav a:hover::after {
  transform: scaleX(1);
}

.aboutMe {
  text-align: center;
  height: 30rem;
  background-color: var(--main-color);
  display: flex;
  color: white;
}
.content {
  width: 50%;
  margin: auto;
  text-align: center;
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.5rem;
}
h2,
h1 {
  font-weight: 700;
}
.iconLinks {
  margin: 3rem auto 0 auto;
  width: 200px;
  justify-content: space-between;
  display: flex;
}
.aboutMe .iconLinks a:hover {
  color: initial;
}

.proyects {
  padding-top: 4.5rem;
}
.proyects h3 a {
  font-size: calc(1.3rem + 0.6vw);
}

.proyectBody {
  text-align: start;
}

ul {
  list-style-type: none;
}
/* .list-group {
  background-color: var(--main-background-color) !important;
} */
.list-group-item {
  font-weight: 300;
  font-size: 1.25rem;
  background-color: var(--main-background-color);
}
.proyects .iconLinks {
  margin: 2rem auto;
  max-width: 700px;
  width: auto;
}
.proyects .iconLinks .btn,
.proyects .iconLinks a {
  font-size: 23px;
  width: 140px;
}

#educationDiv {
  width: 60%;
  margin: auto;
}
.education {
  display: flex;
  justify-content: space-between;
}

.courses,
.titles {
  padding: 10px 0;
  width: 50%;
}

.iconLinks .btn-light:hover {
  background-color: rgb(233, 233, 233);
}

.item {
  position: relative;
  justify-content: space-between;
  width: 100%;
  margin: 20px auto 0 auto;
  display: flex;
  padding: 10px 10px 0 10px;
  border-radius: 9999px;
  border: 1px solid transparent;
}
.item:hover {
  border: 1px solid var(--main-color-2);
}
.item > h6 {
  width: 30%;
}
.item div {
  width: 70%;
}
.titles > h5,
.courses > h5 {
  font-weight: 700;
}

.lightgray {
  color: var(--main-color-2);
}

.contact {
  width: 60%;
  padding: 4.5rem 0;
}
.contact .all {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
/* .contact .sub {
  width: 50%;
} */
.contact a {
  color: inherit;
  font-size: 25px;
  border-radius: 9999px;
  padding: 13px 20px;
}
.contact a:hover {
  background-color: var(--main-color);
  color: white;
}
.contact i {
  margin-right: 5px;
}

.fullWidth {
  background-color: var(--main-color);
  height: 35rem;
  display: flex;
  color: white;
}

footer {
  height: 10vh;
  background-color: var(--main-color);
}

.fa-youtube {
  color: red;
}
.fa-book {
  color: rgb(90, 90, 90);
}

.iconLinks .btn-light:hover .fa-book {
  color: black;
}

@media (max-width: 992px) {
  .modal-dialog {
    width: 100% !important;
  }
  .content {
    width: 95% !important;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .aboutMe {
    height: auto;
  }
  .center {
    width: 70%;
  }
  .education {
    justify-content: center;
  }
  .education .courses,
  .education .titles {
    width: 70%;
  }
  .fullWidth {
    height: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
@media (min-width: 1400px) {
  .list-group ul {
    width: 50% !important;
  }
}

@media (max-width: 1435px) {
  .content {
    width: 75%;
  }
  #educationDiv {
    width: 90%;
  }
  .contact {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .education .courses,
  .education .titles {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .center {
    width: 90%;
  }
}
@media (max-width: 715px) {
  .list-group-item,
  .proyectBody .lead {
    font-size: calc(1rem + 0.2vw);
  }
  h2,
  h1 {
    font-size: calc(1.25rem + 1vw);
  }
  h4 {
    font-size: calc(0.9rem + 1vw);
  }
  .contact a {
    font-size: calc(0.9rem + 0.14vw);
  }
  .education h5 {
    font-size: 1rem;
  }
  .education h6 {
    font-size: calc(0.7rem + 0.2vw);
  }
}
