.page-title {
    color: #272727;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
}

.page-title-active {
    color: #be3c3c;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
}


.page-title:hover {
    color: #be3c3c;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
}

.content {
    color: #272727;
    font-size: clamp(1rem, 2vw + 1rem, 2.5rem);
    display: flex;
    width: 50%;
    flex-direction: column;
    text-align:start;
    align-items: center;
    justify-content: center;
    margin-top: -20px;
}

nav {
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    justify-content: flex-end;
    padding-top: 15px;
    align-items: center;
    list-style: none;
}

nav a {
    height: 100%;
    text-decoration: none;
    display: flex;
    align-items: center;
}

nav li:first-child {
    margin-right: auto;
}

nav li {
    margin: 20px;
    text-align: center;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    padding-top: 10vh;
    z-index: 999;
    display: none;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    background-color: #ffffff;
    transition: 0.3s;
}

.sidebar .close-btn {
    position: absolute;
    /* Position relative to the sidebar */
    top: 42px;
    right: 20px;
    cursor: pointer;
}

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
}

a .socials{
    padding: 10px;
}

* {
    padding: 0;
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;

}

h2 {
    color: #be3c3c;
}

footer{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 35px;
    gap: 20px;
}


.contact{
    text-align: center;
    color: grey;
    font-weight: 400;
}


main{
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: start;
}

.grid{
    display: grid;
    grid-template-columns: 50% 50%;
    margin: auto;
}

.website{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(128, 128, 128, 0.5);
}

.website img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projectcontent{
    position: absolute;
    inset: 0;
    background: rgba(19, 18, 18, 0.5);
    display: flex;
    justify-content: start;
    flex-direction: column;
    align-items: start;
    opacity: 0;
    
    color: #ffffff;
}



.website:hover > .projectcontent{
    opacity: 1;
}

.headerproject{
    font-style: italic !important;
    font-weight: 500;
    font-size: 0.8;
}

.projectdescription{
    font-style: italic !important;
    font-weight: 500;
}

.projecttext{
    font-style: italic !important;
    font-weight: 500;
    margin: 20px;
    line-height: 1.5;
}

@media (max-width:525px){
    .grid{
        grid-template-columns: 100%;
    }
}

@media (max-width: 1024px) {
    .hideOnMobile {
        display: none;
    }

    .sidebar {
        width: 100vw;
    }
    .content{
        width: 90%;
    }
    nav ul{
        width: 100%;
    }
    .projectdescription{
        display: none;
    }

}

@media (min-width: 1024px) {
    .hideOnDesktop {
        display: none;
    }

    .sidebar{
        display: none !important;
    }

    .close-btn {
        display: none;
    }
    .content{
        width: 75%;
    }
    nav ul{
        width: 90%;
    }

    .grid{
        width: 75%;
    }
    .projectdescription{
        display: none;
    }

}

@media (min-width: 1400px){
    .content{
        width: 60%;
    }
    nav ul{
        width: 70%;
    }

    .grid{
        width: 60%;
    }
    .projectdescription{
        display:contents;
    }
}