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

html {
  font-size: 62.5% !important;
}

body {
  font-size: 1.6rem !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 6rem; /* Add extra space at the bottom of the page */
}

/*Setting up grid view for responsiveness*/
.col-6 {width: 50%;}

[class*="col-"] {
  float: left;
  padding: 1.5rem;
}

.row::after {
  content: "";
}
/*End grid view set-up*/

/* Google fonts */
.playwrite-au-sa {
  font-family: "Playwrite AU SA", cursive;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: bold;
}

.architects-daughter-regular {
  font-family: "Architects Daughter", cursive;
  font-weight: 400;
  font-style: normal;
}

.alef-regular {
  font-family: "Alef", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.roboto-medium {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.roboto-thin {
  font-family: "Roboto", serif;
  font-weight: 100;
  font-style: normal;
}

/* end fonts */
h2 {
  color:black;
}

.anchor {
  scroll-margin-top: 2rem;
}

/* The navbar */
.topnav {
  position: fixed;
  top: 0;
  display:flex;
  flex-wrap: wrap;
  justify-content: right;
  overflow: hidden;
  background-color: #ddd;    
  width:100%;
  height: 3.5rem; /* Set your actual navbar height */
  z-index: 1000;
  border-bottom: 1px solid #e891af;
}

/* Navbar links */
.topnav a {
  color: #e891af;
  text-align: center;
  padding: 0.9rem 1rem;
  text-decoration: none;
  font-size: 1.2rem;
}

.topnav a:hover {
  background-color: #e891af;
  color: #f2f2f2;
}

.logo {
  height: 3rem;
  width: auto;
  position:absolute;
  left: 1.5rem;
  top: 0.2rem;
}
/* End navbar */

.welcome {
  height: 95vh;
  width: 100%;
  text-align: center;
  padding-top: 40vh;
  background-color: #e891af;
}

.welcome>hr {
  border-bottom: 1px solid white;
  width: 25rem;
  margin: 0.2rem auto;
  
}

.welcome>h1 {
  font-size: 4rem;
  color: #F5F5F5;
}

.welcome>p {
  color: white;
  font-size: 1.5rem;
}

.about {
  padding: 2rem 4rem;
  display: block;
}

.about-photo {
  width: 25%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 100%;
  border: 1px solid #e891af;
}

.about-text {
  text-align: justify;
  font-size: 1.3rem;
}

.email:hover {
  color: #5e17eb;
  text-shadow: 0 0 3px #FF0000;
}

.hero-photo {
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-heading {
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 2rem;
  color: #e891af;
  font-size: 2.8rem;
  width: 100%;
  font-weight: bold;
}

#subtitle {
  text-align: center;
  font-weight: 400;
  margin: 2rem 4rem;
  font-size: 2rem;
}

#linkedin {
  font-weight: 300;
  margin-bottom: 1rem;
  text-align: center;
  background-color: #e891af;
  padding: 2rem 0;
  color: #F5F5F5;
  font-size: 1.2rem;
}

#linkedin a {
  font-weight: 400;
  color: white;
}

#linkedin a:hover {
  color:#a3d1fa;
}

.projects {
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  background-color: #e891af;
  color: white;
}

ul {
  list-style-type: circle;
  padding: 0.4rem 2rem;
  margin: 1.8rem -1rem;
  text-align: left;
  font-size: 1rem;
  /* background-color: white; */
  box-shadow: 0px 0px 5px 4px white;
}

.projects > p {
  text-align: left;
}

#testimonials, #projects {
  padding-top: 1rem;
}

/*Not to be confused with project title*/
.project-tile {
  height: 100%;
  width: 46%;
  text-align: left;
  margin: 1rem 2%;
  padding: 0 2%;
  padding-top: 1.5rem;
  border-top: 1px solid white;
}

.project-tile > p {
  font-size: 1rem;
  text-align: center;
}

.project-img {
  width: 70%;
  max-width: 100rem;
  height: auto;
  aspect-ratio: 3/2;
  border-radius: 0.5rem;
  object-fit: cover;
  margin: 1rem auto;
  display: flex;
  justify-content: center;
}

.project-title > h3 {
  width: 100%;
  height: 4.5vh;
  font-size: 1.4rem;
  margin-bottom: 2rem;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  color: white;
}

.contact {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 2rem; /* Reduce or remove large bottom margin */
}

.contact-me {
  color: white;
}

.contact-me:hover {
  color: #F0E68C;
}

.reviews-socials {
  margin-bottom: 10rem; /* Was 33vh, use a smaller value for better layout */
}

.testimonials {
  margin: 0 4rem;
  font-size: 1.5rem;
}

.customer {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-align: right;
  padding-top: 1rem;
  color: #5e17eb;
}

.testimony-divider {
  width: 80%;
  margin: 3rem auto 3rem auto;
  justify-content: center;
}

hr {
  border:1px solid darkslategray;
  margin: 0px 1px;
}

footer {
  margin: auto;
  width: auto;
  text-align: center;
  font-weight: bold;
  font-size: 1.8rem;
  background-color: white;
  padding-top: 2rem;
  border-top: 1px solid #e891af;
  flex-shrink: 0;
}

address {
  font-style: normal;
}

/* Setting up media queries for screen size responsiveness */

@media screen and (max-width: 910px) {
  [class*="col-"] {
    width: 100%;
    height: auto;
  }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  html {
    font-size: 62.5% !important;
  }
  body {
    font-size: 1.6rem;
  }
  .logo {
    height: 0;
    width: 0;
  }
  .about {
    padding: 2rem 2rem;
  }
}
  /* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  html {
    font-size: 62.5% !important;
  }
  body {
    font-size: 2rem;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  html {
    font-size: 100% !important;
  }
  
  body {
    font-size: 1.4rem;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  html {
    font-size: 100% !important;
  }
  
  body {
    font-size: 1.6rem;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  html {
    font-size: 100% !important;
  }
  
  body {
    font-size: 2rem;
  }
}

main, .content, #contact, .reviews-socials {
  flex: 1 0 auto;
}

.hero-image {
  display: block;
  width: 100vw;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  background: none;
}
#welcome-section {
  width: 100vw;
  padding: 0;
  margin: 0;
  background: none;
}

.navbar-spacer {
  height: 3.5rem; /* Same as .topnav height */
  width: 100%;
}