/* GENERAL */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

/* APPLE
BACKGROUND: rgba(245,245,247,255)
DARK CARD: rgba(233,232,236,255)
LIGHT CARD: rgba(255,255,255,255) */

/* LETTER COLORS
tiles: rgb(53, 53, 53)
text: rgb(85, 85, 85)
grey: #6e6e73;
black: #1d1d1f;*/

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  padding: 0;
  background: rgba(245, 245, 247, 255);
}

html {
  scroll-behavior: smooth;
  padding: 0;
}

p,
span,
div,
button {
  color: rgb(85, 85, 85);
}

h1,
h2,
h3,
h4,
h5,
h6,
a {
  color: rgb(53, 53, 53);
}

/* TRANSITION */
a,
.btn,
.hamburger-icon span,
.menu-links,
.skills-card,
.experience-sub-container,
.project-details-container,
.contact-info-upper-container {
  transition: all 0.3s ease;
}

/* NAVIGATION */
nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 15vh;
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.5rem;
}

.signature-picture {
  object-fit: fill;
  width: 150px;
  height: auto;
  align-self: center;
}

.nav-links-container {
  align-self: center;
}

.desktop-container {
  height: 20vh;
  display: flex;
  justify-content: space-between;
  width: 1200px;
  max-width: 1200px;
}

a {
  text-decoration: none;
  text-decoration-color: rgb(181, 181, 181);
}

a:hover {
  color: grey;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: rgb(181, 181, 181);
}

.logo {
  font-size: 2rem;
}

.logo:hover {
  cursor: default;
}

/* HAMBURGER MENU*/
#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
  align-self: center;
  margin: 1rem;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: white;
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}

/* SECTIONS */
section {
  padding-top: 5vh;
  height: 95vh;
  margin: 0 8rem;
  box-sizing: border-box;
  min-height: fit-content;
}

/* HOME SECTION */
#home {
  background-color: transparent;
  background-image: linear-gradient(
    90deg,
    rgba(5, 5, 5, 1) 0%,
    rgba(67, 67, 67, 1) 73%
  );
  height: 100vh;
  padding: 0;
  margin: 0;
}

#home a,
#home p,
#home h1,
#home h2,
#home h3,
#home h4,
#home h5,
#home h6,
#home span,
#home div,
#home button {
  color: rgba(245, 245, 247, 255);
}

#home a:hover {
  color: grey;
}

#home .menu-links a {
  color: rgb(53, 53, 53); /* tiles color */
}

#home p,
h1 {
  margin-bottom: 0;
}

/* PROFILE SECTION */
#profile {
  display: flex;
  justify-content: center;
  gap: 1rem;
  height: 80vh;
  padding-bottom: 6rem;
  padding-top: 6rem;
  align-items: stretch;
}

.profile-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.profile-pic-container {
  display: flex;
  height: 100%;
  margin: auto 0;
  filter: contrast(0.9);
}

.profile-picture {
  border-radius: 25px;
}

.section__text {
  margin-bottom: 0rem;
  width: 60%;
  justify-self: center;
}

.section__text p {
  font-size: 20px;
  font-weight: 300 !important;
}

.profile-title {
  font-size: 45px;
  font-weight: 600 !important;
  text-align: left;
}

.section__text__p1 {
  margin-top: 2rem;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0;
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.title {
  font-size: 3rem;
  text-align: center;
  font-weight: 600;
  color: rgb(53, 53, 53);
}

.section-title {
  font-size: 3rem;
  text-align: center;
  color: rgb(53, 53, 53);
}

#profile .icon {
  filter: invert(100%);
}

.socials-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* ICONS */
.icon {
  cursor: pointer;
  height: 2rem;
}

.icon-checkmark {
  cursor: pointer;
  height: 1.25rem;
}

/* ARROW */
.arrow {
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
}

/* BUTTONS */
.btn-container {
  display: flex;
  justify-content: left;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 12rem;
  border-radius: 25px;
}

.btn-color-1 {
  background: transparent;
  color: white;
  border-color: white;
}

#profile .btn-color-1:hover {
  background: white;
  color: rgb(53, 53, 53);
  border-color: white;
}

/* ABOUT SECTION */
#about {
  position: relative;
}

.about-container {
  display: flex;
  gap: 4rem;
  height: 80%;
  justify-content: center;
}

.about-sub-container {
  justify-content: center;
  flex-direction: column;
  max-width: 1000px;
}

.about-sub1-container {
  gap: 1.5rem;
  margin-bottom: 2rem;
  margin-top: 0;
}

.about-sub-container,
.about-sub1-container {
  display: flex;
}

.about-pic {
  border-radius: 25px;
}
.about-sub2-container {
  padding: 1.5rem;
  flex: 1;
  cursor: pointer;
  background: white;
  border-radius: 25px;
  text-align: center;
  max-width: 500px;
  box-shadow: 2px 4px 12px #00000014;
  transition: all 0.3s cubic-bezier(0, 0, 0.5, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-sub2-container h3 {
  margin-top: 1rem;
}

.about-sub2-container p {
  margin-top: 0.5rem;
}

.about-sub2-container:hover {
  transform: scale3d(1.02, 1.02, 1.02);
  box-shadow: 2px 4px 20px #00000029;
}

.about-pic-container {
  display: flex;
  height: 350px;
  width: 350px;
  margin: auto 0;
}

.about-education-courses {
  column-count: 2;
  column-gap: 2rem;
}

.about-education-courses li {
  margin-bottom: 1.5rem;
}

.about-text-container {
  text-align: justify;
  display: flex;
}

.about-text-container p {
  margin-bottom: 0rem;
}

/* SKILLS SECTION */
#skills {
  position: relative;
}

.skills-containers {
  gap: 1.5rem;
  margin-top: 4rem;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}

.skills-article-container {
  display: block;
  row-gap: 2rem;
  text-align: left;
}

.skills-article-container article {
  margin-bottom: 1.25rem;
}
.skills-article-container div {
  margin-top: 0.5rem;
}

.skills-card-container {
  width: 290px;
  height: 450px;
  perspective: 1000px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  display: flex;
}

.skills-card {
  width: 100%;
  height: 100%;
  position: relative;
  box-shadow: 2px 4px 12px #00000014;
  transition: all 0.3s cubic-bezier(0, 0, 0.5, 1);
  transform-style: preserve-3d;
  border-radius: 25px;
  background: white;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.skills-card:hover {
  transform: scale3d(1.02, 1.02, 1.02);
  box-shadow: 2px 4px 20px #00000029;
}

.skills-card.is-flipped {
  transform: rotateY(180deg);
  border: none;
}

.skills-card-front,
.skills-card-back {
  width: 100%;
  height: 100%;
  border-radius: 25px;
  position: absolute;
  backface-visibility: hidden;
  background: white;
}

.skills-card-front {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  text-align: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

.skills-card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 1.5rem;
  box-sizing: border-box;
  overflow-y: auto;
  max-height: 100%;
}

.skills-card-front .skills-card-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: rgb(53, 53, 53);
  margin-top: 1rem;
}

.skills-card-front .skills-card-position {
  font-size: 1.25rem;
  color: rgb(85, 85, 85);
  margin-top: 0.5rem;
}

/* EXPERIENCE SECTION */
#experience {
  position: relative;
}

.experience-container {
  gap: 1.5rem;
  margin-top: 4rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
}

.experience-sub-container {
  width: 290px;
  height: 400px;
  cursor: pointer;
  border-radius: 25px;
  background: white;
  box-shadow: 2px 4px 12px #00000014;
  transition: all 0.3s cubic-bezier(0, 0, 0.5, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.experience-sub-container:hover {
  transform: scale3d(1.02, 1.02, 1.02);
  box-shadow: 2px 4px 20px #00000029;
}

.experience-sub-container img {
  width: 220px;
  height: 220px;
  border-radius: 25px;
  margin: 20px;
  object-fit: cover;
}

.experience-card-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: rgb(53, 53, 53);
  text-align: center;
}

.experience-card-position {
  font-size: 1.25rem;
  color: rgb(85, 85, 85);
  text-align: center;
}

/* PROJECTS SECTION */
#projects {
  position: relative;
}

.color-container {
  border-color: rgb(163, 163, 163);
  background: rgba(233, 232, 236, 255);
}

.project-btn {
  color: rgb(53, 53, 53);
  background: rgba(245, 245, 247, 255);
  border: 3px solid rgba(233, 232, 236, 255);
}

.project-btn:hover {
  background: rgb(53, 53, 53);
  color: white;
}

.project-containers {
  gap: 1.5rem;
  margin-top: 4rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
}

.project-btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.project-sub-container {
  width: 290px;
  height: 450px;
  cursor: pointer;
  border-radius: 25px;
  background: white;
  box-shadow: 2px 4px 12px #00000014;
  transition: all 0.3s cubic-bezier(0, 0, 0.5, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.project-sub-container:hover {
  transform: scale3d(1.02, 1.02, 1.02);
  box-shadow: 2px 4px 20px #00000029;
}

.project-sub-container img {
  width: 220px;
  height: 220px;
  border-radius: 25px;
  margin: 20px;
  object-fit: cover;
}

.project-card-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: rgb(53, 53, 53);
  text-align: center;
}

.project-card-position {
  font-size: 1.25rem;
  color: rgb(85, 85, 85);
  text-align: center;
}

/* CONTACT */
#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 25px;
  background: white;
  margin: 2rem auto;
  padding: 0.5rem;
  box-shadow: 2px 4px 12px #00000014;
  transition: all 0.3s cubic-bezier(0, 0, 0.5, 1);
  gap: 0.5rem;
}

.contact-info-upper-container:hover {
  transform: scale3d(1.02, 1.02, 1.02);
  box-shadow: 2px 4px 20px #00000029;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}

.contact-info-container p {
  display: flex;
  align-content: center;
  margin: 0;
  padding: 0;
}

.contact-info-container a {
  margin: 0;
  padding: 0;
}

.contact-icon {
  cursor: default;
}

.email-icon {
  height: 2.5rem;
}

/* FOOTER SECTION */
footer {
  height: 26vh;
  margin: 0 1rem;
}

footer p {
  text-align: center;
  color: rgb(85, 85, 85);
}

#siteseal {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* MODALS */
.modal-dialog {
  max-width: 100%;
  width: 80%;
  vertical-align: middle;
}

.modal-content {
  background-color: rgba(233, 232, 236, 255);
  padding: 10px;
  border: 1px solid #888;
  box-sizing: border-box;
  position: relative;
  border-radius: 25px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.modal-header p {
  justify-content: right;
  margin: auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal video {
  width: 100%;
  height: auto;
  border-radius: 25px;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  background: rgba(233, 232, 236, 255);
  font-size: 28px;
  font-weight: bold;
  border: none;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#siteseal {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
