@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700&display=swap');
/* Custom properties/variables  */
:root {
  --main-white: #f0f0f0;
  --main-copperblue: #87a7b3;
  /* 87a7b3 */
  --main-red: #be3144;
  --main-blue: #45567d;
  --main-gray: #303841;
}

/* Base reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Customization for the logo in the header */

#page-wrapper {
  position: relative;
}

header {
  position: fixed;
  top: 0px;
  min-height: 100px;
  padding: 5px 25px 5px 50px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #0072bb;
  color: #fffbf0;
}

@media (max-width: 600px) {
  header {
    flex-wrap: wrap;
  }
}

.logo {
  width: 75vw;
  display: flex;
}

@media (max-width: 650px) {
  .logo {
  margin-top: 5px;
  width: 100%;
  position: relative;
 }
}

.logo > img {
  width: 50vw;
  max-width: 100px;
  height: auto;
  display: flex;
  justify-content: left;
  align-items: left;
  text-align: left;
  margin-left: 0px;
  margin-top: 5px;
  margin-bottom: 5px;
}

@media (max-width: 650px) {
  .logo > img {
    margin: 0 auto;
  }
}
/* end css for the logo image */

/* box-sizing and font sizing */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;

  /* Set font size for easy rem calculations
   * default document font size = 16px, 1rem = 16px, 100% = 16px
   * (100% / 16px) * 10 = 62.5%, 1rem = 10px, 62.5% = 10px
  */
  font-size: 60.5%;
  scroll-behavior: smooth;
}

/* A few media query to set some font sizes at different screen sizes.
 * This helps automate a bit of responsiveness.
 * The trick is to use the rem unit for size values, margin and padding.
 * Because rem is relative to the document font size
 * when we scale up or down the font size on the document
 * it will affect all properties using rem units for the values.
*/

/* I am using the em unit for breakpoints
 * The calculation is the following
 * screen size divided by browser base font size
 * As an example: a breakpoint at 980px
 * 980px / 16px = 61.25em
*/

/* 1200px / 16px = 75em */
@media (max-width: 75em) {
  html {
    font-size: 60%;
  }
}

/* 980px / 16px = 61.25em */
@media (max-width: 61.25em) {
  html {
    font-size: 58%;
  }
}

/* 460px / 16px = 28.75em */
@media (max-width: 28.75em) {
  html {
    font-size: 55%;
  }
}

/* Base styles */

p {
  font-family: 'Figtree', sans-serif;
  font-size: 1.8rem; /* 18px */
  font-weight: 300;
  line-height: 1.4;
}

body {
  font-family: 'Figtree', sans-serif;
  font-size: 1.8rem; /* 18px */
  font-weight: 400;
  line-height: 1.4;
  color: var(--main-white);
}

h1,
h2 {
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  text-align: center;
}

h1 {
  font-size: 6rem;
}

h2 {
  font-size: 4.2rem;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--main-white);
}

img {
  display: block;
  width: 100%;
}

/* nav */

.nav {
  display: flex;
  justify-content: flex-end;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--main-copperblue);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.nav-list {
  display: flex;
  margin-right: 2rem;
}

@media (max-width: 28.75em) {
  .nav {
    justify-content: center;
  }

  .nav-list {
    margin: 0 1rem;
  }
}

.nav-list a {
  display: block;
  font-size: 2.4rem;
  padding: 3rem;
  font-weight: semi-bold;
}

.nav-list a:hover {
  /* background: var(--main-red); */
  color: var(--main-gray); <!-- IndianRed; -->
 /*  font-weight: bold; */
  transition: color;
  transform: translatey(8px);
}

/* Welcome section */

.welcome-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  background-color: #000;
  background-image: linear-gradient(62deg, #3a3d40 0%, #181719 100%);
}

.welcome-section > p {
  font-size: 3rem;
  font-weight: 200;
  font-style: italic;
  color: var(--main-copperblue);
}

/* Projects section */

.projects-section {
  text-align: center;
  padding: 10rem 2rem;
  background: var(--main-blue);
}

.projects-section-header {
  max-width: 640px;
  margin: 0 auto 6rem auto;
  border-bottom: 0.2rem solid var(--main-white);
}

@media (max-width: 28.75em) {
  .projects-section-header {
    font-size: 4rem;
  }
}

/* "Automagic" image grid using no media queries */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  grid-gap: 4rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  margin-bottom: 6rem;
}

@media (max-width: 30.625em) {
  .projects-section {
    padding: 6rem 1rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project {
  background: var(--main-gray);
  box-shadow: 3px 1px 1px 2px rgba(0, 0, 0, 0.5);
  border-radius: 1px;
}

/* .code {
  color: var(--main-gray);
  transition: color 0.3s ease-out;
} */

/* .project:hover .code {
  color: #ff7f50; */
}

.project-image {
  height: calc(100% - 6.8rem);
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.project-title {
  font-size: 2.25rem;
  padding: 2rem 0.5rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 5px;
}

.btn-show-all {
  font-size: 2rem;
  background: var(--main-gray);
  transition: background 0.3s ease-out;
}

.btn-show-all:hover {
  background: var(--main-red);
}

.btn-show-all:hover > i {
  transform: translateX(2px);
}

.btn-show-all > i {
  margin-left: 10px;
  transform: translateX(0);
  transition: transform 0.3s ease-out;
}

/* Contact section */

.contact-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 80vh;
  padding: 0 2rem;
  background: var(--main-gray);
}

.contact-section-header > h2 {
  font-size: 6rem;
}

@media (max-width: 28.75em) {
  .contact-section-header > h2 {
    font-size: 4rem;
  }
}

.contact-section-header > p {
  font-style: italic;
}

.contact-links {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 980px;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.contact-details {
  font-size: 2.4rem;
  text-shadow: 2px 2px 1px #1f1f1f;
  transition: transform 0.3s ease-out;
}

.contact-details:hover {
  transform: translateY(8px);
}

/* Footer */

footer {
  font-weight: 300;
  display: flex;
  justify-content: space-evenly;
  padding: 2rem;
  background: var(--main-gray);
  border-top: 4px solid var(--main-red);
}

footer > p {
  margin: 2rem;
}

footer i {
  vertical-align: middle;
}

@media (max-width: 28.75em) {
  footer {
    flex-direction: column;
    text-align: center;
  }
}

/*  Welcome Section Text Overlay CSS */

.wsoverlay {
position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 1.9s ease;
  background-color: #008CBA;
}

.welcome-section:hover .wsoverlay {
  opacity: 1;
}

.wstext > p{
  color: white;
  font-size: 42px;
  position: absolute;
  top: 52%;
  left: 21.5%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.wstext > img {
  position: absolute;
  top: 50%;
  left: 50%;
  /* left: 30%; */
  right: 0;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  height: 100%; /*calc(100% - 1.0rem); */
  width: 100%;
  object-fit: cover;
  border-radius: 0px;
}

/* Project Grid Overlay */


.projcontainer {
height: calc(100% - 6.8rem);
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
  position: relative;
}
.projoverlay {
  position: absolute;
  bottom: 0;
  /* background: rgb(0, 0, 0); */
  /* background: rgba(0, 0, 0, 0.75); /* Black see-through */
  /* background: rgba(28, 29, 84, 0.75); /* Midnight BLue Background */
  /* background: rgba(135, 167, 179, .95); */
  background: rgba(48, 56, 65, .75); /* main grey */
  color: #f1f1f1;
  width: 100%;
  transition: .25s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 11em .5em;
  text-align: center;
  top: 0%;
}
.projcontainer:hover .projoverlay {
  opacity: 1;
}




/* End Project Grid Overlay */
