body{
    background-image: url(backgroundpic.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f5f5f5;
}

.backgroundbox{
    text-align: center;
    padding: 10px;
    margin-left: 35%;
    margin-right: 35%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


h2 {
    font-size: 30px;
    font-weight: bold;
    margin-top: 60px;
}

.container {
    padding-top: 100px;
}


.hero-section, .content-section {
    max-width: 2000px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.hero-section img {
    width: 60%;
    height: auto;
}

#slogan {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 80px;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    margin: 0 10px;
    font-size: 24px;
    color: #555;
    text-decoration: none;
}

.skills {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.skills div {
    background-color: #e5e5e500;
    padding: 20px;
    flex-basis: 40%;
}



.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    z-index: 1;
}

.slides {
    display: none;
    width: 100%;
}

.slideshow-container img {
    width: auto;
    height: 700px;
}

.buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    color: white;
    text-decoration: none;

}

a {
    color: white;
    text-decoration: none;   
    font-weight: bold;
}

.buttons button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    background-color: #333;
    color: white;
    cursor: pointer;
}

.about-section p {
    margin-top: 30px;
    padding: 20px;
    font-weight: 500;
}

.text-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

/*--------------------------------------------------- CONTACT -------------------------------------------*/

.contact_box {
    font-size: 25px;
    color: white;
}

.contact_boxen {
    margin: 10px 0 0 0;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px;
}


/*------------------------------------------------- dropdown --------------------------------------------*/

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px;
    position: fixed;
    width: 100%;
    z-index: 1000;
  }
  
  .logo {
    font-size: 24px;
    color: white;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
  }
  
  .nav-links li {
    margin-left: 20px;
  }
  
  .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    margin-right: 20px;
  }
  
  .burger {
    display: none;
    cursor: pointer;
  }
  
  .burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
  }


  .navL:link {
    color: rgb(255, 255, 255);
  }
  
  .navL:visited {
    color: rgb(255, 255, 255);
  }
  
  .navL:hover {
    color: #d0d0d0;
  }
  
  .navL:active {
    color: rgb(81, 81, 81);
  }

/*---------------------------- Media Queries ---------------------------------*/
@media (max-width: 1300px) {

    
    .skills {
        flex-direction: row;
        display: flex;
        justify-content: center;
    }

    .skills div {
        margin-bottom: 15px;
        
    }

    .skills img {
        max-width: 300px;
    }  


}
@media (max-width: 920px) {

    .hero-section {
        max-width: 1800px;
        margin: 0;
        padding: 0;
        text-align: center;
    }
    
    .hero-section img {
        margin: 0;
        width: 100%;
        height: auto;
    }

    
    .skills {
        flex-direction: row;
        display: flex;
        justify-content: center;
    }

    .skills div {
        margin-bottom: 15px;
        padding: 0;
        
    }

    .skills img {
        max-width: 250px;
        padding: 0;
    }  

    /*---------------------------------- dropdown -----------------------------*/

    .container {
        padding-top: 30px;
    }


    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        text-align: center;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links li a{
        font-size: 23px;
    }


    .burger {
        display: block;
    }

    .nav-active {
        display: flex;
    }

    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    

}
@media (max-width: 768px) {

    #slogan {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .slideshow-container {
        position: relative;
        max-width: 100%;
        margin: auto;
        overflow: hidden;
    }
    
    .slides {
        display: none;
        width: 100%;
    }
    
    .slideshow-container img {
        width: 100%;
        height: auto;
    }

    .hero-section {
        max-width: 1800px;
        margin: 0;
        padding: 0;
        text-align: center;
        
    }
    
    .hero-section img {
        margin: 60px 0 0  0;
        width: 100%;
        height: auto;
    }


    .skills {
        flex-direction: column;

    }

    .skills div {
        margin-bottom: 15px;
        display: flex;
        justify-content: center;
    }

    .skills img {
        max-width: 300px;
    } 

    .buttons {
        flex-direction: column;
    }

    .buttons button {
        margin-bottom: 10px;
    }

/*---------------------------------- dropdown -----------------------------*/

    .container {
        padding-top: 30px;
        
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        text-align: center;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links li a{
        font-size: 23px;
    }


    .burger {
        display: block;
    }

    .nav-active {
        display: flex;
    }

    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
        

}


