@font-face {
  font-family: "bebas";
  src: url("bebas.ttf") format("truetype");
}
:root{
    scroll-behavior: smooth;
}

body, h1, h2, p, a {
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family:'Arial Black', sans-serif;
}



body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.landing {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
}

.landing h1{
    font-size:100px;
    font-weight:bold;
    font-family: bebas, 'Arial Black', sans-serif;
    color: #fff;
    text-shadow: black 0 0 15px;
    line-height: 1em;
    text-align: center;
    padding: 10px;
}

.landing video {
    position: absolute;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
    transform: scale(1.3);
}

.landing p{
    color: #fff;
    font-size: 20px;
    text-align: center;
}





.portfolio {
    background-color: white;
    padding: 0px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.portfolio .container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.portfolio-item {
    flex-basis: 100%;
    max-width: 100%;
    border: 1px solid #e0e0e0;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 0 auto;
    width: 80%;
}
.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    max-width: 100%;
    display: block;
    margin-bottom: 20px;
}

.contact-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border-radius: 5px;
    position: fixed;
    top: 20px;  /* Set the button 20px from the top */
    right: 20px;  /* Set the button 20px from the left, so it doesn't overlap with the Contact Me button */
    z-index: 10;
    text-decoration: none; /* Remove default anchor tag styling */
}

.contact-link:hover {
    background-color: #666;
    text-decoration: none;
    color: white;
}

/* Content Buttons Section */
#content-But {
    display: flex;
    justify-content: center;
    align-items: center;
    padding:30px 0;
    gap: 20px; /* Space between buttons */
    background-color: white;
}

.port-Button {
    padding: 15px 30px; /* Bigger padding for a larger button */
    background-color: #333; /* Dark background to match other buttons */
    color: #fff; /* White text */
    font-size: 16px; /* Increase font size */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
    cursor: pointer; /* Cursor indicates clickable button */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    font-family: 'Arial Black', sans-serif;
}

.port-Button:hover {
    background-color: #666; /* Darker shade on hover */
}

/* You might also want to add some styling for focus state for accessibility */
.port-Button:focus {
    outline: none; /* Removes default outline */
    box-shadow: 0 0 0 3px rgba(50, 50, 50, 0.5); /* Adds a custom focus outline */
}


.btn-back {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border-radius: 5px;
    position: fixed;
    top: 20px;  /* Set the button 20px from the top */
    right: 20px;  /* Set the button 20px from the left, so it doesn't overlap with the Contact Me button */
    z-index: 10;
    text-decoration: none; /* Remove default anchor tag styling */
}

.btn-back:hover {
    background-color: #666;
text-decoration: none;
color: white;
}

.scroll-arrow{
max-width: 50px;
}

.btn{
    background-color: #333;
    color: #FFF;
    border:none;
    padding: 10px 20px 10px 20px;
}

.btn:hover{
    background-color: #666;
    border:none;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* This sets up 3 columns */
    grid-gap: 0px;
    padding: 0px 40px 0px 40px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
    margin-inline-start: 10px;
    margin-inline-end: 10px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

figcaption {
    text-align: center;
    padding: 5px;
    background: rgba(0,0,0,0.5);
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item:hover figcaption {
    opacity: 1;
}


@media (max-width: 500px) {
    .gallery {
        grid-template-columns: 1fr; /* 1 column for very small screens */
    }
}