*,
*::before,
*::after {
  font-family: inherit;
}
h1 {
  padding-bottom: 5px;
  text-decoration: underline rgb(14, 12, 12);
}

h1:hover {
  text-decoration: none;
}

body {
  margin: 0;
  font-family: "Exo", sans-serif;
}
@media only screen and (max-width: 720px) {
  /* @media (max-width: 320px) { */
  body {
    margin: 0;
    width: 45rem;
  }
}

header {
  background: #191435;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
}

header:hover {
  background: #131023;
}

/* .container {
  width: 100%;
} */

nav {
  display: flex;
  padding: 10px;
  justify-content: flex-end;
}

.nav-link {
  padding: 7px;
  color: #e9ecf0d4;
  text-decoration: none;
}

.nav-link:hover {
  color: #ffffff;
  text-decoration: underline overline;
}

.leo-logo {
  float: left;
  margin: 8px 30px;
}

.nav-btn {
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-size: 25px;
}
.open-btn {
  position: fixed;
  top: 10px;
  right: 10px;
  color: #fff;
}
.nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}
.nav.visible {
  transform: translateY(0);
}
.nav-black {
  background-color: rgb(241, 251, 252);
  width: 60%;
  max-width: 480px;
  min-width: 320px;
  transition-delay: 0.4s;
}
.nav-black.nav.visible {
  transition-delay: 0s;
}
.nav-purple {
  background-color: #191435;
  width: 95%;
  transition-delay: 0.2s;
}
.nav-purple.nav.visible {
  transition-delay: 0.4s;
}

.close-btn {
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 10px;
  color: #fff;
}
.list {
  /* padding-left: 45px; */
  display: flex;
  flex-direction: column;
}

.list li {
  /* margin: 0 20px; */
  list-style-type: none;
  padding: 13px;
}

.list li a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
}

@media only screen and (max-width: 720px) {
  header {
    position: fixed;
  }
  .nav-links {
    position: fixed;
    background: #5b78c7;
    height: 100vh;
    width: 100%;
    text-align: center;
    flex-direction: column;
    clip-path: circle(67px at 90% -10%);
    -webkit-clip-path: circle(67px at 90% -10%);
    transition: all 1s ease-out;
    pointer-events: none;
  }

  .nav-links.open {
    clip-path: circle(1000px at 90% -10%);
    -webkit-clip-path: circle(1000px at 90% -10%);
    pointer-events: all;
  }
  .nav-links a {
    font-size: 25px;
  }
  nav {
    justify-content: center;
    padding: 0;
  }

  .nav-links a:nth-child(1) {
    transition: all 0.5s ease 0.2s;
  }
  .nav-links a:nth-child(2) {
    transition: all 0.5s ease 0.4s;
  }
  .nav-links a:nth-child(3) {
    transition: all 0.5s ease 0.6s;
  }
  .nav-links a:nth-child(4) {
    transition: all 0.5s ease 0.8s;
  }
  .nav-links a:nth-child(5) {
    transition: all 0.5s ease 0.9s;
  }
  a.fade {
    opacity: 1;
  }
}
.content {
  background: url(/img/la.jpg) center center no-repeat;
  background-color: #000000;
  background-size: cover;
  padding: 6.5em 0;
  color: #e1e5e7;
  transition: padding 0.2s linear;
  /* height: 140vh;
  max-height: 700px; */
}

.content-about {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 3% 16%;
}

.about-page {
  float: left;
  margin-left: 7%;
  margin-top: 10%;
}

ul {
  columns: 4;
}

li {
  list-style-type: square;
}

.list-about {
  display: flex;
  flex-direction: column;
  margin-left: 10%;
  padding-bottom: 60px;
}

.profile-image {
  height: 14vw;
  width: 14vw;
  border-radius: 50%;
  opacity: 0.9;
}

.profile-image:hover {
  opacity: 1;
}

.enter-work {
  border: 1px solid #fff;
  color: white;
  font-size: 17px;
  text-align: center;
  background: none;
  padding: 18px 26px;
  cursor: pointer;
  text-decoration: none;
  margin-left: 42%;
}

.enter-work:hover {
  background: white;
  color: black;
  transform: rotate(90deg);
}
@media only screen and (max-width: 720px) {
  /* @media (max-width: 320px) { */
  ul {
    columns: 2;
  }
  .content {
    display: flex;
    flex-direction: column;
    background: #000000;
    padding: 7.5em 0;
    background: url(/img/la.jpg) center center no-repeat;
  }
  .enter-work {
    margin: 0;
    font-size: 11px;
    margin-left: 30%;
  }
  .about-page {
    margin-left: 42%;
    margin-top: 3%;
  }
  .profile-image {
    height: 25vh;
    width: 10rem;
  }
  .list-about {
    margin-left: 12%;
  }
}

.box-content {
  margin: 0 31px;
  margin-bottom: 44px;
}

.boxes-display {
  margin: 0 15%;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.work-box {
  max-width: 320px;
  height: fit-content;
  padding: 10px;
  border: 1px solid gray;
  box-shadow: 5px 5px 3px black;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 0;
  margin: 26px;
  background: radial-gradient(#f7f7fd00, #abbdf05c);
}

.work-box:hover {
  /* transform: scale(1.1); */
  cursor: pointer;
}

.box-caption {
  padding: 10px 3px;
}

.box-img {
  width: 300px;
  height: 230px;
  margin: 10px;
}

.unordered-list {
  columns: 2;
  padding-top: 7px;
}

.link-box-bottom {
  display: flex;
  justify-content: space-evenly;
  padding: 10px;
}

#box-links {
  border: 1px solid #0b0831;
  color: black;
  width: 45%;
  text-align: center;
  background: rgb(202, 64, 29);
  padding: 12px 0;
  cursor: pointer;
  text-decoration: none;
  border-radius: 16px;
}

#box-links:hover {
  background-color: rgb(58, 13, 221);
  color: white;
  box-shadow: 3px 3px black;
  transform: scale(1.1);
}

.content-flex {
  display: flex;
  text-align: center;
  margin: 18px;
  padding: 11px;
  margin-bottom: 71px;
  margin-top: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.5s all ease-in-out;
}

.text-1 {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
}
.text-1-appear {
  opacity: 1;
  transform: translateY(0px);
}

.text-2 {
  /* margin-left: 29px; */
  /* max-width: 15%; */
  text-align: center;
  padding: 3px 42px;
  color: #192841db;
}

.experience-box {
  width: 170px;
  margin: 32px;
  background: #c4d1f0;
  border-radius: 14px;
  padding: 8px;
}

#experience-icon {
  width: 49%;
  height: 71px;
  margin: 10px 45px;
}
@media only screen and (max-width: 720px) {
  /* @media (max-width: 320px) { */
  .content-flex {
    display: flex;
    flex-direction: column;
  }
  .work-box {
    font-size: 11px;
  }
  .box-img {
    width: 212px;
    height: 190px;
  }
  .box-content {
    margin-right: 47px;
  }
  .unordered-list {
    margin: 0;
  }
}
@media screen and (max-width: 1035px) {
  .content-flex {
    flex-direction: column;
  }
}

.about-img {
  height: 100px;
  width: 150px;
}

img {
  border-radius: 20px;
}

.logo {
  height: 55px;
  width: 65px;
}

#page-logos {
  display: flex;
  justify-content: space-evenly;
  align-content: center;
  margin-top: 40px;
}

form {
  border-radius: 5px;
  background-color: #423b53;
  padding: 20px;
  width: 32%;
}

.form-contact {
  padding: 3em 0;
  background: rgb(12 17 20 / 68%);
  color: #e1e5e7;
  transition: background-color 7s ease-out;
}
.form-contact:hover {
  background-color: #5b78c7;
}

.contact-me {
  margin-left: 26px;

  margin: 0px auto;
}

.form-group {
  padding: 16px;
  font-size: 18px;
}

input[type="text"],
textarea {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  border-style: none;
}

.btn-primary {
  width: 100%;
  background-color: #3a643c;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #2f9634;
}

@media only screen and (max-width: 720px) {
  /* @media (max-width: 320px) { */
  .contact-me {
    width: 76%;
    font-size: 11px;
  }
  .form-group {
    padding: 5px;
    font-size: 18px;
  }
  .footer-desc {
    font-size: 15px;
  }

  .logo {
    height: 2rem;
    width: 2rem;
  }
  .captcha-size {
    height: 74px;
    width: 264px;
  }
  h1 {
    text-align: center;
    font-size: 18px;
  }
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideincontent {
  from {
    transform: translateX(-100px);
  }
  to {
    transform: translateX(0px);
  }
}
@keyframes slideinname {
  from {
    transform: translateX(100px);
  }
  to {
    transform: translateX(0px);
  }
}
@keyframes slideinprofession {
  from {
    transform: translateX(-100px);
  }
  to {
    transform: translateX(0px);
  }
}
@keyframes slideinimage {
  from {
    transform: translateX(100px);
  }
  to {
    transform: translateX(0px);
  }
}
@keyframes slideinlist {
  from {
    transform: translateX(-100px);
  }
  to {
    transform: translateX(0px);
  }
}
.description-content {
  transform: translateX(0px);
  animation: fadein 5s;
  animation: slideincontent 2s;
}

.name {
  transform: translateX(0px);
  animation: fadein 3s;
  animation: slideinname 2s;
}
.profession {
  transform: translateX(0px);
  animation: fadein 5s;
  animation: slideinprofession 2s;
}
.profile-image {
  transform: translateX(0px);
  animation: fadein 3s;
  animation: slideinimage 2s;
}
.list-about {
  transform: translateX(0px);
  animation: fadein 5s;
  animation: slideinlist 2s;
}
.changeYear {
  text-align: center;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease-in;
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 30px;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.3s ease-out;
}

.modal-content h2 {
  color: #4CAF50;
  margin-top: 0;
  text-decoration: none;
}

.modal-content p {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.close:hover {
  color: #000;
}

.modal-btn {
  background-color: #4CAF50;
  color: white;
  padding: 10px 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.modal-btn:hover {
  background-color: #45a049;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
