@media (max-width: 1200px){

.nav-links{
    position: relative;
    display: flex;
    list-style: none;
    font-size: 1rem;
    gap: 1.5rem;
    z-index: 10;
    right: 200px;
}
        
.nav-links a{
    color: white;
    text-decoration: none;
}
        
.nav-links a:hover{
    color: rgb(0, 104, 0);
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: rgb(0, 104, 0);
}
        
.hamburger-menu{
    display: none;
}
    
.logoimage{
    display: none;
}
    
.logo{
    margin-left: 40px;
}

.intro h1{
    font-size: 3.5rem; 
}
    
.intro h2{
    font-size: 2rem;
}
    
.intro p{
    font-size: 1.25rem;
}
    
.name, .intro h2{
    text-shadow: rgb(255, 230, 0) -1px -1px 2px;
}
    
.fox{
    right: 15vw;
}
    
.myprofile{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
}
    
.aboutme {
    margin: 30px;
    padding: 10px;
}

.skills{
    gap: 20px;
}
    
.projectcontainers {
    display: grid;
    margin-left: 25px;
    margin-right: 25px;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
}
    
.myemail{
        font-size: 1.5rem;
}
    
.topbutton{
    right: clamp(10px, 5%, 30px);
    max-width: 50px;
    max-height: 100px;
    bottom: 10px;
}
}

@media (max-width: 992px) {

.nav-links{
    position: relative;
    display: flex;
    list-style: none;
    font-size: 1rem;
    gap: 1.5rem;
    z-index: 10;
    right: 300px;
}
    
.nav-links a{
    color: white;
    text-decoration: none;
}
    
.nav-links a:hover {
    color: rgb(0, 104, 0);
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: rgb(0, 104, 0);
}
    
.hamburger-menu{
    display: none;
}

.logoimage{
    display: none;
}

.logo{
    margin-left: 40px;
}

.night, .night2, .night3, .night4 {
    width: 100%;
    transform: rotateZ(15deg);
}

.intro h1{
    font-size: 3.5rem; 
}

.intro h2{
    font-size: 2rem;
}

.intro p{
    font-size: 1.25rem;
}

.name, .intro h2{
    text-shadow: rgb(255, 230, 0) -1px -1px 2px;
}

.fox{
    right: 10vw;
}

.myprofile{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#profile{
    padding: 30px;
}

.aboutme {
    margin: 20px;
    max-height: none;
    height: auto;
    width: 80vw;
    padding: 20px;
    border: 1px solid purple;
    font-size: 24px;
    line-height: 1.5;
}

.aboutme h3{
    font-size: 25px;
    margin-top: 2px;
    margin-bottom: 15px;
}

.skills{
    gap: 20px;
}

.projectcontainers{
    display: grid;
    margin-left: 25px;
    margin-right: 25px;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
}

.myemail{
        font-size: 1.5rem;
}

.topbutton{
    right: clamp(10px, 5%, 30px);
    max-width: 50px;
    max-height: 100px;
    bottom: 10px;
}

.contactbg{
    padding: 50px;
}

}

@media (max-width: 768px) {

#navbar{
    display: none;
}

.nav-links{
    display: none;
}

#hamburger-nav{
    display: flex;
    justify-content: center;
    align-items: center; 
    flex-direction: column; 
    width: 100%;
    z-index: 33; 
}
    
.hamburgermenu-links{
    width: 50vw;
    height: 60vh;
    background-color: #333;  
    position: absolute;
    top: 80px;  
    left: 0;
    z-index: 100;
    display: none;
    z-index: 33;  
}
    
.hamburgermenu-links.open{
    display: block;  
}
        
.hamburger-icon{
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
        
.hamburger-icon span{
    height: 4px;
    background-color: #fff;
    width: 100%;
    border-radius: 10px;
}

.logo{
    display:none;
}
    
.intro h1{
    font-size: 2.5rem;
}

.intro h2{
    font-size: 1.8rem;
}

.intro p{
    font-size: 1.1rem;
}

.intro{
    padding: 15px;
    border-radius: 8%;
    backdrop-filter: blur(3px) brightness(105%);
    width: 100%;
}

.btn1{
    width: 100%;
    font-size: 16px;
}

.btn2{
    width: 100%;
    font-size: 16px;
}

.night, .night2, .night3, .night4{
    width: 100%;
    transform: rotateZ(15deg);
}

.fox{
    right: 15vw;
    bottom: 0;
    width: 100px;
}

.me{
    font-size: 80px;
    line-height: 120px;
    text-shadow: 0 5px 3px rgba(0,0,0,0.4), 0 -3px 1px #92f7a0;
}

.aboutme{
    margin: 20px;
    max-height: none;
    height: auto;
    padding: 20px;
    border: 1px solid purple;
    font-size: 16px;
    line-height: 1.5;
}

.aboutme p{
    font-size: 18px;
}

#profile .myprofile{
    width: 92%;
}
    
#profile .myprofile .selfie img{
    width: 300px;
}

.skills{
    gap: 10px;
}

.skills img{
    width: 100px;
}

.porttitle{
    font-size: 60px;
    text-align: center;
    padding: 80px;
}

.projectcontainers{
    grid-template-columns: 1fr;
}

.project1, .project2, .project3, .project4, .project5{
    width: 100%; 
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.project1 img, .project2 img, .project3 img, .project4 img, .project5 img{
    height: auto;
}

.appinfo img{
        width: 50px;
}

.projectbtncontainer button{
        width: 100%; 
        margin: 5px 0; 
}

#contactform{
        width: 90vw;
        padding: 15px;
        margin-bottom: 100px;
}
    
.contacttitle{
        font-size: 2rem;
}
    
.myemail{
        font-size: 16px;
        width: 100%;
}

p .myemailaddress a{
    font-size: 12px;
}
    
input, textarea{
        font-size: 14px;
}
    
.contactbutton{
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
}
    
form{
        padding: 15px;
}

.topbutton{
    right: clamp(10px, 5%, 30px);
    max-width: 50px;
    max-height: 100px;
    bottom: 10px;
}
.contactbg{
    padding: 50px;
}
}

@media (max-width: 480px) {

#navbar{
    display: none;
}

.nav-links{
    display: none;
}

#hamburger-nav{
    display: flex;
    justify-content: center;
    align-items: center; 
    flex-direction: column; 
    width: 100%;
    height: 55px;
    background-color: transparent;
    z-index: 33; 
}

.hamburgermenu-links{
    width: 50vw;
    height: 60vh;
    background-color: #333;  
    position: absolute;
    top: 120px;  
    left: 0;
    z-index: 100;
    display: none;
    z-index: 33;
}

.hamburgermenu-links.open{
    display: block;  
}
    
.hamburger-icon{
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
    
.hamburger-icon span{
    height: 4px;
    background-color: #fff;
    width: 100%;
    border-radius: 10px;
}

.logo{
    display: none;
}

.night, .night2, .night3, .night4{
    width: 80%;
    transform: rotateZ(25deg);
    z-index: 1;
}

.intro{
    padding: 20px;
    border-radius: 5%;
    backdrop-filter: blur(2px) brightness(100%);
    width: 100%;
}
    
.intro h1{
    font-size: 1.8rem;
    margin: 5px 0;
    text-align: center;
}

.intro h2{
    font-size: 1.3rem;
    text-align: center;
}
    
.intro p{
    font-size: 0.9rem;
    padding: 0 10px;
    text-align: center;
}

.name, .intro h2{
    text-shadow: rgb(255, 230, 0) -0.5px -0.5px 1px;
}

#hero{
    overflow: hidden;
}

.fox{
    right: 10vw;
    bottom: 0;
    width: 80px;
}

.btn1{
    width: 100%;
    font-size: 16px;
}

.btn2{
    width: 100%;
    font-size: 16px;
}

.btn-container{
    justify-content: center;
    align-items: center;
    margin-left: 20px;
    margin-right: 80px;
}

.myprofile{
    padding: 5px;
    margin: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.myskills{
    font-size: 2rem;
}

.skills{
    gap: 10px;
}

.skills img{
    width: 100px;
}

#profile .myprofile{
    display: flex;
    justify-content: center;
    align-items: center;
}

#profile .myprofile .selfie img{
    width: 300px;
}

.me{
    font-size: 60px;
}

.porttitle{
    font-size: 50px;
}

.topbutton{
    right: clamp(10px, 5%, 30px);
    max-width: 50px;
    max-height: 100px;
    bottom: 10px;
}

.intro h2{
    animation: none;
    text-shadow: none;
}

.appinfo, 
.appinfo2, 
.appinfo3{
    line-height: 1.4;
    padding: 10px;
}

.project1, .project2, .project3, .project4, .project5{
    width: 100%; 
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.project1 img, .project2 img, .project3 img, .project4 img, .project5 img{
    height: auto;
}

}