@import url('https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i');
@import url('https://fonts.googleapis.com/css?family=Dancing+Script:400,700');

body{
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
    color: #fff;
    background-color: #1f2029;
    overflow: hidden;
    height: 100vh;
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
    perspective: 800px;
}
a {
    cursor: pointer;
}
a:hover {
    text-decoration: none;
}
::selection {
    color: #c4c3ca;
    background-color: #000;
}
::-moz-selection {
    color: #c4c3ca;
    background-color: #000;
}

/* #Cursor
================================================== */

.cursor,
.cursor2,
.cursor3{
    position: fixed;
    border-radius: 50%;    
    transform: translateX(-50%) translateY(-50%);
    pointer-events: none;
    left: -100px;
    top: 50%;
    mix-blend-mode: difference;
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}
.cursor{
    background-color: #fff;
    height: 0;
    width: 0;
    z-index: 99999;
}
.cursor2,.cursor3{
    height: 36px;
    width: 36px;
    z-index:99998;
    -webkit-transition:all 0.3s ease-out;
    transition:all 0.3s ease-out
}
.cursor2.hover,
.cursor3.hover{
    -webkit-transform:scale(2) translateX(-25%) translateY(-25%);
    transform:scale(2) translateX(-25%) translateY(-25%);
    border:none
}
.cursor2{
    border: 2px solid #fff;
}
.cursor2.hover{
    background: rgba(255,255,255,1);
    border-color: transparent;
}

@media screen and (max-width: 1200px){
    .cursor,.cursor2,.cursor3{
        display: none
    }
}

/* #Primary style
================================================== */

.hero-section {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
    height: 100vh;
    background-image: url('/bko.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1) rotateX(0);
    box-shadow: 0 0 40px rgba(0,0,0,0.2);
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
    -webkit-transition-delay: 400ms;
    transition-delay: 400ms;
    transform-origin: center top;
}
.hero-section h1{
    color: #fff;
    font-size: 5vw;
    line-height: 1;
    font-weight: 900;
}
.hero-section .dancing{
    font-family: 'Dancing Script', cursive;
    letter-spacing: 1px;
    color: #866BAF;
    font-size: 26px;
    line-height: 1;
    font-weight: 700;
}
@media screen and (max-width: 580px){
    .hero-section .dancing{
        font-size: 18px;
    }
}
.hero-section p{
    font-size: 15px;
    line-height: 20px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 1px;
}
.hero-section p span{
    margin-left: 15px;
    margin-right: 15px;
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding-bottom: 35px;
}
.hero-section p span:before {
    position: absolute;
    content: '';
    bottom: 10px;
    left: 50%;
    height: 30px;
    width: 30px;
    margin-left: -15px;
    z-index: -1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px 30px;
    background-image: url('http://www.ivang-design.com/svg-load/portfolio/down.svg');
    opacity: 0.2;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.hero-section p span:hover:before {
    opacity: 1;
    bottom: 5px;
}

/* Mobile-Friendly Media Queries */

/* Small Screens (up to 480px) */
@media screen and (max-width: 480px) {
    .hero-section p {
        font-size: 14px;
        padding: 10px;
        margin: 10px;
        margin-top: 25px;
        display: flex;
        flex-direction: column;
        align-items: center;
        align-content: center;
    }

    .hero-section p span {
        display: inline-block;
        text-align: center;
        padding: 12px 20px; /* Padding around the text */
        font-size: 18px;
        color: #fff;
        transition: transform 200ms ease, box-shadow 200ms ease, background 300ms ease;
        margin: 10px; /* Spacing between spans */
        cursor: pointer;
        text-decoration: none;
        transform-origin: center;
        width: 70%;
        max-width: 250px;
        position: relative; /* Necessary for positioning the arrow */
    }

    /* Hover Effect */
    .hero-section p span:hover {
        transform: scale(1.1);
        background: #ff85c0;
        box-shadow: 0 6px 12px rgba(255, 105, 180, 0.7);
    }

    /* Click effect (Active state) */
    .hero-section p span:active {
        transform: scale(0.95);
        box-shadow: 0 2px 4px rgba(255, 105, 180, 0.7);
    }

    /* Arrow Effect for the Hero Span */
    .hero-section p span:before {
        content: '';
        position: absolute;
        top: 100%; /* Places the arrow below the text */
        left: 55%; /* Centers the arrow horizontally */
        transform: translateX(-50%); /* Ensures horizontal centering */
        height: 20px;
        width: 20px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        background-image: url('http://www.ivang-design.com/svg-load/portfolio/down.svg');
        opacity: 0.2;
        transition: opacity 200ms ease, transform 200ms ease;
    }

    /* Hover Effect to make the arrow appear more prominently */
    .hero-section p span:hover:before {
        opacity: 1;
        transform: translateX(-50%) translateY(-5px); /* Adds a subtle upward motion on hover */
    }
}


body.about-on .hero-section {
    transform: scale(0.75);
    -webkit-transition-delay: 0ms;
    transition-delay: 0ms;
}
body.contact-on .hero-section {
    transform: scale(0.75);
    -webkit-transition-delay: 0ms;
    transition-delay: 0ms;
}
body.travel-on .hero-section {
    transform: rotateX(-10deg);
    -webkit-transition-delay: 0ms;
    transition-delay: 0ms;
}
body.wildlife-on .hero-section {
    transform: rotateX(-10deg);
    -webkit-transition-delay: 0ms;
    transition-delay: 0ms;
}
body.nature-on .hero-section {
    transform: rotateX(-10deg);
    -webkit-transition-delay: 0ms;
    transition-delay: 0ms;
}
.about-text {
    position: absolute;
    font-size: 17px;
    line-height: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    top: 50%;
    left: 40px;
    cursor: pointer;
    z-index: 2;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    transform: translateY(-50%);
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.about-text:before {
    position: absolute;
    content: '';
    top: 50%;
    left: -25px;
    height: 30px;
    width: 30px;
    margin-top: -15px;
    z-index: -1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px 30px;
    background-image: url('http://www.ivang-design.com/svg-load/portfolio/left.svg');
    opacity: 0.2;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.about-text:hover:before {
    opacity: 1;
    left: -30px;
}
.about-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(31, 32, 41, 0.95); /* Slightly transparent background */
    transform: translateX(-100%);
    transition: all 300ms linear;
    z-index: 10;
    overflow-y: auto; /* Allow scrolling if content overflows */
    padding: 20px; /* Add some padding */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Add a shadow for depth */
    padding-top: 20px; /* Add padding to bring content down */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    padding: 20px; /* Add padding for spacing */
    min-height: 100vh; /* Ensure it takes full viewport height */
    box-sizing: border-box; /* Include padding in height calculation */
    overflow: hidden; /* Prevent unwanted content from showing */
}
body.about-on .about-section {
    transform: translateX(0);
    transition-delay: 400ms;
}
.about-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 36px 36px;
    background-image: url('http://www.ivang-design.com/svg-load/portfolio/close.svg');
    cursor: pointer;
    z-index: 11;
    transition: all 200ms linear;
    color: #fff; /* Default color */
    border-radius: 50%; /* Circular button */
}
.about-close:hover {
    transform: rotate(90deg);
    color: #fff; /* White color on hover */
}
.section-center {
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}
.about-section img {
    width: 150px; /* Larger image */
    height: 150px;
    border-radius: 50%; /* Circular image */
    display: block;
    margin: 20px auto; /* Center the image */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.about-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #c4c3ca;
    text-align: center; /* Center text */
    margin: 20px 0;
}
.about-section p span {
    font-family: 'Dancing Script', cursive;
    letter-spacing: 1px;
    color: #866BAF;
    font-size: 25px;
    font-weight: 400;
}

@media (max-width: 480px) {
    .about-section {
        padding: 10px; /* Reduce padding for smaller screens */
        align-items: flex-start; /* Align content to the top */
        justify-content: flex-start;
        padding-top: 60px; /* Account for the close button */
        min-height: 100vh; /* Maintain full height */
        overflow-y: auto; /* Allow scrolling for content */
    }

   
  

    .about-section img {
        width: 100px; /* Smaller image */
        height: 100px;
        margin: 10px auto; /* Center the image */
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    }

    .about-section p {
        font-size: 8px; /* Make paragraph text smaller */
        line-height: 12px; /* Reduce line spacing */
        letter-spacing: 0.2px; /* Fine-tune word spacing */
        margin: 5px 0; /* Reduce margins */
        max-height: 300px; /* Restrict the height */
        overflow-y: auto; /* Allow scrolling within the paragraph */
        text-align: justify; /* Justify text for better appearance */
        scrollbar-width: thin; /* For modern browsers */
        scrollbar-color: #866BAF transparent; /* Custom scrollbar color */
        padding: 7px; /* Add padding for readability */
    }

   

    .about-close {
        top: 5px; /* Adjust positioning */
        right: 5px;
        width: 20px; /* Smaller button */
        height: 20px;
        background-size: 20px 20px; /* Adjust close icon size */
    }

    .section-center {
        top: 10%; /* Adjust for smaller screens */
        transform: translateY(-10%);
    }
}


.contact-text {
    position: absolute;
    font-size: 17px;
    line-height: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    top: 50%;
    right: 40px;
    cursor: pointer;
    z-index: 2;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    transform: translateY(-50%) rotate(180deg);
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.contact-text:before {
    position: absolute;
    content: '';
    top: 50%;
    left: -25px;
    height: 30px;
    width: 30px;
    margin-top: -15px;
    z-index: -1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px 30px;
    background-image: url('http://www.ivang-design.com/svg-load/portfolio/left.svg');
    opacity: 0.2;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.contact-text:hover:before {
    opacity: 1;
    left: -30px;
}
.contact-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    overflow: hidden;
    height: 100vh;
    background-color: rgba(31,32,41,1);
    transform: translateX(100%);
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
    z-index: 10;
    padding: 40px; /* Add padding for spacing */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Add a shadow for depth */
    overflow-y: auto; /* Allow scrolling if content overflows */
}
body.contact-on .contact-section {
    transform: translateX(0);
    -webkit-transition-delay: 400ms;
    transition-delay: 400ms;
}
.contact-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    display: block;
    overflow: hidden;
    height: 30px;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 36px 36px;
    background-image: url('http://www.ivang-design.com/svg-load/portfolio/close.svg');
    cursor: pointer;
    z-index: 11;
}
.contact-close:hover {
    transform: rotate(90deg);
}
.contact-section a{
    margin: 0 auto;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
    display: inline-block;
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-section a:hover {
    color: #866BAF; /* Change color on hover */
}
.contact-section .social a{
    margin-left: 8px;
    margin-right: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #866BAF;
    transition: color 0.3s ease;
}
.contact-section .social a:hover {
    color: #fff; /* Change color on hover */
}
@media screen and (max-width: 580px){
    .contact-section a{
        font-size: 17px;
    }
    .contact-section .social a{
        margin-left: 3px;
        margin-right: 3px;
        font-size: 13px;
        letter-spacing: 0;
    }
}

.travel-section,
.wildlife-section,
.nature-section,
.shoot3-section{
    position: fixed;
    top: 100%;
    left: 0;
    padding: 100px 0;
    width: 100%;
    height: 100vh;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: rgba(31,32,41,1);
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
    z-index: 10;
}

.travel-close,
.wildlife-close,
.nature-close,
.shoot3-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    display: block;
    overflow: hidden;
    height: 30px;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 36px 36px;
    background-image: url('http://www.ivang-design.com/svg-load/portfolio/close.svg');
    cursor: pointer;
    z-index: 11;
}
.travel-close:hover,
.wildlife-close:hover,
.nature-close:hover,
.shoot3-close:hover {
    transform: rotate(90deg);
}

body.travel-on .travel-section {
    top: 0;
    -webkit-transition-delay: 400ms;
    transition-delay: 400ms;
}

body.wildlife-on .wildlife-section {
    top: 0;
    -webkit-transition-delay: 400ms;
    transition-delay: 400ms;
}

body.nature-on .nature-section {
    top: 0;
    -webkit-transition-delay: 400ms;
    transition-delay: 400ms;
}

body.shoot3-on .shoot3-section {
    top: 0;
    -webkit-transition-delay: 400ms;
    transition-delay: 400ms;
}

.travel-section img,
.wildlife-section img,
.nature-section img,
.shoot3-section img {
    width: 100%; 
    height: 95%; /* Ensures image covers the full grid cell */
    object-fit: cover; /* Prevents distortion */
    border-radius: 4px; /* Rounded edges for aesthetics */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4); /* Add a subtle shadow */
    margin:30px;
}

/* Allow images to span multiple rows/columns dynamically based on aspect ratio */
.travel-section img.wide,
.wildlife-section img.wide,
.nature-section img.wide,
.shoot3-section img.wide {
    grid-column: span 2; /* Wide images span 2 columns */
}

.travel-section img.tall,
.wildlife-section img.tall,
.nature-section img.tall,
.shoot3-section img.tall {
    grid-row: span 2; /* Tall images span 2 rows */
}

.travel-section h3,
.wildlife-section h3,
.nature-section h3,
.shoot3-section h3{
    font-size: 44px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
}
.travel-section p,
.wildlife-section p,
.nature-section p,
.shoot3-section p {
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 1px;
}
.travel-section p span,
.wildlife-section p span,
.nature-section p span,
.shoot3-section p span {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: #866BAF;
}


@media (max-width: 480px) {
    .travel-section img,
    .wildlife-section img,
    .nature-section img,
    .shoot3-section img {
        display: block; /* Makes images block-level elements */
        margin: 20px auto; /* Centers the images and adds vertical spacing */
        width: 90%; /* Optional: Adjusts width to fit better in smaller screens */
        height: auto; /* Maintains aspect ratio */
    }
}

/* #Link to page
================================================== */

.link-to-portfolio {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 200;
    cursor: pointer;
    width: 60px; /* Slightly larger size */
    height: 60px;
    text-align: center;
    border-radius: 50%; /* Circular shape */
    background-position: center center;
    background-size: 70%; /* Adjusted size for better visibility */
    background-repeat: no-repeat;
    background-image: url('https://assets.codepen.io/1462889/fcy.png');
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2); /* Softer shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.link-to-portfolio:hover {
    transform: scale(1.2); /* More pronounced enlargement on hover */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4); /* Enhanced shadow on hover */
    background-color: rgba(255, 255, 255, 0.2); /* Slightly more visible background color on hover */
    opacity: 0.9; /* Slightly more opaque on hover */
}

/* Add a subtle animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    }
}

.link-to-portfolio {
    animation: pulse 2s infinite; /* Apply the pulse animation */
}

/* Media Queries for Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .hero-section h1 {
        font-size: 8vw; /* Adjusted for smaller screens */
    }

    .hero-section .dancing {
        font-size: 22px; /* Adjusted for smaller screens */
    }

    .about-text, .contact-text {
        font-size: 15px; /* Adjusted for smaller screens */
    }

  

    .about-section p span, .travel-section p span, .wildlife-section p span, .nature-section p span {
        font-size: 18px; /* Adjusted font size */
    }

    

    .link-to-portfolio {
        width: 40px; /* Smaller button */
        height: 40px; /* Adjusted height */
    }

    .about-section {
        padding: 40px; /* Increase padding for smaller screens */
    }
}

@media screen and (max-width: 480px) {
    .hero-section h1 {
        font-size: 10vw; /* Further adjusted for very small screens */
    }

    .hero-section .dancing {
        font-size: 18px; /* Further adjusted for very small screens */
    }

   
}

/* Popup styles */
.image-popup {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    
}

/* Centering styles applied only when popup is active */
.image-popup.active {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    
}

.popup-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
    width: auto;
    height: auto;
    object-fit: contain; /* Maintain aspect ratio */
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-popup:hover,
.close-popup:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Image hover effect */
.col-md-6 img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.col-md-6 img:hover {
    transform: scale(1.05); /* Slightly enlarge the image */
    filter: brightness(1.2) saturate(1.2); /* Increase brightness and saturation */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Add a shadow */
}

/* Additional About Me Section Styles */
.about-section {
    background-image: linear-gradient(to bottom right, #2c2f36, #1f2029); /* Gradient background */
    padding: 40px; /* Increase padding for more space */
    border-radius: 8px; /* Rounded corners */
    padding-top: 20px; /* Add padding to bring content down */
}

.about-section h1 {
    font-size: 28px;
    color: #866BAF; /* Purple color */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #c4c3ca;
    text-align: justify; /* Justify text for a clean look */
    margin: 20px 0;
    font-family: 'Poppins', sans-serif; /* Consistent font */
}

.about-section p span {
    font-family: 'Dancing Script', cursive;
    color: #866BAF;
    font-size: 26px;
    font-weight: 500;
}

.about-section img {
    border: 4px solid #fff; /* Add a border around the image */
    transition: transform 0.3s ease; /* Smooth transition for hover effect */
}

.about-section img:hover {
    transform: scale(1.1); /* Slightly enlarge image on hover */
}

/* Ensure the close button is styled correctly */
.about-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 36px 36px;
    background-image: url('http://www.ivang-design.com/svg-load/portfolio/close.svg');
    cursor: pointer;
    z-index: 11;
    transition: all 200ms linear;
    color: #fff; /* Default color */
    border-radius: 50%; /* Circular button */
}

.about-close:hover {
    transform: rotate(90deg);
    color: #fff; /* White color on hover */
}

/* Starry Background for About Me Section */
.about-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    padding: 40px;
    z-index: 10;
    background-color: #1f2029; /* Base background color */
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
                      radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px, 40px 40px;
    background-position: 0 0, 10px 10px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Additional styles for text and images */
.about-section h2 {
    font-size: 28px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #c4c3ca;
    text-align: justify;
    margin: 20px 0;
}

.about-section p span {
    font-family: 'Dancing Script', cursive;
    color: #866BAF;
    font-size: 26px;
    font-weight: 500;
}

.about-section img {
    border: 4px solid #fff;
    transition: transform 0.3s ease;
}

.about-section img:hover {
    transform: scale(1.1);
}

.contact-section {
    background-color: #1f2029; 
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
                      radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px, 40px 40px;
    background-position: 0 0, 10px 10px;
    padding: 40px; 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); 
    overflow-y: auto; 
}

.link-to-portfolio {
    background-color: #1f2029; 
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
                      radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px, 40px 40px;
    background-position: 0 0, 10px 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.link-to-portfolio:hover {
    /* Existing styles... */
    background-color: rgba(255, 255, 255, 0.2); /* Slightly more visible background color on hover */
    opacity: 0.9; /* Slightly more opaque on hover */
}



.about-section,
.shoot-section {
    /* Existing styles... */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 95vh;
    overflow: hidden; /* Prevent unwanted content from showing */
    z-index: 10; /* Ensure it is above other content */
    display: none; /* Hide by default */
}

body.about-on .about-section {
    display: flex; /* Show about section when active */
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    padding: 20px; /* Add padding for spacing */
    box-sizing: border-box; /* Include padding in height calculation */
    
}

body.shoot-on .shoot-section {
    display: flex; /* Show shoot section when active */
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    padding: 20px; /* Add padding for spacing */
    box-sizing: border-box; /* Include padding in height calculation */
}


.container{
    padding: 40px;
    margin-top: 40px;
}


.section {
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
    display: none; /* Ensure sections are hidden by default */
}

body.about-on .about-section,
body.contact-on .contact-section,
body.travel-on .travel-section,
body.wildlife-on .wildlife-section,
body.nature-on .nature-section {
    opacity: 1;
    transform: translateY(0);
    display: block; 
}

body:not(.about-on) .about-section,
body:not(.contact-on) .contact-section,
body:not(.travel-on) .travel-section,
body:not(.wildlife-on) .wildlife-section,
body:not(.nature-on) .nature-section {
    opacity: 0;
    transform: translateY(20px);
    display: none; /* Hide inactive sections */
}

/* Define keyframes for animations */
@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Apply animations to sections */
body.about-on .about-section,
body.contact-on .contact-section {
    animation: slideIn 0.5s forwards;
}

body:not(.about-on) .about-section,
body:not(.contact-on) .contact-section {
    animation: slideOut 0.5s forwards;
}

/* Style for the About Me link */
.about-link {
    font-size: 18px; /* Adjust font size */
    font-weight: 600; /* Adjust font weight */
    color: #866BAF; /* Initial color */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition */
}

.about-link:hover {
    color: #fff; /* Change color on hover */
    transform: scale(1.1); /* Slightly enlarge on hover */
}

/* Style for the About Me link as a button */
.about-link {
    display: inline-block; /* Make it behave like a button */
    padding: 10px 20px; /* Add padding for button-like appearance */
    font-size: 18px; /* Adjust font size */
    font-weight: 600; /* Adjust font weight */
    color: #fff; /* Text color */
    background-color: #866BAF; /* Purple background color */
    border-radius: 25px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a shadow for depth */
}

.about-link:hover {
    background-color: #9b7fcf; /* Lighter purple on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}
