.logo img{
    display: none;
    width: 60px;
    object-fit: contain;
    margin-top: -15px;
}
.left a{
    text-decoration: none;
    color: green;
}
.left {
    color: green;
    position: absolute;
    left: 60px;
    top: 20px;
    font-family: "fraunces";
    font-size: 40px;
}
.right{
    position: absolute;
    right: 0px;
    top: 5px;
    display: inline-block;
}
ul{
    list-style-type: none;
}
.menu-button a{
    display: none;
}
.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: lightcyan;
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);

    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transform: translateX(300px);
    transition: all .5s ease;
}
.show{
    transform: translateX(0px);

}
.sidebar li{
    margin-top: 50px;
    width: 100%;
}
.sidebar a{
    font-family: "fraunces";
    font-size: 30px;
    width: 100%;
}
.sidebar .other{
    color: black;
}
.navbar li{
    color: white;
    display: inline-block;
    font-size: 30px;
    padding: 34px 23px;
}
.active{
    color: gold;
    text-decoration: none;
}
.other{
    color: white;
    text-decoration: none;
}
.profile img{
    position: absolute;
    left: 45px;
    top: 110px;
    margin:5px;
    width: 340px;
}
.freebie img{
    position: absolute;
    width: 150px;
    left: 1365px;
    top: 110px;
}
:root{
    --neutral: #232946;
    --base-100: #fffffe;
    --neutral-focus: #121629;
    --primary: #eebbc3;
    --secondary: #b8c1ec;
    --accent: #d4d8f0;
}
.left{
    position: absolute;
    color: green;
}
*{
    margin: 0;
    scroll-behavior: smooth;
}
body{
    font-family: sans-serif;
    text-align: center;
    background-color: var(--neutral);
}
h1,h2,h3,h4,h5,h6{
    font-family: sans-serif;
}
h1{
    font-size: 60px;
}
#navbar{
    z-index: 10;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--neutral);
    padding: 34px 0;
    font-size: 20px;
    border-bottom: 1px solid var(--neutral-focus);
}
.nav-links{
    display: flex;
    list-style: none;
    font-family: serif;
}
.nav-links a{
    text-decoration: none;
    padding: 0 10px;
    color: var(--base-100);
}
.nav-links a:hover{
    text-decoration: underline;
}
section{
    min-height: 82vh;
    padding: 100px 0;
}
#welcome-section{
    background-color: var(--neutral);
    color: var(--base-100);
    display: flex;
    flex-direction: column;
}
#welcome-section h1{
    margin-top: 32vh;
}
#welcome-section p {
    color: var(--primary);
    font-size: 25px;
    margin: 25px 0;
    font-style: italic;
}
#projects{
    background-color: var(--secondary);
    color: var(--neutral);
}
#projects h1{
    border-bottom: 5px solid var(--neutral);
    width: fit-content;
    margin: auto;
}
#projects .projects{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    place-items: center;
    max-width: 1200px;
    margin: auto;
}
#projects .project-tile{
    height: 525px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--neutral);
    text-decoration: none;
    color: var(--accent);
    border-radius: 5px;
    box-shadow: 8px 8px 10px 5px rgba(100, 100, 100, 0.3);
}
#projects .project-tile img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
#projects .project-tile p{
    font-size: 25px;
    padding: 10px;
}
#projects .project-tile span{
    opacity: 0%;
    padding: 0 5px;
}
#projects .project-tile:hover span{
    opacity: 100%;
    color: var(--primary);
    transition: opacity 0.25s ease-in;
}
.show-all{
    text-decoration: none;
    width: max-content;
    display: flex;
    align-items: center;
    margin: auto;
    padding: 0px 15px;
    background-color: var(--neutral);
    color: var(--accent);
    font-size: 25px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease-in;
}
.show-all:hover{
    background-color: var(--neutral-focus);
    color: var(--base-100);
}
#contact{
    background-color: var(--neutral);
    color: var(--base-100);
}
#contact h1{
    margin-top: 200px;
    margin-bottom: 25px;
}
#contact .coffee-question{
    color: var(--primary);
    font-size: 25px;
    font-style: italic;
}
#contact .social-medias{
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    justify-content: space-around;
    margin: auto;
    margin-top: 30px;
}
#contact .social-media{
    text-decoration: none;
    color: var(--base-100);
    transition: transform 0.2s ease-in;
    display: flex;
    align-items: center;
    margin: 19px;
    font-size: 22px;
}
#contact .social-media:hover{
    transform: translateY(10px);
}
footer{
    border-top: 3px solid var(--primary);
    color: var(--base-100);
    font-size: 25px;
    padding: 30px;
}
@media only screen and (width<1500px){
    .freebie img{
        position: absolute;
        width: 150px;
        left: 1200px;
        top: 110px;
    }
}
@media only screen and (width<1405px){
    #welcome-section h1,#welcome-section p{
        margin-left: 160px;
    }
    .freebie img{
        position: absolute;
        width: 150px;
        left: 1080px;
        top: 110px;
    }
    .navbar li{
        color: white;
        display: inline-block;
        font-size: 30px;
        padding: 34px 17px;
    }
    .nav-links{
        display: none;
    }
    #navbar{
        z-index: 10;
        display: flex;
        justify-content: center;
        position: fixed;
        top: 0;
        width: 100%;
        background-color: var(--neutral);
        padding: 40px 0;
        font-size: 20px;
        border-bottom: 1px solid var(--neutral-focus);
    }
}
@media only screen and (width<1200px){
    .nav-links a{
        display: none;
        text-decoration: none;
        padding: 0 20px;
        color: var(--base-100);
    }
    .navbar li{
        color: white;
        display: inline-block;
        font-size: 30px;
        padding: 30px 15px;
    }
}
@media only screen and (width<700px){
    .logo img{
        display: block;
    }
    #welcome-section h1,#welcome-section p{
        margin-left: 80px;
    }
    #welcome-section{
        margin-right: 32px;
    }
    h1{
        font-size: 45px;
    } 
    #projects .project-title{
        height: 600px;
        width: 100%;
    }
    .navbar{
        margin-right: -5px;
        margin-top: 20px;
    }
    .icon{
        font-size: 1.8rem;
    }
    .hideonMobile a{
        display: none;
    }
    .menu-button a{
        display: block;
        width: 100%;
        color: white;
    }
}
@media (max-width:1100px){
    .left div{
        position: absolute;
        top: -7px;
        left: 70px;
        color: green;
        font-size: 23px;
        text-align: center;
    }
    .right{
        right: -4px;
    }
    .profile img{
        border-radius: 50%;
        left: 25px;
        position: absolute;
        margin: -25px 95px;
        width: 150px;
        height: 34%;
    }
    .freebie img{
        position: absolute;
        width: 60px;
        left: 295px;
        top: 90px;
    }
    .navbar li{
        color: white;
        display: inline-block;
        font-size: 15px;
        padding: 30px 10px;
    }
    .nav-links a{
        display: none;
        text-decoration: none;
        padding: 0 10px;
        
        color: var(--base-100);
    }
    section{
        min-height: 70vh;
        padding: 105px 0;
    }
}
@media only screen and (max-width:1100px) and (orientation:landscape){
    .profile img{
        left: 220px;
        position: absolute;
        margin: -25px 95px;
        width: 140px;
    }
    .freebie img{
        position: absolute;
        width: 60px;
        left: 600px;
        top: 90px;
    }
    /* #welcome-section h1{
        margin-top: 220px;
    } */
}
