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

:root {
  --primary-color: #5d7ba7;
  --primary-color-dark: #003366;
  --secondary-color: #003366;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --extra-light: #dbeaff;
  --max-width: 1800px;
}

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

a {
  text-decoration: none;
}

body {
  font-family: "Poppins", sans-serif;
}

/* Style for the Banner image */
.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; 			/* Ensures the image covers the container */
    object-position: center; 	/* Centres the image */
}
  
.banner_container {
  position: relative;
  min-height: 30vh;
  max-width: var(--max-width);
  margin: auto;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}
  
.banner_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.banner_subtitle {
  letter-spacing: 2px;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 0.5rem;
}


.banner_title {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 3rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
 

nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #ffffff;
  z-index: 99;
}

.nav__content {
  max-width: var(--max-width);
  margin: auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .logo a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  transition: 0.3s;
}
nav .logo a:hover {
  color: var(--primary-color-dark);
}

nav .checkbox {
  display: none;
}

nav input {
  display: none;
}
nav .checkbox i {
  font-size: 2rem;
  color: var(--primary-color);
  cursor: pointer;
}

ul {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  transition: left 0.3s;
}

ul li a {
  padding: 0.5rem 0.1rem;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 600;
  color: var(--text-dark);
  transition: 0.3s;
}

ul li a:hover {
  border-top-color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
  color: var(--secondary-color);
}

img {
	margin:auto;
}

.container {
  display: flex;
  justify-content: center;  /* Center horizontally */
  align-items: center;      /* Center vertically */
  height: 500px;            /* Set the desired height of the container */
  overflow: hidden;         /* Hide overflow to ensure the image fits within the container */
}

.container img {
  height: auto;             /* Maintain the aspect ratio */
  max-height: none;         /* Override default max-height */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 5, 0.9) 0%, rgba(0, 0, 10, 0.7) 15%, transparent 60%);
}
.main-header {
	background-image: url("images/background-nd.jpg");
	background-size: cover;                                 /* Expand until one of the borders reaches the side, doesn't matter which  */
	padding-bottom: 30px;                                   /* Add padding below the title name, so not touching the edge */
	min-height: 50vh;
	margin: auto;
	padding: 1rem;
	display: grid;
	place-items: center;
	gap: 4rem;	
}

.new_img {
  width: 100%;
  height: 500px;
  border: 1px solid gray;
  display: flex;
  align-items: flex-start;
  text-align: center;
}
img {
  align-self: center;
  margin: 0 auto;
}

.section {
  background-color: var(--extra-light);
}

.rounded-rectangle {
      display: flex;
	  flex: 1 1 30%;
      max-width: 500px;
      height: 550px; /* Adjust height as needed */
      margin: 10px;
      background-color: #ffffff;
      border-radius: 15px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
      justify-content: left;
      align-items: top;
      text-align: center;
      padding: 20px;
      box-sizing: border-box;
	  
	  justify-content: center;
	  /* background-image: url("images/dublin-badger-4.jpg");*/
}
 

.section_container {
  width: 70%;
  margin: auto;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.subtitle {
  letter-spacing: 2px;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card {
    width: 400px;
    height: 400px;
    background-color: #4CAF50;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    text-align: center;
}
		
.box_title
{
	letter-spacing: 2px;
	color: var(--text-light);
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.description {
  line-height: 1.5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.action__btns {
  display: flex;
  gap: 1rem;
}

.action__btns button {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 1rem 2rem;
  outline: none;
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  transition: 0.3s;
  cursor: pointer;
}

.hire__me {
  background-color: var(--primary-color);
  color: #ffffff;
}

.hire__me:hover {
  background-color: var(--primary-color-dark);
}

.portfolio {
  color: var(--primary-color);
}

.portfolio:hover {
  background-color: var(--primary-color-dark);
  color: #ffffff;
}

.image {
  display: grid;
  place-items: center;
}

.image img {
  width: min(25rem, 90%);
  border-radius: 100%;
}


@media (width < 750px) {
  nav .checkbox {
    display: block;
	
  }

@media (max-width: 768px) {
    body .central-content {
        width: 100%;
        padding: 0; /* Optional */
        box-shadow: none; /* Optional */
    }
	
}
	
@media (max-width: 768px) {	
  .content-container {
		flex-direction: column;
		align-items: center;
        }

    .banner-image {
		height: 200px;  /* Adjust as needed for smaller screens */
    }
	
	.title-on-image {
        font-size: 1.6rem; /* Scale down title font size */
    }

    .text-on-image {
        font-size: 1.2rem; /* Scale down text font size */
    }
	.copyright {
    font-size: 0.6rem;
    width: 100%; /* Matches the width of the image */
	} 
}



  ul {
    position: absolute;
    width: 100%;
    height: calc(100vh - 85px);
    left: -100%;
    top: 85px;
    background-color: var(--extra-light);
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
  }

  nav #check:checked ~ ul {
    left: 0;
  }

  ul li a {
    font-size: 1.25rem;
  }

  .image {
    grid-area: 1/1/2/2;
  }

  .action__btns {
    margin: auto;
  }
}

.content-section {
      display: flex;
      justify-content: center;
	  background-color: #dbeaff;
      align-items: center;
      width: 100%;
}
		
.content-container {
      width: 70%;
      display: flex;
      justify-content: space-between;
}
	
.central-content {
    background-color: #ffffff;
    max-width: 1500px;
    width: 70%;
	padding-left: 50px;
	padding-right: 50px;
    padding-top: 20px;
	margin: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the image horizontally */
    position: relative;
}

.copyright {
    text-align: left;
    width: 45%; /* Matches the width of the image */
    margin-top: 5px; /* Adds a small space between the image and text */
} 


.title-on-image {
    position: absolute;
    top: 35%;
    left: 15%;
    color: white;
    font-size: 2.6rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}
.text-on-image {
    position: absolute;
    top: 55%;
    left: 15%;
    color: white;
    font-size: 1.6rem;
    font-weight: normal;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}
.card-text {
    font-size: 1.6rem;
    font-weight: normal;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
/*Floating Back-To-Top Button*/
    #myBtn {
        position: fixed;
        bottom: 10px;
        float: right;
        right: 18.5%;
        left: 77.25%;
        max-width: 30px;
        width: 100%;
        font-size: 12px;
        border-color: rgba(85, 85, 85, 0.2);
        background-color: rgb(100,100,100);
        padding: .5px;
        border-radius: 4px;

    }
/*On Hover Color Change*/
    #myBtn:hover {
        background-color: #7dbbf1;
    }
.mytext {
    text-align: left;
}	
	