/* -----------------------------
    COMMON
-------------------------------*/
.body {
  overflow: hidden;
  font-family: Georgia, serif;
}

/* -----------------------------
    MAIN SECTIONS
-------------------------------*/
.head-section {
  background-image: url("/src/images/project_pic2.jpg");
  opacity: 0.9;
  background-size: cover;
  background-position: center;
  height: 1400px;
}

.intro-container {
  width: 100%;
  background-color: white;
  padding: 5% 0;
  height: auto;
}

.intro-section {
  width: 80%;
  display: flex;
  flex-direction: column;
  margin-left: 10%;
  font-size: 1.4vw;
  text-align: center;
}

.projects-section {
  width: 100%;
  padding: 5% 0;
  height: auto;
  display: flex;
  flex-direction: column;
  background-color: #f0f0f0;
  font-size: 1.3vw;
}

/* -----------------------------
    INTRO SECTION
-------------------------------*/
.intro-section > h1 {
  transition: all 1s ease-in-out;
}

.intro-section > p {
  transition: all 2s ease-in-out;
}

/* -----------------------------
    PROJECTS SECTION
-------------------------------*/
/* Projects section title */
.projects-section > h1 {
  position: relative;
  text-align: center;
}

/* All projects container */
.projects-container {
  width: 80%;
  margin-left: 10%;
  height: auto;
  display: flex;
  flex-direction: column;
  padding-top: 10%;
  padding-bottom: 5%;
}

/* Single project container */
.project-box {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  padding-bottom: 5%;
}

.project-box p,
.project-box h3 {
  transition: all 0.5s ease-in-out;
}

.project-media-box {
  display: flex;
  flex-direction: column;
}

.project-text-box {
  display: flex;
  flex-direction: column;
  margin-top: 5%;
  padding-left: 10%;
}

.reverse-project-media-box {
  display: flex;
  flex-direction: column;
  padding-left: 10%;
}

.reverse-project-text-box {
  display: flex;
  flex-direction: column;
  margin-top: 5%;
}

/* For mobile projects */
.mobile-project-box {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  padding-bottom: 5%;
}

#button-row {
  display: flex;
  flex-direction: row;
}

#button-row a {
  margin-left: 2%;
}

#media-row {
  display: flex;
  flex-direction: row;
}

#media-row img {
  padding-right: 2%;
  transition: transform 0.5s ease;
}

#media-row video {
  transition: transform 0.5s ease;
}

#media-row img:hover,
#media-row video:hover {
  -webkit-transform: scale(1.8); /* or some other value */
  transform: scale(1.8);
}

#proj-media-box {
  max-width: 50%;
  height: auto;
}

#proj-big-media-photo {
  max-width: 23%;
  height: auto;
}

.lineheight {
  line-height: 150%;
}

/*
Web page for monitor
*/
@media (min-width: 1000px) {
  .nav {
    display: none;
  }

  .mobile-project-box {
    display: none;
  }
}

/*
Web page for mobile phone
*/
@media (max-width: 1000px) {
  /* Single project container */
  .project-box {
    display: flex;
    flex-direction: column;
  }

  .mobile-project-box {
    display: block;
  }

  #reversed-project-container {
    display: none;
  }

  .navigation {
    display: none;
  }

  .projects-section {
    font-size: 17px;
  }

  .intro-section {
    font-size: 20px;
  }

  .project-text-box {
    padding-left: 0;
  }

  /* Style the navigation menu */
  .topnav {
    overflow: hidden;
    background-color: #333;
    position: relative;
  }

  /* Hide the links inside the navigation menu (except for logo/home) */
  .topnav #myLinks {
    display: none;
  }

  /* Style navigation menu links */
  .topnav a {
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 24px;
    display: block;
  }

  /* Style the hamburger menu */
  .topnav a.icon {
    background: black;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
  }

  /* Add a grey background color on mouse-over */
  .topnav a:hover {
    background-color: #ddd;
    color: black;
  }

  /* Style the active link (or home/logo) */
  .active {
    background-color: gray;
    color: white;
  }

  .nav {
    margin: auto;
    border-radius: 10px;
    color: white;
  }
}

/*
Web page for tablet
*/
@media (max-width: 1000px) and (min-width: 768px) {
}
