/* Responsive for smaller screens */

@media (max-width: 768px) {
    header{
        width: 100%;
        height: auto;
        padding-bottom: 20px;
    }

    nav{
        width: 100%;
    }

    #menu-toggle{
        display: block;
        font-size: 1.5rem;
        position: relative;
        right: 0;
        left: 3rem;
    }

    #nav-links{
        display: none;
        position: absolute;
        top: 100%;
        right: 1rem;
        background: #e1e1e1;
        flex-direction: column;
        width: 120px;
        height: 200px;
        padding: 1rem;
        border-radius: 8px;
    }

    #nav-links.active{
        display: flex;
    }

    .nav-links li{
        margin: 10px 0;
    }

    .logo-container{
        margin: 0;
    }

    .title{
        font-size: 1.1rem;
    }

    nav img{
        width: 40px;
        height: 40px;
    }

    #home{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: left;
        position: relative;
        top: 20%;
        left: 0;
        gap: 10px;
    }

    .danny-picture{
        width: 250px;
        height: 250px;
        margin-top: 80px;
    }

    .tagline-container{
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #home h1{
        font-size: 1.4rem;
    }

    #home p{
        width: 100%;
        font-size: 16px;
    }

    .social-link-container{
        display: flex;
        width: 70%;
        height: auto;
    }

    .social-link-container img{
        width: 40px;
        height: 40px;
    }

    #resume-btn{
        width: 300px;
        padding: 12px;
    }

    main{
        width: 100%;
    }

    #about{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-top: 10px;
    }

    .bio-container,
    .elevator-pitch-container,
    .elevator-pitch-video-container{
        display: flex;
        flex-direction: column;
        width: 90%;
        align-items: center;
        padding: 5px;
        margin: 0;
    }

    .bio-container img{
        width: 340px;
        height: 340px;
        border-radius: 2%;
    }

    .elevator-pitch-container img{
        display: none;
    }

    .elevator-pitch-video-container p{
        width: 100%;
    }

    #elevator-pitch-video{
        width: 108%;
    }

    #skills{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

    .soft-skills-container{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .soft-skills-container h3{
        margin-bottom: 0;
        margin-top: 20px;
    }

    .skills-container{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .technical-skills-container{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 10px;
    }

    .technical-skills{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .tech-skills{
        width: 90%;
    }

    #portfolio{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 30px;
    }

    .description{
        width: 90%;
        margin-top: 10px;
    }
    
    .article-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
    }

    #contact{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 30px;
    }

    .wrapper{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
    }

    .contact-details-container{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 105%;
        margin: 0;
    }

    .contact-details-container p{
        width: 100%;
        margin-top: 2px;
    }

    form{
        width: 100%;
    }

    footer{
        height: 220px;
    }

    footer h2{
        font-size: 2rem;
        margin-top: 0;
        padding-top: 0;
    }
}