@font-face {
    font-family: 'Josefin-Sans-regular';
    src: url('../font/JosefinSans-Regular.woff2') format('woff2'),
        url('../font/JosefinSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Josefin-Sans-bold';
    src: url('../font/JosefinSans-Bold.woff2') format('woff2'),
        url('../font/JosefinSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Josefin-Sans-medium';
    src: url('../font/JosefinSans-Medium.woff2') format('woff2'),
        url('../font/JosefinSans-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Abril-Fatface';
    src: url('../font/AbrilFatface-Regular.woff2') format('woff2'),
        url('../font/AbrilFatface-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


body {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    overflow-x: hidden !important;
    
}

header {
    position: absolute;
    z-index: 1;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}

header nav {
    transform: rotate(-90deg);
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li span {
    display: inline-block;
    color: #fff;
    background-color: #E5A52B;
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Josefin-Sans-regular';
    font-size: 13px;
    letter-spacing: 3px;
    cursor: pointer;
}

header nav ul li span.active{
    background-color:#c68f25;
}

.wrapper {
    position: relative;
}

.container {
    width:100%;
    margin: auto;
    display:flex;
}

.left-section {
    width:50%;
    background-image: radial-gradient(circle at center, rgb(5 5 5 / 70%) 0%, #070707d9 76%), url('../img/bg.jpg');
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-section .logo {
    border-radius: 50%;
    width: 120px;
}

.left-section .intro {
    padding: 41px 60px;
    text-align: center;
    max-width: 850px;
}

.left-section .intro h1 {
    color: #ede8e8;
    font-size: 35px;
    font-family: 'Abril-Fatface';
    margin-bottom: 45px;
    letter-spacing: 2px;
}

.left-section .intro p {
    color: #ede8e8;
    font-size: 19px;
    font-family: 'Josefin-Sans-regular';
    line-height: 33px;
    margin: 10px 0;
}

.left-section .intro .contact {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.left-section .contact img {
    width: 60px;
    margin-right: 6px;
}

.left-section .contact a {
    color: #ede8e8;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.right-section {
    width:50%;
    height: 100vh;
    background-color: #070707ed;
    border-left: solid thin #433f3f;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.myportfolio  {
    display: flex;
    gap: 40px 20px;
    flex-wrap: wrap;
    padding:  0 50px;
    justify-content: center;
    max-height: calc(100vh - 200px);
    overflow-y: scroll;
    overflow-x: hidden;
}

@media screen and (min-width : 1025px) { 

.myportfolio::-webkit-scrollbar {
    width: 16px;
    background-clip: padding-box;
}

.myportfolio::-webkit-scrollbar-track {
    /* background-color: #232324;
    height: 8px;
    background-clip: padding-box;
    border-right: 10px solid rgba(0, 0, 0, 0);
    border-top: 10px solid rgba(0, 0, 0, 0);
    border-bottom: 10px solid rgba(0, 0, 0, 0);
    border-radius: 3px; */
}
  
.myportfolio::-webkit-scrollbar-thumb {
    background-clip: padding-box;
    background-color: #e5a52bd1;
    border-right: 10px solid rgba(0, 0, 0, 0);
    border-top: 10px solid rgba(0, 0, 0, 0);
    border-bottom: 10px solid rgba(0, 0, 0, 0);
    border-radius: 3px;
  }

  .myportfolio::-webkit-scrollbar-thumb:hover { 
    background-color: #E5A52B; 
  }
}
  

.right-section .main-title {
    color: #ede8e8;
    font-size: 23px;
    font-family: 'Abril-Fatface';
    margin-bottom: 55px;
    letter-spacing: 2px;
    padding:  0 50px;
}

.right-section .content-section {
    padding: 40px 0px;
}


.myportfolio .card {
    position: relative;
    width: 255px;
}

.myportfolio .card .content {
    opacity: 0;
    left: -30px;
    overflow: hidden;
}

.myportfolio .card:hover img {
    filter: none;
}

.myportfolio .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 3px;
    filter: grayscale(60%);
}

.myportfolio .card .link {
    font-family: 'Josefin-Sans-regular';
    color: #ede8e8;
    font-size: 18px;
    margin-top: 10px;
    display: block;
    text-decoration: none;
}

.section-aboutme .description {
    padding:  0 100px;
    font-family: 'Josefin-Sans-regular';
}

.hidden {
    opacity: 0;
}

.animDiv {
    position: relative;
    left: 0;
    width: 100%;
}

footer {
    position: absolute;
    width: 50%;
    left: 0;
    bottom: 0;
}

footer p {
    font-family: 'Josefin-Sans-regular';
    color: #ede8e8;
    font-size: 12px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer p img {
    width: 16px;
    margin-left: 6px;
    margin-top: -5px;
}

@media screen and (max-width : 1295px) { 
    .myportfolio .card {
        width: 230px;
    }
}

@media screen and (max-width : 1195px) { 
    .myportfolio .card {
        width: 180px;
    }
    .left-section .intro h1 {
        font-size: 28px;
    }
}

@media screen and (max-width : 1024px) { 
    body {
        overflow: visible;
    }
    .container {
        display: block;
    }
    .left-section {
        width: 100%;
        height: auto;
        padding: 50px 0;
    }
    .right-section {
        width:100%;
        height : 100%;
        padding-bottom: 30px;
        border-left: 0;
    }
    .left-section .intro {
        padding: 41px 30px;
    }
    
    .right-section .main-title {
        text-align: center;
    }

    .myportfolio {
        max-height: none;
    }

    .myportfolio .card {
        width: 230px;
    }

    footer {
        position: relative;
        background-color: #070707ed;
        border-top: solid thin #433f3f;
        padding-top: 10px;
        width: 100%;
        padding-bottom: 10px;
    }

    footer p {
        margin-bottom: 8px;
    }
}

@media (max-height: 700px) { 
    .left-section .intro h1 {
        font-size: 30px;
        margin-bottom: 30px;
    }
    .left-section .intro p {
        font-size: 18px;
        line-height: 28px;
    }
    .left-section .logo {
        width: 100px;
    }
    .left-section .intro {
        padding: 35px 40px;
    }
    .left-section .intro .contact {
        margin-top: 20px;
    }
    footer p {
        margin-bottom: 14px;
    }
}