* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: "inter", sans-serif;
}

:root {
    --brand-bg: #1c2c58;
    --accent: #f05926;
    --surface: #ebe6cf;
    --cloudsbg: #9bd7d8;
    --trans-fast: 0.25s;
    --trans-med: 0.35s;
    --radius-focus: 2px;
    --shadow-strong: 0.375rem 0.375rem 0 0 rgba(28,44,88,0.7);
}

/* Skip-link: hidden visually, visible on keyboard focus */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus,
.skip-link:active {
    position: fixed;
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.5rem 0.75rem;
    background: var(--brand-bg);
    color: var(--surface);
    z-index: 9999;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    outline: 3px solid var(--accent);
    clip: auto;
    white-space: normal;
}

html {
    scroll-behavior: smooth;
}

/* Keep native scrollbars visible */
html,
body,
.scroller {
    overflow-y: auto;
}

/* Force scrollbar background/track to page surface on all states */
html,
body,
.scroller {
    scrollbar-color: #1c2c58 #ebe6cf;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.scroller::-webkit-scrollbar,
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.scroller::-webkit-scrollbar-track,
html::-webkit-scrollbar-track-piece,
body::-webkit-scrollbar-track-piece,
.scroller::-webkit-scrollbar-track-piece,
html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
.scroller::-webkit-scrollbar-corner,
html::-webkit-scrollbar-button,
body::-webkit-scrollbar-button,
.scroller::-webkit-scrollbar-button,
html::-webkit-scrollbar:hover,
body::-webkit-scrollbar:hover,
.scroller::-webkit-scrollbar:hover,
html::-webkit-scrollbar-track:hover,
body::-webkit-scrollbar-track:hover,
.scroller::-webkit-scrollbar-track:hover {
    background-color: #ebe6cf;
}

/* Consolidated backdrop-filter for all panels */
.button_container {
    backdrop-filter: blur(2.5px);
    -webkit-backdrop-filter: blur(2.5px);
}

/* Consolidated border-radius */
.button-wrap,
.logo-wrap-portfolio {
    border-radius: 5px;
}

.item-button {
    position: fixed;
    top: 2.5rem;
    right: 5.5rem;
    z-index: 10;
}

.button-wrap {
    position: relative;
    cursor: pointer;
    z-index: 100;
    width: 4.8rem;
    height: 3.8rem;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-strong);
}

.button_container {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    transition: opacity var(--trans-fast) ease, background-color var(--trans-med) ease;
    height: 100%;
    flex-direction: column;
    width: 100%;
    background-color: rgba(28,44,88,0.85);
    border-radius: 5px;
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    box-shadow: none;
}

.button_container:focus {
    outline: none;
    box-shadow: none;
}

.button_container:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 6px;
    border-radius: var(--radius-focus);
}

.middle {
    margin: 0.3rem 0;
}

.button_container:hover {
    opacity: 0.75;
}

.button_container.active {
    background-color: var(--accent);
}

.button_container.active .top {
    transform: translateY(8px) translateX(0) rotate(45deg);
    background: var(--surface);
}

.button_container.active .middle {
    opacity: 0;
    background: var(--surface);
}

.button_container.active .bottom {
    transform: translateY(-8px) translateX(0) rotate(-45deg);
    background: var(--surface);
}

.button_container span {
    background: var(--surface);
    border: none;
    height: 0.2rem;
    width: 2.75rem;
    transition: transform var(--trans-med) ease, opacity var(--trans-med) ease;
    cursor: pointer;
    will-change: transform, opacity;
    transform-origin: center;
    backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .button_container,
    .button_container span,
    .overlay,
    .overlay.open li,
    main,
    #main,
    .footer {
        transition: none;
        animation: none;
    }
}

.overlay {
    position: fixed;
    background: var(--brand-bg);
    background-image: url(../images/Button-background-image-1920x1080.webp);
    background-size: cover;
    background-repeat: no-repeat;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--trans-med) ease, visibility var(--trans-med) ease, max-height var(--trans-med) ease;
    overflow: hidden;
    z-index: 9;
    pointer-events: none;
}

.overlay.open {
    pointer-events: auto;
    opacity: 0.9;
    visibility: visible;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

main,
#main,
.footer {
    transition: filter var(--trans-med) ease;
}

body.overlay-open main,
body.overlay-open #main,
body.overlay-open .footer {
    filter: blur(2px);
}

.overlay.open li {
    animation: fadeInRight 0.5s ease forwards;
    animation-delay: 0.35s;
    will-change: transform, opacity;
}

.overlay.open li:nth-of-type(2) {
    animation-delay: 0.4s;
}

.overlay.open li:nth-of-type(3) {
    animation-delay: 0.45s;
}

.overlay.open li:nth-of-type(4) {
    animation-delay: 0.5s;
}

.overlay.open li:nth-of-type(5) {
    animation-delay: 0.55s;
}

.overlay-menu {
    font-weight: 350;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-list {
    list-style: none;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    height: 50%;
    right: -20%;
}

.list-menu {
    position: relative;
    opacity: 0;
    text-align: right;
    width: 100%;
}

.link-menu {
    position: relative;
    color: var(--surface);
    text-decoration: none;
    font-size: clamp(1rem, 0.075rem + 4.63vw, 5.625rem);
    font-weight: 400;
    letter-spacing: 0.025em;
}

.link-menu:after {
    content: "";
    position: absolute;
    background: var(--surface);
    height: 0.125rem;
    width: 100%;
    left: 0;
    bottom: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--trans-med) ease;
    will-change: transform;
}

.link-menu:hover:after,
.link-menu:focus:after,
.link-menu:active:after {
    transform: scaleX(1);
}

.link-menu:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 6px;
    border-radius: var(--radius-focus);
}

.smlmenu-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    list-style: none;
    margin-top: 1.875rem;
}

.social-media-link-menu {
    position: relative;
    color: var(--surface);
    padding-bottom: 5%;
    text-decoration: none;
}

.social-media-link-menu:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: var(--radius-focus);
}

.social-media-link-menu:hover:after,
.social-media-link-menu:focus:after,
.social-media-link-menu:active:after {
    width: 100%;
}

.social-media-link-menu:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    transform: translateX(-50%);
    height: 0.065rem;
    background: var(--accent);
    transition: width var(--trans-med) ease;
    will-change: width;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(20%);
    }
    100% {
        opacity: 1;
        transform: translateX(0%);
    }
}

.home-page-portfolio {
    width: 100%;
    min-height: 100vh;
    background-color: var(--surface);
    padding: 0 5.5rem;
}

.section-container-portfolio {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 0;
}

.container-portfolio {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.item-logo-portfolio {
    width: 100%;
    height: 3.8rem;
}

.logo-wrap-portfolio {
    width: 10rem;
    height: 100%;
    background-color: rgba(28, 44, 88, 1);
    box-shadow: -0.375rem 0.375rem 0 0 rgba(28, 44, 88, 0.75);
    overflow: hidden;
}

.logo-wrap-portfolio a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    transition: opacity 0.3s ease;
}

.logo-wrap-portfolio a:hover {
    opacity: 0.8;
}

.logo-wrap-portfolio a img{
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
    padding: 1%;
    display: block;
}

/* End of Logo and Button styling for the entire project section*/

/* Start of Project images styling*/

.section-container-project {
    height: 100%;
    width: 100%;
}

.container-project {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
}

.item-project {
    width: 100%;
}

.project-main-image {
    width: 100%;
    max-width: 1920px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.project-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6.5rem 0;
}
.project-wrap h1 {
    font-size: 2.75rem;
}

.project-wrap h2 {
    font-size: 1.625rem;
}

.project-wrap p {
    font-size: 1.25rem;
}

.project-wrap h1, .project-wrap h2, .project-wrap p {
    color: var(--brand-bg);
}

.project-wrap h2, .project-wrap p {
    width: 45%;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

/* Divider styling */

.divider {
    width: 25px;
    height: 3px;
    background-color: var(--accent);
    margin: 2rem auto;
    border: none;
    display: block;
    border-radius: 2px;
}

.project-images {
    width: 100%;
    max-width: 1650px;
    margin: 0 auto;
    overflow: hidden;
}

.project-image-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    margin-bottom: 1rem;
}

.project-image-wrap:last-child {
    margin-bottom: 0;
}

.project-image-wrap-hero {
    margin-bottom: 0;
}

.project-image-wrap > img {
    width: 100%;
    max-width: 1650px;
    height: auto;
    display: block;
    object-fit: cover;
}

.project-image-wrap > picture {
    width: 100%;
    max-width: 1920px;
    display: block;
}

.project-image-wrap > picture > img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.project-image-wrap > img.image-max-content {
    width: auto;
    max-width: 100%;
}

.image-details {
    width: 100%;
    max-width: 1650px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.85rem;
    margin: 0.85rem auto 0 auto;
}

.image-details img {
    width: calc(33.333% - 0.34rem);
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    flex-shrink: 0;
}

.image-details picture {
    width: calc(33.333% - 0.34rem);
    display: block;
    flex-shrink: 0;
}

.image-details picture > img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.image-details img.image-detail-full {
    width: 100%;
}

.image-details picture:has(img.image-detail-full) {
    display: block;
    width: 100%;
}

.image-details2 img {
    width: auto;
    height: clamp(8rem, 10vw, 16rem);
    max-width: none;
    min-width: 0;
    flex: 1 1 auto;
    display: block;
    object-fit: cover;
}

.image-details2 {
    align-items: flex-start;
    justify-content: space-between;
}

/* End of Project images styling*/

.button-container {
    width: 100%;
    max-width: 1650px;
    margin: 0 auto;
    padding: 100px 0 80px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.button {
    display: inline-flex;
    height: 65px;
    width: 200px;
    border: 2px solid var(--brand-bg);
    color: var(--brand-bg);
    text-transform: uppercase;
    text-decoration: none;
    font-size: .8em;
    letter-spacing: 1.5px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

a {
    color: var(--brand-bg);
    text-decoration: none;
    letter-spacing: 1px;
}

.button-ripple {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.button-ripple a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    transition: all .45s ease-Out;
}

.button-ripple-circle {
    width: 0%;
    height: 0%;
    opacity: 0;
    line-height: 40px;
    border-radius: 50%;
    background: var(--brand-bg);
    position: absolute;
    z-index: 0;
    pointer-events: none;
    transition: all .5s ease-Out;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.button-ripple:hover .button-ripple-circle,
.button-ripple:active .button-ripple-circle,
.button-ripple:focus-within .button-ripple-circle {
    width: 200%;
    height: 500%;
    opacity: 1;
    top: 50%;
    left: 50%;
}

.button-ripple:hover a,
.button-ripple:active a,
.button-ripple:focus-within a {
    color: white;
}
/* Start of footer styling*/

.footer {
    width: 100vw;
    height: 100vh;
    background-color: var(--surface);
}

.footer-wrapper {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-info-wrapper {
    width: 100%;
    height: 94%;
    display: flex;
    flex-direction: row;
    padding: 0 5.625rem;
}

.footer-info-left-wrapper {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.data-container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    height: 100%;
    width: 100%;
    padding-left: 15%;
    padding-top: 15%;
}

.my-contacts h1,
.my-social-media h1,
.resources h1,
.if-you-missed h1 {
    font-family: "inter", sans-serif;
    font-weight: 600;
    font-size: 2rem;
    text-decoration: none;
    color: var(--brand-bg);
    padding-bottom: 6%;
}

.my-contacts {
    grid-row: 1/2;
    grid-column: 1/2;
    width: 100%;
    height: 100%;
    position: relative;
    display: inline;
}

.my-contacts::after {
    content: "";
    width: 0.125rem;
    height: 70%;
    display: block;
    background-color: var(--brand-bg);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.my-contacts a {
    color: var(--brand-bg);
    text-decoration: none;
    font-family: "inter", sans-serif;
}

.my-social-media {
    grid-row: 1/2;
    grid-column: 2/3;
    width: 100%;
    height: 100%;
    position: relative;
    display: inline;
}

.my-social-media::after {
    content: "";
    width: 70%;
    height: 0.125rem;
    display: block;
    background-color: var(--brand-bg);
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.my-contacts ul li,
.my-social-media ul li,
.resources ul li,
.if-you-missed ul li {
    list-style: none;
    padding-bottom: 5%;
}

.my-contacts a,
.my-social-media a,
.resources a,
.if-you-missed a {
    color: var(--brand-bg);
    text-decoration: none;
    font-family: "inter", sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    transition: opacity var(--trans-fast) ease, color var(--trans-fast) ease;
}

.resources {
    grid-row: 2/3;
    grid-column: 1/2;
    width: 100%;
    height: 100%;
    position: relative;
    display: inline;
}

.resources::after {
    content: "";
    width: 70%;
    height: 0.125rem;
    display: block;
    background-color: var(--brand-bg);
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.if-you-missed {
    grid-row: 2/3;
    grid-column: 2/3;
    width: 100%;
    height: 100%;
    position: relative;
    display: inline;
}

.if-you-missed::after {
    content: "";
    width: 0.125rem;
    height: 70%;
    display: block;
    background-color: var(--brand-bg);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.my-contacts a:hover,
.my-social-media a:hover,
.resources a:hover,
.if-you-missed a:hover {
    opacity: 0.7;
    color: var(--accent);
}

.my-contacts a:focus-visible,
.my-social-media a:focus-visible,
.resources a:focus-visible,
.if-you-missed a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: var(--radius-focus);
}

.footer-info-right-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.footer-info-right-wrapper img {
    height: 90%;
    width: auto;
}

.copyright-container {
    width: 100%;
    background-color: var(--brand-bg);
    min-height: 6%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    padding: 0.75rem 50px;
    align-items: center;
    align-content: center;
    color: var(--surface);
    text-decoration: none;
    font-family: "inter", sans-serif;
    font-weight: 300;
    font-size: 1rem;
}

.copyright-wrapper {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
}

.copyright-wrapper p {
    color: var(--surface);
    width: auto;
    text-align: left;
    font-size: 1rem;
}

.privacy-policy-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: flex-end;
}

.privacy-policy-wrapper a {
    padding-left: 4%;
    color: var(--surface);
    text-decoration: none;
    font-family: "inter", sans-serif;
    font-weight: 300;
    font-size: 1rem;
}
/* End of footer styling*/

@media (max-width: 1680px) and (max-height: 1050px) {
    .overlay {
        background-image: url(../images/Button-background-image-1680x1050.webp);
    }
    .button-wrap {
        width: 4.5rem;
    }
    .project-wrap {
        padding: 8.5rem 0;
    }
    .divider {
        margin: 1.5rem 0;
    }
    .project-wrap h1 {
        font-size: 2.5rem;
    }
    .project-wrap h2, .project-wrap p {
        width: 55%;
    }
}

@media (max-width: 1600px) and (max-height: 900px) {
    .item-button {
        top: 2rem;
        right: 4.5rem;
    }
    .overlay {
        background-image: url(../images/Button-background-image-1600x900.webp);
    }
    .button-wrap {
        width: 4rem;
        height: 3.35rem;
    }
    .menu-list {
        right: -22%;
    }
    .home-page-portfolio {
        padding: 2rem 4.5rem;
    }
    .section-container-portfolio {
        padding: 0 0 2.5rem 0;
    }
    .item-logo-portfolio {
        height: 3.5rem;
    }
    .logo-wrap-portfolio {
        width: 9rem;
    }
    .project-wrap h1 {
        font-size: 2.25rem;
    }
    .project-wrap h2 {
        font-size: 1.35rem;
    }
    .project-wrap p {
        font-size: 1.125rem;
    }
    .project-wrap h2,
    .project-wrap p {
        width: 60%;
    }
    .my-contacts h1, .my-social-media h1,
    .resources h1, .if-you-missed h1 {
        font-size: 1.75rem;
    }
    .my-contacts a,
    .my-social-media a,
    .resources a,
    .if-you-missed a {
        font-size: 1.125rem;
    }
}

@media (max-width: 1440px) and (max-height: 900px) {
    .item-logo-portfolio {
        height: 3.35rem;
    }
    .overlay {
        background-image: url(../images/Button-background-image-1440x900.webp);
    }
    .link-menu {
        font-size: 4.6rem;
    }
    .smlmenu-container {
        margin-top: 1.7rem;
    }
    .overlay-menu {
        font-size: 1.25rem;
        letter-spacing: 0.025em;
    }
    .project-wrap {
        padding: 6rem 0;
    }
    .divider {
        margin: 1.45rem 0;
    }
    .project-wrap h2,
    .project-wrap p {
        width: 60%;
    }
}

@media (max-width: 1366px) and (max-height: 768px) {
    .item-button {
        right: 4.5rem;
        top: 2.5rem;
    }
    .overlay {
        background-image: url(../images/Button-background-image-1366x768.webp);
    }
    .menu-list {
        height: 51%;
    }
    .link-menu {
        font-size: 4rem;
    }
    .overlay-menu {
        font-size: 1.125rem;
    }
    .button-wrap {
        width: 3.75rem;
        height: 3.125rem;
    }
    .footer-info-wrapper {
        padding: 0 4.5rem;
    }
    .home-page-portfolio {
        padding: 2.5rem 4.5rem;
    }
    .item-logo-portfolio {
        height: 3.125rem;
    }
    .logo-wrap-portfolio {
        width: 8.5rem;
    }
    .project-wrap h1 {
        font-size: 2.125rem;
    }
    .project-wrap h2 {
        font-size: 1.25rem;
    }
    .project-wrap p {
        font-size: 1.125rem;
    }
    .project-wrap h2, .project-wrap p {
        width: 65%;
    }
    .project-wrap {
        padding: 9rem 0;
    }
    .image-details {
        margin: 0.85rem auto 0 auto;
    }
}

@media (max-width: 1280px) and (max-height: 1024px) {
    .item-button {
        right: 4.5rem;
        top: 2.5rem;
    }
    .home-page-portfolio {
        padding: 0 4.5rem;
    }
    .item-logo-portfolio {
        height: 3.5rem;
    }
    .footer-info-wrapper {
        padding: 2rem 3.5rem;
    }
    .footer-info-right-wrapper {
        width: 90%;
    }
    .footer-info-right-wrapper img {
        height: 70%;
    }
    .data-container {
        padding-top: 25%;
    }
    .my-contacts h1,
    .my-social-media h1,
    .resources h1,
    .if-you-missed h1 {
        font-size: 1.75rem;
    }
    .my-contacts a,
    .my-social-media a,
    .resources a,
    .if-you-missed a {
        font-size: 1.125rem;
    }
    .overlay {
        background-image: url(../images/Button-background-image-1280x1024.webp);
    }
    .menu-list {
        height: 48%;
        right: -20%;
    }
    .link-menu {
        font-size: 4.75rem;
    }
    .overlay-menu {
        font-size: 1.25rem;
    }
    .button-wrap {
        width: 4rem;
        height: 3.5rem;
    }
    .project-wrap {
        padding: 6.5rem 0;
    }
    .project-wrap h1 {
        font-size: 2rem;
    }
    .project-wrap h2 {
        font-size: 1.25rem;
    }
    .project-wrap p {
        font-size: 1.125rem;
    }
    .project-wrap h2,
    .project-wrap p {
        width: 70%;
    }
    .divider {
        margin: 1.75rem 0;
    }
}

@media (max-width: 1280px) and (max-height: 950px) {
    .footer-info-right-wrapper img {
        height: 77%;
    }
    .overlay {
        background-image: url(../images/Button-background-image-1280x950.webp);
    }
}

@media (max-width: 1280px) and (max-height: 800px) {
    .section-container-portfolio {
        padding: 2.5rem 0;
    }
    .logo-wrap-portfolio {
        width: 10rem;
    }
    .footer-info-right-wrapper img {
        height: 84%;
    }
    .data-container {
        padding-top: 20%;
    }
    .overlay {
        background-image: url(../images/Button-background-image-1280x800.webp);
    }
    .menu-list {
        height: 50%;
        right: -18%;
    }
    .project-wrap {
        padding: 5rem 0;
    }
}

@media (max-width: 1280px) and (max-height: 768px) {
    .menu-list {
        height: 52%;
    }
    .link-menu {
        font-size: 4.125rem;
    }
    .overlay-menu {
        font-size: 1.125rem;
    }
    .project-wrap {
        padding: 6rem 0;
    }
}

@media (max-width: 1280px) and (max-height: 720px) {
    .item-button {
        right: 4.5rem;
        top: 2.5rem;
    }
    .item-logo-portfolio {
        height: 3.25rem;
    }
    .logo-wrap-portfolio {
        width: 8.5rem;
    }
    .button-wrap {
        width: 3.75rem;
        height: 3.2rem;
    }
    .menu-list {
        height: 52%;
        right: -19%;
    }
    .link-menu {
        font-size: 4.125rem;
    }
    .overlay-menu {
        font-size: 1.08rem;
    }
    .image-details {
        margin: 0.85rem auto 0 auto;
    }
    .button-container {
        padding: 100px 0 50px 0;
    }
    .my-contacts h1,
    .my-social-media h1,
    .resources h1,
    .if-you-missed h1 {
        font-size: 1.5rem;
    }
    .my-contacts a,
    .my-social-media a,
    .resources a,
    .if-you-missed a {
        font-size: 1rem;
    }
}

@media (max-width: 1280px) and (max-height: 600px) {
    .footer-info-wrapper {
        padding: 2.5rem 4.5rem;
    }
    .footer-info-right-wrapper img {
        height: 97%;
    }
    .copyright-container {
        padding: 0 70px;
    }
    .overlay {
        background-image: url(../images/Button-background-image-1280x600.webp);
    }
    .menu-list {
        height: 56%;
        right: -22%;
    }
}

@media (max-width: 1152px) and (max-height: 864px) {
    .item-button {
        top: 2rem;
        right: 3rem;
    }
    .home-page-portfolio {
        padding: 0 3rem;
    }
    .section-container-portfolio {
        padding: 2rem 0;
    }
    .item-logo-portfolio {
        height: 3.25rem;
    }
    .footer-info-wrapper {
        padding: 2rem 3rem;
    }
    .copyright-wrapper p {
        font-size: 1rem;
    }
    .privacy-policy-wrapper a {
        font-size: 1rem;
    }
    .overlay {
        background-image: url(../images/Button-background-image-1152x864.webp);
    }
    .button-wrap {
        width: 3.75rem;
        height: 3.25rem;
    }
    .menu-list {
        height: 45%;
        right: -21%;
    }
    .link-menu {
        font-size: 3.75rem;
    }
    .overlay-menu {
        font-size: 1rem;
    }
    .project-wrap {
        padding: 6rem 0;
    }
    .image-details {
        margin: 0.85rem auto 0 auto;
    }
    h2, p {
        width: 75%;
    }
    .project-wrap h1 {
        font-size: 1.75rem;
    }
    .project-wrap h2 {
        font-size: 1.125rem;
    }
    .project-wrap p {
        font-size: 1rem;
    }
    .button-container {
        padding: 90px 0 40px 0;
    }
}

@media (max-width: 1152px) and (max-height: 764px) {
    .logo-wrap-portfolio {
        width: 9rem;
    }
    .menu-list {
        height: 50%;
        right: -20%;
    }
}

@media (max-width: 1085px) and (max-height: 1920px) {
    .overlay {
        background-image: none;
    }
    .overlay-menu {
        font-size: 1.725rem;
    }
    .menu-list {
        height: 50%;
        right: 0%;
        width: 40%;
    }
    .list-menu {
        text-align: left;
    }
    .link-menu {
        font-size: 5.35rem;
        letter-spacing: 0.035rem;
    }
    .smlmenu-container {
        margin-top: 0;
    }
}

@media (max-width: 1032px) and (max-height: 1376px) {
    .project-wrap h2, .project-wrap p {
        width: 76%;
    }
    .footer-info-right-wrapper {
        display: none;
    }
    .data-container {
        padding-left: 25%;
        padding-top: 45%;
    }
}

@media (min-width: 1025px) and (max-width: 1032px) and (max-height: 1376px) {
    .footer {
        height: 70vh;
    }
    .data-container {
        padding-left: 20%;
        padding-top: 28%;
    }
    .data-container ul {
        padding-left: 4%;
    }
}

@media (max-width: 1024px) and (max-height: 1366px) {
    .home-page-portfolio {
        padding: 0 3rem;
    }
    .item-logo-portfolio {
        height: 3.75rem;
    }
    .footer-info-wrapper {
        padding: 0 3rem;
    }
    .footer-info-right-wrapper {
        display: none;
    }
    .my-contacts h1,
    .my-social-media h1,
    .resources h1,
    .if-you-missed h1 {
        font-size: 2.5rem;
    }
    .my-contacts ul li,
    .my-social-media ul li,
    .resources ul li,
    .if-you-missed ul li {
        padding-bottom: 8%;
    }
    .my-contacts a,
    .my-social-media a,
    .resources a,
    .if-you-missed a {
        font-size: 1.5rem;
    }
    .copyright-container p,
    .privacy-policy-wrapper a {
        font-size: 1.125rem;
    }
    .copyright-wrapper p {
        font-size: 1rem;
    }
    .privacy-policy-wrapper a {
        font-size: 1rem;
    }
    .my-contacts h1,
    .my-social-media h1,
    .resources h1,
    .if-you-missed h1 {
        font-size: 2.25rem;
        padding-bottom: 10%;
    }
    .my-contacts a,
    .my-social-media a,
    .resources a,
    .if-you-missed a {
        font-size: 1.25rem;
    }
    .data-container {
        padding-top: 40%;
    }
    .item-button {
        right: 3rem;
        top: 2.5rem;
    }
    .overlay {
        background-image: none;
    }
    .button-wrap {
        width: 4.25rem;
        height: 3.75rem;
    }
    .button_container span {
        height: 0.219rem;
        width: 2.35rem;
    }
    .menu-list {
        height: 42%;
        right: 0%;
        width: 42%;
    }
    .link-menu {
        font-size: 5.25rem;
        letter-spacing: 0.03rem;
    }
    .list-menu {
        text-align: left;
    }
    .overlay-menu {
        font-size: 1.5rem;
    }
    .project-wrap {
        padding: 5.5rem 0;
    }
    h2, p {
        width: 80%;
    }
    .divider {
        margin: 1.75rem auto;
    }
    .project-wrap h1 {
        font-size: 2rem;
    }
    .project-wrap h2 {
        font-size: 1.25rem;
    }
    .project-wrap p {
        font-size: 1.125rem;
    }
    .project-wrap h2,
    .project-wrap p {
        width: 62%;
    }
    .image-details {
        margin: 0.85rem auto 0 auto;
    }
}

@media (min-width: 961px) and (max-width: 1024px) and (max-height: 1366px) {
    .footer {
        height: 67vh;
    }
    .data-container {
        padding-top: 18%;
        padding-left: 18%;
    }
    .data-container ul {
        padding-left: 5%;
    }
}

@media (max-width: 1024px) and (max-height: 768px) {
    .home-page-portfolio {
        padding: 0 2.5rem;
    }
    .item-logo-portfolio {
        height: 3rem;
    }
    .logo-wrap-portfolio {
        width: 9rem;
    }
    .footer-info-wrapper,
    .copyright-container {
        padding: 0 2.5rem;
    }
    .my-contacts h1,
    .my-social-media h1,
    .resources h1,
    .if-you-missed h1 {
        font-size: 2rem;
    }
    .my-contacts ul li,
    .my-social-media ul li,
    .resources ul li,
    .if-you-missed ul li {
        padding-bottom: 5%;
    }
    .my-contacts a,
    .my-social-media a,
    .resources a,
    .if-you-missed a {
        font-size: 1.25rem;
    }
    .copyright-container p,
    .privacy-policy-wrapper a {
        font-size: 1rem;
    }
    .data-container {
        padding-top: 16%;
    }
    .item-button {
        top: 2rem;
        right: 2.5rem;
    }
    .overlay {
        background-image: url(../images/Button-background-image-1024x768.webp);
    }
    .menu-list {
        height: 50%;
        right: -20%;
    }
    .list-menu {
        text-align: right;
    }
    .link-menu {
        font-size: 4rem;
    }
    .overlay-menu {
        font-size: 1.125rem;
    }
    .button-wrap {
        width: 3.75rem;
        height: 3rem;
    }
    .button_container span {
        height: 0.19rem;
        width: 2.125rem;
    }
    .project-wrap {
        padding: 5.5rem 0;
    }
    .project-wrap h2, .project-wrap p {
        width: 75%;
    }
}

@media (max-width: 1024px) and (max-height: 600px) {
    .data-container {
        padding-top: 11%;
    }
}

@media (max-width: 1000px) and (max-height: 667px) {
    .data-container {
        padding-top: 10%;
    }
}

@media (max-width: 1024px) and (max-height: 600px) {
}

@media (max-width: 960px) and (max-height: 1848px) {
    .overlay {
        background-image: none;
    }
    .menu-list {
        right: 0%;
        height: 45%;
        width: 50%;
    }
    .list-menu {
        text-align: left;
    }
    .link-menu {
        font-size: 5.75rem;
    }
    .overlay-menu {
        font-size: 1.75rem;
    }
    .project-wrap h2, .project-wrap p {
        width: 76%;
    }
    .footer-info-right-wrapper {
        display: none;
    }
    .footer-info-wrapper {
        padding: 0;
    }
}

@media (min-width: 835px) and (max-width: 960px) and (max-height: 1848px) {
    .footer {
        height: 50vh;
    }
    .data-container {
        padding-left: 30%;
        padding-top: 20%;
    }
    .my-contacts ul li, .my-social-media ul li, .resources ul li, .if-you-missed ul li {
        padding-bottom: 7%;
    }
}

@media (max-width: 960px) and (max-height: 600px) {
    .menu-list {
        right: -22%;
    }
    .link-menu {
        font-size: 3.5rem;
    }
    .overlay-menu {
        font-size: 0.938rem;
    }
    .data-container {
        padding-top: 10%;
    }
    .my-contacts ul li, .my-social-media ul li, .resources ul li, .if-you-missed ul li {
        padding-bottom: 4%;
    }
    .resources::after {
        width: 85%;
    }
    .my-social-media::after {
        width: 85%;
    }
    .my-contacts::after, .if-you-missed::after {
        height: 80%;
    }
    .my-contacts h1,
    .my-social-media h1,
    .resources h1,
    .if-you-missed h1 {
        font-size: 1.75rem;
    }
    .my-contacts a,
    .my-social-media a,
    .resources a,
    .if-you-missed a {
        font-size: 1.125rem;
    }
    .project-wrap h2, .project-wrap p {
        width: 80%;
    }
    .button-container {
        padding: 70px 0 40px 0;
    }
}

@media (max-width: 932px) and (max-height: 432px) {
    .data-container {
        padding-top: 8%;
    }
    .my-contacts h1, .my-social-media h1, .resources h1, .if-you-missed h1 {
        padding-bottom: 5%;
    }
}

@media (max-width: 930px) and (max-height: 480px) {
    .data-container {
        padding-top: 8%;
    }
}

@media (max-width: 930px) and (max-height: 430px) {
    .home-page-portfolio {
        padding: 0 2.25rem;
    }
    .section-container-portfolio {
        padding: 1.75rem 0 2rem 0;
    }
    .item-logo-portfolio {
        height: 2.75rem;
    }
    .logo-wrap-portfolio {
        width: 7.5rem;
    }
    .footer-info-wrapper,
    .copyright-container {
        padding: 0 2.25rem;
    }
    .data-container {
        padding-left: 17%;
        padding-top: 6%;
    }
    .my-contacts h1,
    .my-social-media h1,
    .resources h1,
    .if-you-missed h1 {
        font-size: 1.75rem;
        padding-bottom: 3%;
    }
    .my-contacts ul li,
    .my-social-media ul li,
    .resources ul li,
    .if-you-missed ul li {
        padding-bottom: 3%;
    }
    .my-contacts a,
    .my-social-media a,
    .resources a,
    .if-you-missed a {
        font-size: 0.915rem;
    }
    .copyright-container p,
    .privacy-policy-wrapper a {
        font-size: 0.7rem;
    }
    .data-container {
        padding-top: 9%;
    }
    .item-button {
        top: 1.75rem;
        right: 2.25rem;
    }
    .button-wrap {
        width: 3.5rem;
        height: 2.75rem;
    }
    .menu-list {
        height: 64%;
        right: -22%;
    }
    .link-menu {
        font-size: 2.75rem;
    }
    .overlay-menu {
        font-size: 0.7rem;
    }
    .project-wrap h1 {
        font-size: 1.75rem;
    }
    .project-wrap h2 {
        font-size: 1.125rem;
    }  
    .project-wrap p {
        font-size: 1rem;
    }
}

@media (max-width: 834px) and (max-height: 1194px) {
    .home-page-portfolio {
        padding: 0 2.25rem;
    }
    .item-logo-portfolio {
        height: 3.70rem;
    }
    .logo-wrap-portfolio {
        width: 9.5rem;
    }
    .footer-info-wrapper,
    .copyright-container {
        padding: 0 2.25rem;
    }
    .footer-info-wrapper {
        height: 96%;
    }
    .copyright-container {
        height: 4%;
    }
    .data-container {
        padding-left: 18%;
        padding-top: 40%;
    }
    .my-contacts h1,
    .my-social-media h1,
    .resources h1,
    .if-you-missed h1 {
        font-size: 2.25rem;
        padding-bottom: 10%;
    }
    .my-contacts ul li,
    .my-social-media ul li,
    .resources ul li,
    .if-you-missed ul li {
        padding-bottom: 9%;
    }
    .my-contacts a,
    .my-social-media a,
    .resources a,
    .if-you-missed a {
        font-size: 1.5rem;
    }
    .copyright-container p,
    .privacy-policy-wrapper a {
        font-size: 1rem;
    }
    .my-contacts h1,
    .my-social-media h1,
    .resources h1,
    .if-you-missed h1 {
        font-size: 2rem;
    }
    .my-contacts a,
    .my-social-media a,
    .resources a,
    .if-you-missed a {
        font-size: 1.25rem;
    }
    .my-contacts ul li,
    .my-social-media ul li,
    .resources ul li,
    .if-you-missed ul li {
        padding-bottom: 9%;
    }
    .copyright-container p, .privacy-policy-wrapper a {
        font-size: 0.875rem;
    }
    .item-button {
        top: 2.5rem;
        right: 2.25rem;
    }
    .overlay {
        background-image: none;
    }
    .button-wrap {
        width: 4.5rem;
        height: 3.70rem;
    }
    .button_container span {
        width: 2.25rem;
    }
    .menu-list {
        height: 43%;
        right: 0%;
    }
    .link-menu {
        font-size: 4.75rem;
    }
    .list-menu {
        text-align: left;
    }
    .overlay-menu {
        font-size: 1.25rem;
    }
    .project-wrap h1 {
        font-size: 1.75rem;
    }
    .project-wrap h2 {
        font-size: 1.125rem;
    }  
    .project-wrap p {
        font-size: 1rem;
    }
    .button-container {
        padding: 80px 0 20px 0;
    }
}

@media (min-width: 821px) and (max-width: 834px) and (max-height: 1210px) {
    .footer {
        height: 71vh;
    }
    .data-container {
        padding-left: 13%;
        padding-top: 20%;
    }
    .data-container ul {
        padding-left: 5%;
    }
}

@media (max-width: 820px) and (max-height: 1180px) {
    .footer-info-wrapper,
    .copyright-container {
        padding: 0 2rem;
    }
    .footer-info-wrapper {
        height: 95%;
    }
    .copyright-container {
        height: 5%;
    }
    .data-container {
        padding-left: 16%;
        padding-top: 35%;
    }
    .copyright-wrapper p {
        font-size: 1rem;
    }
    .my-contacts h1,
    .my-social-media h1,
    .resources h1,
    .if-you-missed h1 {
        font-size: 2rem;
    }
    .my-contacts a,
    .my-social-media a,
    .resources a,
    .if-you-missed a {
        font-size: 1.25rem;
    }
    .my-contacts ul li,
    .my-social-media ul li,
    .resources ul li,
    .if-you-missed ul li {
        padding-bottom: 9%;
    }
    .copyright-container p,
    .privacy-policy-wrapper a {
        font-size: 0.875rem;
    }
    .data-container {
        padding-left: 18%;
        padding-top: 40%;
    }
    h2, p {
        width: 75%;
    }
    .project-wrap {
        padding: 5rem 0;
    }
    .project-wrap h1 {
        font-size: 1.75rem;
    }
    .project-wrap h2 {
        font-size: 1.125rem;
    }  
    .project-wrap p {
        font-size: 1rem;
    }
}

@media (min-width: 801px) and (max-width: 820px) and (max-height: 1180px) {
    .footer {
        height: 80vh;
    }
    .data-container {
        padding-left: 18%;
        padding-top: 30%;
    }
    .data-container ul {
        padding-left: 5%;
    }
}

@media (max-width: 800px) and (max-height: 1280px) {
    .home-page-portfolio {
        padding: 0 2rem;
    }
    .section-container-portfolio {
        padding: 2rem 0 2.5rem 0;
    }
    .item-logo-portfolio {
        height: 3.75rem;
    }
    .logo-wrap-portfolio a img {
        padding: 2%;
    }
    .item-button {
        right: 2rem;
        top: 2rem;
    }
    .button-wrap {
        width: 4.5rem;
        height: 4rem;
    }
    .data-container {
        padding-top: 40%;
    }
    .my-contacts h1, .my-social-media h1, .resources h1, .if-you-missed h1 {
        padding-bottom: 7%;
    }
    .resources::after {
        width: 80%;
        left: 45%;
    }
    .my-social-media::after {
        width: 80%;
        left: 55%;
    }
    .copyright-container p, .privacy-policy-wrapper a {
        font-size: 1rem;
    }
    .copyright-wrapper p {
        font-size: 1rem;
    }
    .my-contacts h1, .my-social-media h1, .resources h1, .if-you-missed h1 {
        font-size: 1.75rem;
    }
    .my-contacts a, .my-social-media a, .resources a, .if-you-missed a {
        font-size: 1.125rem;
    }
    .my-contacts ul li, .my-social-media ul li, .resources ul li, .if-you-missed ul li {
        padding-bottom: 8%;
    }
    .copyright-container p, .privacy-policy-wrapper a {
        font-size: 0.875rem;
    }
    .project-wrap {
        padding: 5rem 0;
    }
    .project-wrap h1 {
        font-size: 1.75rem;
    }
    .project-wrap h2 {
        font-size: 1.125rem;
    }  
    .project-wrap p {
        font-size: 1rem;
    }
    .button-container {
        padding: 85px 0 30px 0;
    }
}

@media (max-width: 800px) and (max-height: 1020px) {
    .item-logo-portfolio {
        height: 3.70rem;
    }
    .logo-wrap-portfolio {
        width: 10.5rem;
    }
    .button-wrap {
        width: 5rem;
        height: 4rem;
    }
    .button_container.active .top {
        transform: translateY(9px) translateX(0) rotate(45deg);
    }
    .data-container {
        padding-top: 35%;
    }
    .project-wrap {
        padding: 7rem 0;
    }
    .project-wrap h2,
    .project-wrap p {
        width: 72%;
    }
}

@media (max-width: 800px) and (max-height: 900px) {
    .button_container span {
        width: 3rem;
        height: 0.2rem;
    }
    .menu-list {
        height: 50%;
        right: 0%;
    }
    .link-menu {
        font-size: 4.5rem;
    }
    .project-wrap {
        padding: 6rem 0;
    }
    .data-container {
        padding-top: 35%;
    }
}

@media (max-width: 800px) and (max-height: 600px) {
    .home-page-portfolio {
        padding: 0 2.125rem;
    }
    .section-container-portfolio {
        padding: 1.5rem 0 2.5rem 0;
    }
    .item-logo-portfolio {
        height: 2.625rem;
    }
    .logo-wrap-portfolio {
        width: 6.75rem;
    }
    .item-button {
        right: 2.125rem;
        top: 1.5rem;
    }
    .overlay {
        background-image: url(../images/Button-background-image-800x600.webp);
    }
    .button-wrap {
        width: 3.25rem;
        height: 2.625rem;
    }
    .button_container span {
        height: 0.155rem;
        width: 2rem;
    }
    .menu-list {
        height: 50%;
        right: -19%;
    }
    .list-menu {
        text-align: right;
    }
    .link-menu {
        font-size: 3rem;
    }
    .overlay-menu {
        font-size: 0.825rem;
    }
    .data-container {
        padding-top: 18%;
    }
    .my-contacts ul li, .my-social-media ul li, .resources ul li, .if-you-missed ul li {
        padding-bottom: 7%;
    }
    .my-contacts h1, .my-social-media h1, .resources h1, .if-you-missed h1 {
        padding-bottom: 6%;
    }
    .project-wrap {
        padding: 4rem 0;
    }
}

@media (max-width: 800px) and (max-height: 414px) {
    .data-container {
        padding-top: 8%;
    }
    .my-contacts h1, .my-social-media h1, .resources h1, .if-you-missed h1 {
        padding-bottom: 4%;
    }
    .my-contacts ul li, .my-social-media ul li, .resources ul li, .if-you-missed ul li {
        padding-bottom: 4%;
    }
    .my-contacts a, .my-social-media a, .resources a, .if-you-missed a {
        font-size: 1rem;
    }
    .copyright-container p, .privacy-policy-wrapper a {
        font-size: 0.75rem;
    }
    .menu-list {
        height: 66%;
        right: -19%;
    }
    .link-menu {
        letter-spacing: 0.06rem;
    }
}

@media (max-width: 800px) and (max-height: 360px) {
    .overlay-menu {
        font-size: 0.75rem;
    }
    .link-menu {
        letter-spacing: 0.075rem;
        font-size: 2.75rem;
    }
    .smlmenu-container {
        margin-top: 1rem;
    }
    .footer-info-wrapper {
        height: 93%;
    }
    .copyright-container {
        height: 7%;
    }
    .my-contacts h1, .my-social-media h1, .resources h1, .if-you-missed h1 {
        font-size: 1.5rem;
        padding-bottom: 3%;
    }
    .my-contacts ul li, .my-social-media ul li, .resources ul li, .if-you-missed ul li {
        padding-bottom: 3%;
    }
    .my-contacts a, .my-social-media a, .resources a, .if-you-missed a {
        font-size: 0.892rem;
    }
    .copyright-container p, .privacy-policy-wrapper a {
        font-size: 0.7125rem;
    }
}

@media (max-width: 768px) and (max-height: 1024px) {
    .home-page-portfolio {
        padding: 0 2rem;
    }
    .section-container-portfolio {
        padding: 2.25rem 0 2.75rem 0;
    }
    .logo-wrap-portfolio {
        width: 10.5rem;
    }
    .item-button {
        top: 2.25rem;
        right: 2rem;
    }
    .overlay {
        background-image: url(../images/Button-background-image-768x1024.webp);
    }
    .menu-list {
        height: 42%;
        width: 40%;
    }
    .link-menu {
        font-size: 3.75rem;
    }
    .overlay-menu {
        font-size: 1.063rem;
    }
    .button-wrap {
        width: 4.5rem;
        height: 3.75rem;
    }
    .button_container span {
        width: 2.75rem;
        height: 0.19rem;
    }
    .middle {
        margin: 0.325rem 0;
    }
    .data-container {
        padding-top: 40%;
    }
    .project-wrap {
        padding: 5rem 0;
    }
    .project-wrap h2, .project-wrap p {
        width: 75%;
    }
}

@media (min-width: 745px) and (max-width: 768px) and (max-height: 1024px) {
    .footer {
        height: 75vh;
    }
    .data-container {
        padding-top: 25%;
        padding-left: 13%;
    }
    .data-container ul {
        padding-left: 5%;
    }
}

@media (min-width: 741px) and (max-width: 744px) and (max-height: 1133px) {
    .footer {
        height: 70vh;
    }
    .data-container {
        padding-top: 20%;
        padding-left: 14%;
    }
    .data-container ul {
        padding-left: 5%;
    }
}

@media (max-width: 740px) and (max-height: 360px) {
    .data-container {
        padding-top: 7%;
    }
}

@media (max-width: 732px) and (max-height: 432px) {
    .data-container {
        padding-top: 8%;
    }
    .my-contacts h1, .my-social-media h1, .resources h1, .if-you-missed h1 {
        padding-bottom: 5%;
        font-size: 1.5rem;
    }
    .my-contacts a, .my-social-media a, .resources a, .if-you-missed a {
        font-size: 1rem;
    }
    .copyright-container p, .privacy-policy-wrapper a {
        font-size: 0.75rem;
    }
    .menu-list {
        height: 70%;
        right: 0%;
    }
    .link-menu {
        font-size: 2.75rem;
    }
    .list-menu {
        text-align: left;
    }
    .smlmenu-container {
        margin-top: 1rem;
    }
    .overlay-menu {
        font-size: 0.725rem;
    }
}

@media (min-width: 668px) and (max-width: 712px) and (max-height: 1138px) {
    .footer {
        height: 70vh;
    }
    .data-container {
        padding-top: 28%;
        padding-left: 14%;
    }
    .data-container ul {
        padding-left: 5%;
    }
}

@media (max-width: 667px) and (max-height: 1000px) {
    .item-button {
        top: 2rem;
        right: 1.75rem;
    }
    .button-wrap {
        width: 4rem;
        height: 3.5rem;
    }
    .button_container span {
        width: 2.5rem;
    }
    .menu-list {
        height: 40%;
        right: 0%;
    }
    .link-menu {
        font-size: 3.5rem;
    }
    .list-menu {
        text-align: left;
    }
    .overlay-menu {
        font-size: 1rem;
    }
    .section-container-portfolio {
        padding: 2rem 0 2.5rem 0;
    }
    .home-page-portfolio {
        padding: 0 1.75rem;
    }
    .item-logo-portfolio {
        height: 3.5rem;
    }
    .logo-wrap-portfolio {
        width: 9rem;
    }
    .my-contacts a, .my-social-media a, .resources a, .if-you-missed a {
        font-size: 1.125rem;
    }
    .my-contacts h1, .my-social-media h1, .resources h1, .if-you-missed h1 {
        font-size: 1.75rem;
    }
    .copyright-container p, .privacy-policy-wrapper a {
        font-size: 0.85rem;
    }
    .data-container {
        padding-top: 40%;
        padding-left: 13%;
    }
    .project-wrap {
        padding: 6rem 0;
    }
    .project-wrap h2, .project-wrap p {
        width: 85%;
    }
}

@media (max-width: 667px) and (max-height: 375px) {
    .data-container {
        padding-top: 9%;
    }
    .my-contacts h1, .my-social-media h1, .resources h1, .if-you-missed h1 {
        padding-bottom: 4%;
        font-size: 1.5rem;
    }
    .my-contacts a, .my-social-media a, .resources a, .if-you-missed a {
        font-size: 0.875rem;
    }
    .copyright-container p, .privacy-policy-wrapper a {
        font-size: 0.75rem;
    }
    .menu-list {
        height: 70%;
    }
    .link-menu {
        font-size: 2.75rem;
    }
    .overlay-menu {
        font-size: 0.725rem;
    }
}

@media (max-width: 640px) and (max-height: 390px) {
    .data-container {
        padding-top: 9%;
    }
    .my-contacts h1, .my-social-media h1, .resources h1, .if-you-missed h1 {
        padding-bottom: 4%;
        font-size: 1.5rem;
    }
    .my-contacts a, .my-social-media a, .resources a, .if-you-missed a {
        font-size: 0.875rem;
    }
    .copyright-container p, .privacy-policy-wrapper a {
        font-size: 0.75rem;
    }
    .menu-list {
        height: 70%;
    }
    .link-menu {
        font-size: 2.75rem;
    }
    .overlay-menu {
        font-size: 0.725rem;
    }
}

@media (max-width: 600px) and (max-height: 1280px) {
    .footer-info-wrapper,
    .copyright-container {
        padding: 0 5%;
    }
    .footer-info-left-wrapper {
        display: flex;
        flex-direction: column;
        padding: 0;
    }
    .my-contacts,
    .my-social-media,
    .resources {
        border-bottom: 1px solid #1c2c58;
    }
    .data-container {
        padding-left: 3%;
        padding-top: 0;
        justify-content: center;
        align-items: flex-start;
    }
    .data-container ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding-left: 3%;
    }
    .my-contacts h1,
    .my-social-media h1,
    .resources h1,
    .if-you-missed h1 {
        font-size: 2.25rem;
        padding-bottom: 3%;
    }
    .my-contacts ul li,
    .my-social-media ul li,
    .resources ul li,
    .if-you-missed ul li {
        padding-bottom: 11%;
    }
    .my-contacts a,
    .my-social-media a,
    .resources a,
    .if-you-missed a {
        font-size: 1.5rem;
    }
    .my-contacts::after,
    .my-social-media::after,
    .resources::after,
    .if-you-missed::after {
        display: none;
    }
    .copyright-container {
        flex-direction: column;
        justify-content: center;
    }
    .copyright-wrapper,
    .privacy-policy-wrapper {
        justify-content: center;
        height: 30%;
    }
    .copyright-container p,
    .privacy-policy-wrapper a {
        font-size: 1rem;
    }
    .my-contacts h1, .my-social-media h1, .resources h1, .if-you-missed h1 {
        font-size: 2rem;
        padding-bottom: 5%;
    }
    .my-contacts ul li, .my-social-media ul li, .resources ul li, .if-you-missed ul li {
        padding-bottom: 15%;
    }
    .my-social-media .data-container ul li:last-child,
    .resources .data-container ul li:last-child,
    .if-you-missed .data-container ul li:last-child {
        padding-bottom: 0;
    }
    .my-social-media .data-container ul li:last-child a,
    .resources .data-container ul li:last-child a,
    .if-you-missed .data-container ul li:last-child a {
        padding: 0;
    }
    .my-contacts a, .my-social-media a, .resources a, .if-you-missed a {
        font-size: 1.25rem;
    }
    .data-container ul .email, .data-container ul .telephone {
        padding-bottom: 12%;
    }
    .telephone a, .telephone2 a {
        font-size: 1.125rem;
    }
    .data-container ul .telephone2 {
        padding-bottom: 0;
    }
    .copyright-wrapper, .privacy-policy-wrapper {
        height: 20%;
    }
    .privacy-policy-wrapper a {
        padding: 0% 2%;
    }
    .project-wrap {
        padding: 2rem 0;
    }
    .divider {
        margin: 1.75rem 0;
        align-self: flex-start;
    }
    .project-wrap h2, .project-wrap p {
        width: 97%;
        text-align: left;
    }
    .image-details {
        margin: 0.85rem auto 0rem auto;
    }
}

@media (max-width: 600px) and (max-height: 1024px) {
    .home-page-portfolio {
        padding: 0 1.5rem;
    }
    .section-container-portfolio {
        padding: 1.75rem 0 2.25rem 0;
    }
    .item-logo-portfolio {
        height: 3.25rem;
    }
    .logo-wrap-portfolio {
        width: 8.5rem;
    }
    .footer-info-wrapper,
    .copyright-container {
        padding: 0 4%;
    }
    .my-contacts h1,
    .my-social-media h1,
    .resources h1,
    .if-you-missed h1 {
        font-size: 2rem;
        padding-bottom: 2%;
    }
    .my-contacts ul li,
    .my-social-media ul li,
    .resources ul li,
    .if-you-missed ul li {
        padding-bottom: 10%;
    }
    .my-contacts a,
    .my-social-media a,
    .resources a,
    .if-you-missed a {
        font-size: 1.25rem;
    }
    .copyright-wrapper,
    .privacy-policy-wrapper {
        height: 20%;
    }
    .copyright-container p, .privacy-policy-wrapper a {
        font-size: 0.9rem;
    }
    .data-container ul .email, .data-container ul .telephone {
        padding-bottom: 7%;
    }
    .item-button {
        top: 1.75rem;
        right: 1.5rem;
    }
    .button-wrap {
        width: 4rem;
        height: 3.25rem;
    }
    .button_container span {
        width: 2.25rem;
        height: 0.175rem;
    }
    .menu-list {
        height: 43%;
        right: 0%;
        width: 65%;
    }
    .link-menu {
        font-size: 4rem;
    }
    .list-menu {
        text-align: left;
    }
    .overlay-menu {
        font-size: 1.075rem;
    }
}

@media (max-width: 600px) and (max-height: 960px) {
    .my-contacts ul li, .my-social-media ul li, .resources ul li, .if-you-missed ul li {
        padding-bottom: 8%;
    }
    .my-contacts ul li, .my-social-media ul li, .resources ul li, .if-you-missed ul li {
        padding-bottom: 15%;
    }
}

@media (max-width: 600px) and (max-height: 800px) {
    .menu-list {
        height: 50%;
    }
    .my-contacts ul li, .my-social-media ul li, .resources ul li, .if-you-missed ul li {
        padding-bottom: 5%;
    }
    .my-contacts h1, .my-social-media h1, .resources h1, .if-you-missed h1 {
        font-size: 2rem;
        padding-bottom: 1%;
    }
    .copyright-wrapper, .privacy-policy-wrapper {
        height: 15%;
    }
    .data-container ul .email, .data-container ul .telephone {
        padding-bottom: 6%;
    }
    .my-contacts ul li,
    .my-social-media ul li,
    .resources ul li,
    .if-you-missed ul li {
        padding-bottom: 8%;
    }
    .project-wrap {
        padding: 4rem 0;
    }
}

@media (max-width: 575px) and (max-height: 320px) {
    .menu-list {
        height: 70%;
    }
    .link-menu {
        font-size: 2.75rem;
    }
    .smlmenu-container {
        display: none;
    }
    .footer {
        height: 100%;
    }
    .data-container {
        padding-top: 6%;
        padding-bottom: 6%;
    }
    .my-contacts h1, .my-social-media h1, .resources h1, .if-you-missed h1 {
        padding-bottom: 3%;
        font-size: 1.5rem;
    }
    .my-contacts a, .my-social-media a, .resources a, .if-you-missed a {
        font-size: 0.875rem;
    }
    .footer-info-wrapper, .copyright-container {
        padding: 2% 4%;
    }
}

@media (max-width: 530px) and (max-height: 940px) {
    .item-button {
        top: 2rem;
        right: 1.75rem;
    }
    .button-wrap {
        width: 4rem;
        height: 3.5rem;
    }
    .button_container span {
        width: 2.5rem;
    }
    .menu-list {
        height: 40%;
        right: 0%;
        width: 66%;
    }
    .link-menu {
        font-size: 3.5rem;
    }
    .list-menu {
        text-align: left;
    }
    .overlay-menu {
        font-size: 1rem;
    }
    .home-page-portfolio {
        padding: 0 1.75rem;
    }
    .section-container-portfolio {
        padding: 2rem 0 2.5rem 0;
    }
    .item-logo-portfolio {
        height: 3.5rem;
    }
    .logo-wrap-portfolio {
        width: 9.5rem;
    }
    .my-contacts h1, .my-social-media h1, .resources h1, .if-you-missed h1 {
        font-size: 1.9rem;
        padding-bottom: 2%;
    }
    .my-contacts ul li, .my-social-media ul li, .resources ul li, .if-you-missed ul li {
        padding-bottom: 13%;
    }
    .data-container ul .email, .data-container ul .telephone {
        padding-bottom: 6%;
    }
}

@media (max-width: 480px) and (max-height: 930px) {
    .home-page-portfolio {
        padding: 0 1.75rem;
    }
    .section-container-portfolio {
        padding: 2rem 0 2.5rem 0;
    }
    .item-logo-portfolio {
        height: 3.5rem;
    }
    .logo-wrap-portfolio {
        width: 9.5rem;
    }
    .footer-info-wrapper,
    .copyright-container {
        padding: 0 5%;
    }
    .my-contacts a,
    .my-social-media a,
    .resources a,
    .if-you-missed a {
        font-size: 1.125rem;
    }
    .copyright-container p,
    .privacy-policy-wrapper a {
        font-size: 0.875rem;
    }
    .my-contacts h1,
    .my-social-media h1,
    .resources h1,
    .if-you-missed h1 {
        font-size: 1.75rem;
        padding-bottom: 3%;
    }
    .my-contacts ul li,
    .my-social-media ul li,
    .resources ul li, .if-you-missed ul li {
        padding-bottom: 15%;
    }
    .resources .data-container ul li {
        padding-bottom: 5%;
    }
    .project-wrap h1 {
        font-size: 1.6rem;
    }
    .project-wrap h2, .project-wrap p {
        width: 100%;
    }
}

@media (max-width: 432px) and (max-height: 932px) {
    .item-button {
        top: 1.75rem;
        right: 1.25rem;
    }
    .button-wrap {
        width: 3.5rem;
        height: 2.75rem;
    }
    .button_container span {
        width: 1.95rem;
        height: 0.175rem;
    }
    .home-page-portfolio {
        padding: 0 1.25rem;
    }
    .section-container-portfolio {
        padding: 1.75rem 0 2.25rem 0;
    }
    .item-logo-portfolio {
        height: 2.75rem;
    }
    .logo-wrap-portfolio {
        width: 7.5rem;
    }
    .project-wrap h1 {
        font-size: 1.5rem;
    }
    .project-wrap h2,
    .project-wrap p {
        width: 100%;
    }
    .button-container {
        justify-content: center;
        padding: 13% 0 3% 0;
    }
    #button-3 {
        margin: 4% 0%;
    }
    .button-ripple {
        margin: 4% 0;
    }
    .my-contacts a,
    .my-social-media a,
    .resources a,
    .if-you-missed a {
        font-size: 1.125rem;
    }
    .project-wrap h2, .project-wrap p {
        width: 100%;
        line-height: 1.6;
        text-align: left;
    }
}

@media (max-width: 432px) and (max-height: 732px) {
    .home-page-portfolio {
        padding: 0 1.25rem;
    }
    .section-container-portfolio {
        padding: 1.75rem 0 2.25rem 0;
    }
    .item-logo-portfolio {
        height: 2.75rem;
    }
    .logo-wrap-portfolio {
        width: 7.5rem;
    }
    .menu-list {
        height: 46%;
    }
    .link-menu {
        font-size: 3rem;
    }
    .overlay-menu {
        font-size: 0.75rem;
    }
    .my-contacts ul li,
    .my-social-media ul li,
    .resources ul li,
    .if-you-missed ul li {
        padding-bottom: 6%;
    }
    .my-contacts h1,
    .my-social-media h1,
    .resources h1,
    .if-you-missed h1 {
        font-size: 1.75rem;
    }
    .data-container ul .email,
    .data-container ul .telephone {
        padding-bottom: 4%;
    }
    .my-contacts h1,
    .my-social-media h1,
    .resources h1,
    .if-you-missed h1 {
        padding-bottom: 2%;
    }
    .project-wrap {
        padding: 3rem 0;
    }
    .image-details {
        margin: 0.85rem auto 2rem auto;
    }
    .button-container {
        padding: 10% 0 3% 0;
    }
}

@media (max-width: 414px) and (max-height: 800px) {
    .copyright-container p, .privacy-policy-wrapper a {
        font-size: 0.8rem;
    }
    .my-contacts h1, .my-social-media h1, .resources h1, .if-you-missed h1 {
        font-size: 1.5rem;
    }
    .my-contacts a, .my-social-media a, .resources a, .if-you-missed a {
        font-size: 1rem;
    }
}

@media (max-width: 412px) and (max-height: 915px) {
    .home-page-portfolio {
        padding: 0 1.25rem;
    }
    .section-container-portfolio {
        padding: 1.75rem 0 2.25rem 0;
    }
    .item-logo-portfolio {
        height: 2.75rem;
    }
    .logo-wrap-portfolio {
        width: 7.5rem;
    }
    .project-wrap {
        padding: 2rem 0;
    }
    .image-details {
        margin: 0.5rem auto 0rem auto;
    }
    .project-image-wrap {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 412px) and (max-height: 846px) {
    .project-image-wrap {
        margin-bottom: 0.5rem;
    }
    .project-image-wrap-hero {
        margin-bottom: 0rem;
    }
}

@media (max-width: 412px) and (max-height: 800px) {
    .item-logo-portfolio {
        height: 3rem;
    }
    .logo-wrap-portfolio {
        width: 8rem;
    }
    .menu-list {
        height: 45%;
    }
    .button-wrap {
        width: 3.75rem;
        height: 3rem;
    }
}

@media (max-width: 390px) and (max-height: 860px) {
    .item-logo-portfolio {
        height: 3rem;
    }
    .logo-wrap-portfolio {
        width: 8rem;
    }
    .button-wrap {
        width: 3.75rem;
        height: 3rem;
    }
    .project-wrap {
        padding: 3rem 0;
        align-items: last baseline;
        justify-content: left;
    }
    .project-wrap h1 {
        font-size: 1.5rem;
    }
    .project-wrap h2,
    .project-wrap p {
        font-size: 1rem;
        text-align: left;
    }
    .divider {
        margin: 1.5rem 0;
    }
    .my-contacts a,
    .my-social-media a,
    .resources a,
    .if-you-missed a {
        font-size: 1rem;
    }
    .my-contacts h1,
    .my-social-media h1,
    .resources h1,
    .if-you-missed h1 {
        font-size: 1.5rem;
    }
    .copyright-container p, .privacy-policy-wrapper a {
        font-size: 0.8rem;
    }
}

@media (max-width: 390px) and (max-height: 700px) {
    .menu-list {
        height: 50%;
    }
}

@media (max-width: 390px) and (max-height: 640px) {
    .item-logo-portfolio {
        height: 2.75rem;
    }
    .logo-wrap-portfolio {
        width: 7.5rem;
    }
    .link-menu {
        font-size: 3rem;
    }
    .button-wrap {
        width: 3.5rem;
        height: 2.75rem;
    }
    .button_container span {
        width: 2rem;
        height: 0.15rem;
    }
    .project-wrap {
        padding: 2rem 0;
    }
    .copyright-container p, .privacy-policy-wrapper a {
        font-size: 0.65rem;
    }
}

@media (max-width: 384px) and (max-height: 854px) {
    .project-image-wrap {
        margin-bottom: 0.5rem;
    }
    .project-image-wrap-hero {
        margin-bottom: 0rem;
    }
}

@media (max-width: 375px) and (max-height: 667px) {
    .button-wrap {
        width: 3.25rem;
        height: 2.5rem;
        box-shadow: 0.3rem 0.3rem 0 0 rgba(28, 44, 88, 0.75);
    }
    .button_container span {
        width: 2rem;
        height: 0.15rem;
    }
    .section-container-portfolio {
        padding: 1.75rem 0 2.25rem 0;
    }
     .home-page-portfolio {
        padding: 0 1.25rem;
    }
     .item-logo-portfolio {
        height: 2.5rem;
    }
    .logo-wrap-portfolio {
        width: 7.25rem;
    }
    .project-wrap {
        padding: 2rem 0;
    }
    .copyright-container p, .privacy-policy-wrapper a {
        font-size: 0.65rem;
    }
}

@media (max-width: 360px) and (max-height: 800px) {
    .home-page-portfolio {
        padding: 0 1.5rem;
    }
    .section-container-portfolio {
        padding: 1.25rem 0 1.75rem 0;
    }
    .item-button {
        top: 1.25rem;
        right: 1.5rem;
    }
    .button-wrap {
        box-shadow: 0.3rem 0.3rem 0 0 rgba(28, 44, 88, 0.75);
    }
    .menu-list {
        height: 42%;
    }
    .link-menu {
        font-size: 2.85rem;
    }
    .overlay-menu {
        font-size: 0.8rem;
    }
    .button_container span {
        width: 2rem;
        height: 0.15rem;
    }
    .project-wrap {
        padding: 3rem 0;
    }
    .copyright-container p, .privacy-policy-wrapper a {
        font-size: 0.65rem;
    }
}

@media (max-width: 360px) and (max-height: 740px) {
    .home-page-portfolio {
        padding: 0 1.35rem;
    }
    .footer-info-wrapper,
    .copyright-container {
        padding: 0 7%;
    }
    .copyright-wrapper,
    .privacy-policy-wrapper {
        height: 32%;
    }
    .copyright-wrapper, .privacy-policy-wrapper {
        height: 15%;
    }
    .my-contacts a, .my-social-media a, .resources a, .if-you-missed a {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) and (max-height: 680px) {
    .button-wrap {
        width: 3.5rem;
        height: 2.75rem;
    }
    .item-logo-portfolio {
        height: 2.75rem;
    }
    .logo-wrap-portfolio {
        width: 7.5rem;
    }
    .my-contacts h1,
    .my-social-media h1,
    .resources h1,
    .if-you-missed h1 {
        font-size: 1.25rem;
    }
    .my-contacts ul li,
    .my-social-media ul li,
    .resources ul li,
    .if-you-missed ul li {
        padding-bottom: 5%;
    }
    .my-contacts a,
    .my-social-media a,
    .resources a,
    .if-you-missed a {
        font-size: 0.75rem;
    }
    .my-contacts a,
    .my-social-media a,
    .resources a,
    .if-you-missed a {
        font-size: 0.9rem;
    }
}
@media (max-width: 320px) and (max-height: 575px) {
    .project-wrap {
        padding: 1.5rem 0;
    }
    .smlmenu-container {
        display: none;
    }
}

@media (max-width: 240px) and (max-height: 320px) {
    .home-page-portfolio {
        padding: 0 1rem;
    }
    .section-container-portfolio {
        padding: 1rem 0 1.5rem 0;
    }
    .item-logo-portfolio {
        height: 2rem;
    }
    .logo-wrap-portfolio {
        width: 5.25rem;
    }
    .item-button {
        right: 1rem;
        top: 1rem;
    }
    .button-wrap {
        width: 2.5rem;
        height: 2rem;
        box-shadow: 0.2rem 0.2rem 0 0 rgba(28, 44, 88, 0.75);
    }
    .button_container span {
        height: 0.125rem;
        width: 1.5rem;
    }
    .middle {
        margin: 0.25rem 0;
    }
    .button_container.active .bottom {
        transform: translateY(-7px) translateX(0) rotate(-45deg);
    }
    .button_container.active .top {
        transform: translateY(5px) translateX(0) rotate(45deg);
    }
    .menu-list {
        height: 62%;
    }
    .link-menu {
        font-size: 2.125rem;
    }
    .overlay-menu {
        font-size: 0.65rem;
    }
    .smlmenu-container {
        display: none;
    }
    .footer {
        height: 700px;
    }
    .copyright-container {
        height: 80px;
    }
    .privacy-policy-wrapper {
        flex-direction: column;
    }
    .privacy-policy-wrapper a {
        padding-left: 0;
        padding-top: 0.35rem;
    }
    .copyright-container p,
    .privacy-policy-wrapper a {
        font-size: 0.6rem;
    }
    .my-contacts a,
    .my-social-media a,
    .resources a,
    .if-you-missed a {
        font-size: 0.8rem;
    }
}

/* Mobile: keep prev/next buttons side by side */
@media (max-width: 600px) {
    .button-container {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 12px;
    }
    .button-container .button,
    .button-container #button-3 {
        flex: 0 1 calc(50% - 6px);
        width: auto;
        min-width: 0;
        height: 52px;
        margin: 0;
        font-size: 0.7em;
        letter-spacing: 1px;
    }
    .button-container .button a {
        text-align: center;
        letter-spacing: 0.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .overlay.open li,
    .button_container span,
    .link-menu:after,
    .social-media-link-menu:after {
        transition: none !important;
        animation: none !important;
    }
}
