@font-face{
    font-family: 'Poppins';
    font-weight: 700;
    src: url('../Assets/fonts/Poppins-Bold.ttf') format('truetype');
}

@font-face{
    font-family: 'Poppins';
    font-weight: 400;
    src: url('../Assets/fonts/Poppins-Regular.ttf') format('truetype');
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins';
    font-size: 18px;
    font-weight: 400;
    justify-content: center;
    align-items: center;
}

html{
    scroll-behavior: smooth;
}

/* Navigation styling */
nav{
    height: 90px;
    background: #212331;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    padding-right: 95px;
    border-bottom: 1px solid white;
}

.navbar-items{
    margin: auto;
    width: fit-content;
    transition: 0.2s;
}

.arrow-left img{
    background: white;
    height: 45px;
    width: 45px;
    border-radius: 50%;
    padding: 5px;
    transition: 0.4s ease;
    cursor: pointer;
}

.arrow-left:hover{
    transform: scale(1.02);
    transition: ease-in-out 0.3s;
}

nav a{
    color: white;
    text-decoration: none;
    padding: 0 1rem;
    border-bottom: 3px solid transparent;
}

.navbar-items a:hover{
    border-bottom: 2px solid whitesmoke;
    padding-bottom: 10px;
}

.dark-mode{
    background-color: #111111;
    color: white;
}

.dark-mode nav{
    background: #111111;
    border-bottom: 3px solid #262626;
}

.dark-mode .hero-container{
    background-color: #111111;
    border-bottom: 3px solid #262626;
}

.dark-mode .footer{
    background-color: #111111;
    border-top: 3px solid #262626;
}

/* Hero section styling */
.hero{
    background: #40445f; 
}

.hero-container{
    padding-bottom: 150px;
    text-align: center;
    border-bottom: 3px solid black;
}

.column-center h1{
    color: white;
    font-size: 60px;
    font-weight: 600;
    letter-spacing: 1.5px;
    font-family: Happy Monkey;
    padding-top: 150px;
    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;  
}

@keyframes fadeInAnimation{
    0%{
        opacity: 0;
    }

    100%{
        opacity: 1;
    }
}

/* Project section specific styling */
.project-section {
    text-align: center;
    padding-top: 45px;
    padding-bottom: 45px;
}

.project-section h1 {
    font-family: Happy Monkey;
    font-size: 32px;
    text-decoration: underline;
    font-weight: 700;
    padding-bottom: 25px;
}

.project-title h1{
    font-weight: 700;
    font-family: Happy Monkey;
    font-size: 28px;
    text-decoration: underline;
    text-align: center;
    padding-bottom: 15px;
}

/* Specific video styling for project demos */
.project-demo video {
    padding-top: 25px;
    padding-bottom: 25px;
    background: #000;
    -moz-border-radius: 20px;
    border-radius: 20px;
    width: 540px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* Project description styles */
.project-description p {
    padding-left: 500px;
    padding-right: 500px;
    padding-top: 25px;
    padding-bottom: 15px;
}

/* Button styling */
.project-description button, .project-section button {
    background-color: #512DA8;
    border: 4px solid black;
    border-radius: 25px;
    color: white;
    padding: 5px 25px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

.project-description button:hover, .project-section button:hover {
    transform: scale(1.02);
}

/* Footer styling */
.footer{
    border-top: 3px solid black;
    background-color: #212331;
    text-align: center;
    margin-top: 25px;
    padding-bottom: 45px;
    padding-top: 45px;
}

.footer h1{
    color: white;
    font-weight: 700;
}

.footer a{
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.footer a:hover{
    text-decoration: underline;
}

#scroll-to-top-btn{
    display: none;
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: white;
    border: 2px solid black;
    border-radius: 25px;
    padding: 5px 15px;
    font-size: 24px;
    text-decoration: none;
    cursor: pointer;
}

#scroll-to-top-btn:hover{
    transform: scale(1.05);
    background-color: #212331;
    color: white;
    border-color: black;
    transition: ease-in-out 0.3s;
}

#dark-mode-btn{
    /* display = none; */
    position: fixed;
    bottom: 25px;
    left: 25px;
    background-color: white;
    border: 2px solid black;
    border-radius: 25px;
    padding: 5px 15px;
    font-size: 24px;
    cursor: pointer;
}

#dark-mode-btn:hover{
    transform: scale(1.05);
    background-color: #212331;
    color: white;
    border-color: black;
    transition: ease-in-out 0.3s;
}

/* Media queries specific to web projects */
@media screen and (max-width: 1200px) {
    .project-description p {
        padding-left: 200px;
        padding-right: 200px;
    }
    
    .project-demo video {
        width: 480px;
        max-width: 100%;
    }
}

@media screen and (max-width: 992px) {
    .project-description p {
        padding-left: 100px;
        padding-right: 100px;
    }
    
    .column-center h1 {
        font-size: 48px;
    }
}

@media screen and (max-width: 768px) {
    .project-description p {
        padding-left: 50px;
        padding-right: 50px;
    }
    
    .project-demo video {
        width: 100%;
        max-width: 400px;
    }
    
    .column-center h1 {
        font-size: 36px;
        padding-top: 100px;
    }
    
    .hero-container {
        padding-bottom: 100px;
    }
}

@media screen and (max-width: 480px) {
    .project-description p {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .project-demo video {
        max-width: 280px;
    }
    
    .column-center h1 {
        font-size: 28px;
        padding-top: 80px;
    }
    
    .hero-container {
        padding-bottom: 80px;
    }
    
    .project-section button {
        font-size: 14px;
        padding: 5px 15px;
    }
}