@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');


/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: 'Share Tech Mono', monospace;
}

/* Apply styles to the header */
header {
    background-color: #202124;
    padding: 5px 0; /* Updated padding */
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 100px;
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.site-title {
    flex-grow: 1;
    text-align: center;
	margin-left: 140px;
}

.site-title h1 {
    color: #fff;
    font-size: 24px;
}

/* Apply styles to the navigation */
nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #79C5E5;
}

/* Apply styles to the burger menu icon */
.burger-menu {
    display: none; /* Initially hide the burger menu icon */
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
}

.burger-menu .bar {
    width: 100%;
    height: 4px;
    background-color: #fff;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease-in-out;
}

.burger-menu .bar:nth-child(1) {
    top: 0;
}

.burger-menu .bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger-menu .bar:nth-child(3) {
    bottom: 0;
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 25%; /* 25% from the top */
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The Overlay (background) */
.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */   
  height: 100%;
  width: 0;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(0,0,0); /* Black fallback color */
  background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}


/* The navigation links inside the overlay */
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
	color: #FFF;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

/* Media Queries */
@media screen and (max-width: 1000px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
		padding: 0 20px;
    }

	.site-title {
      margin-left: 0px;
	}
	
    .logo {
        margin-bottom: 10px;
    }

    .site-title {
        text-align: center;
        margin-bottom: 10px;
    }

    nav ul {
        justify-content: center;
    }
}

@media screen and (max-width: 600px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .site-title {
        text-align: left;
        margin-bottom: 10px;
    }

    .burger-menu {
        display: block; /* Show the burger menu icon */
    }

    nav ul {
        flex-direction: column;
        display: none; /* Initially hide the navigation items */
        margin-top: 10px;
    }

    nav ul li {
        margin: 5px 0;
    }

	.overlay a {font-size: 30px}
}



/*******************************************/
/*Main Block*/
/*******************************************/


/* Apply styles to sections and containers */
section {
    padding: 80px 0;
}

.container {
    max-width: 60%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Apply styles to the hero section */
.hero {
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

/* Apply styles to the portfolio section */
.portfolio-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.item {
    position: relative;
    width: calc(33.33% - 20px);
    margin-bottom: 40px;
}

.item .item-inner {
    position: relative;
    overflow: hidden;
}

.item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.item:hover img {
    transform: scale(1.1);
}

.item .item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.item:hover .item-overlay {
    opacity: 1;
}

.item .item-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.item .item-overlay p {
    font-size: 16px;
    text-align: center;
}

@media screen and (max-width: 1000px) {
    .container {
        max-width: 90%;
    }

    .item {
        width: calc(50% - 20px);
    }
	
    .item .item-overlay {
        position: relative;
        opacity: 1;
        transition: none;
        background-color: transparent;
        padding: 0;
        margin-top: 20px;
		color: #000
    }

    .item:hover img {
        transform: none;
    }
}

@media screen and (max-width: 600px) {
    .hero h1 {
        font-size: 24px;
    }

    .item {
        width: 100%;
    }
}

/*******************************************/
/*Footer Block*/
/*******************************************/


footer {
    background-color: #bdc1c6;
    padding: 20px;
    color: #111;
    text-align: center;
}

.footer-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.footer-column {
    flex-basis: 30%;
}

.social-media img {
    width: 30px;
    margin-right: 10px;
}

.social-links {
	display: none
}

.contact-info a {
    color: #111;
}

.footer-links ul {
    list-style-type: none;
}

.footer-links ul li {
    display: inline-block;
    margin-right: 10px;
}

.footer-links ul li a {
    color: #111;
    text-decoration: none;
}

/* Media Query */
@media screen and (max-width: 1000px) {
	.social-links {
		display: inline-block
	}
	.social-links img {
 		width: 30px;
    	margin-right: 10px;
	}
	.social-media {
		display: none
	}
}