body, html {
    box-sizing: border-box;
    color: rgb(244, 244, 244);
    background-color: rgb(21, 21, 21);
    font-size: 15px;
    font-family: "Courier New", Courier, monospace;
    font-weight: 100;
    overflow-x: hidden;
}

root {
    font-size: 30px;
}

audio, canvas, iframe, img, svg, video {
    vertical-align: middle;
    fill: white;
}

img {
    border-style: none;
}

article, aside, header, nav, section {
    display: block;
}

footer {
    text-align: center;
}

ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}

a {
    background-color: transparent;
}

.header {
    width: 100%;
    height: 10vh;
    display: inline-block;
    margin-top: 40px;
    padding: 0px 60px
}

.header__row {
    list-style-type: none;
    text-align: right;
}

.header__list {
    display: inline-block;
    margin-left: 60px;
}

.header__list a {
    cursor: pointer;
    font-size: 160%;
    color: #5f967c;
    letter-spacing: .1em;
    text-decoration: none;
    transition: all .25s 
ease-in-out 1ms;
}

.header__logo-svg img {
    height: 80px;
    width: auto;
    float: left;
}

.header__logo-name {
    position: absolute;
    color: transparent;
    cursor: default;
}

#menuIcon {
    width: 10%;
    padding-left: 1vw;
}


.header-menu > li > a {
    text-decoration: none;
}

.row__header {
    background-color:  whitesmoke;
}

.main-hero {
    width: 100vw;
    background-image: url(DSC01078-Enhanced-NR.jpg);
    height: 50vh;
    background-position: unset;
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'Playfair Display', 'Merriweather', Georgia, 'Times New Roman', Times, serif;
}

.hero-text-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.special-word {
    font-family: 'Playfair Display', 'Merriweather', Georgia, 'Times New Roman', Times, serif;
    color: #2a9d8f;
    font-size: 1.5em;
}

.main-hero > .hero-text-box > p {
    padding-left: 3vw;
    font-size: 48px;
}

.main-skills {
    margin-bottom: 30px;
}

.main-skills__title {
    font-size: 2.4rem;
    margin-top: 20px;
    margin-bottom: 5px;
    padding: 0 60px 40px 60px;
    font-family: 'Playfair Display', 'Merriweather', Georgia, 'Times New Roman', Times, serif;
}

.svg-skill {
    fill: white;
    transition: fill 0.2s;
}

.skill-icon {
    display: inline-block;
    margin: 0 10px;
    cursor: pointer;
}

.skill-icon .svg-skill,
.skill-icon span {
    min-width: 60px;
    width: 140px;
    font-size: 140px;
    fill: white;
    color: white;
    transition: fill 0.2s, color 0.2s;
    vertical-align: middle;
}

.skill-icon:hover .svg-skill,
.skill-icon:hover span {
    fill: #2a9d8f;
    color: #2a9d8f;
}

.main-work {
    background-color: #5F967C;
    padding-top: 5px;
}

.main-work__title {
    font-size: 2.4rem;
    margin-top: 5px;
    margin-bottom: 2px;
    padding: 0 60px 1vw 60px;
    font-family: 'Playfair Display', 'Merriweather', Georgia, 'Times New Roman', Times, serif;
}

.portfolio-item img {
    filter: grayscale(100%);
    transition: filter 0.6s ease;
}

.portfolio-item:hover img {
    filter: grayscale(0%);
}

.portfolio-item {
    position: relative;
    display: block;
    overflow: hidden;
}

.portfolio-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(21, 21, 21, 0.8);
    color: #fff;
    padding: 0.5em 1em;
    border-radius: 0.2em;
    opacity: 0;
    transition: opacity 0.4s, transform 0.4s;
    pointer-events: none;
    text-align: center;
    font-size: 1.1em;
}

.portfolio-item:hover .portfolio-text {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

.main-about__title {
    font-size: 2.4rem;
    margin-top: 5px;
    margin-bottom: 2px;
    padding: 0 60px 1vw 60px;
    font-family: 'Playfair Display', 'Merriweather', Georgia, 'Times New Roman', Times, serif;
}

.profession {
    font-size: 20px;
    font-family: 'Playfair Display', 'Merriweather', Georgia, 'Times New Roman', Times, serif;
}

.hero-about-text {
    position: relative;
    left: -100px;
    opacity: 0;
    transition: left 0.6s ease, opacity 0.6s ease;
    padding: 0 60px 1vw 60px;
}

.main-about:hover .hero-about-text,
.main-about:focus-within .hero-about-text {
    left: 0;
    opacity: 1;

}

.main-contact__title {
    font-size: 2.4rem;
    margin-top: 5px;
    margin-bottom: 2px;
    padding: 0 60px 1vw 60px;
    font-family: 'Playfair Display', 'Merriweather', Georgia, 'Times New Roman', Times, serif;
}

.contact-links > a {
    text-decoration: none;
    color: #5F967C;
    transition: fill 0.2s;
    padding: 0 60px .5vw 60px;
    font-size: 3rem;
}

@media (max-width: 1500px) {
    .skill-icon .svg-skill,
    .skill-icon span {
        min-width: 60px;
        width: 110px;
        font-size: 110px;
        fill: white;
        color: white;
        transition: fill 0.2s, color 0.2s;
        vertical-align: middle;
    }
}

@media (max-width: 1000px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        align-items: flex-start;
    }
    .header__nav-container {
        justify-content: center;
        width: 100%;
    }
    .header-row {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    .header__list a {
    font-size: 140%;
    }
    .skill-icon .svg-skill,
    .skill-icon i {
        min-width: 60px;
        width: 80px;
        font-size: 80px;
        fill: white;
        color: white;
        transition: fill 0.2s, color 0.2s;
        vertical-align: middle;
    }
}

@media (max-width: 720px) {
    .header {
    display: flex;
    justify-content: center; 
    align-items: center;     
    height: 80px;             
    }

    .header__logo-svg img {
    max-height: 200px; 
    margin-top: -20px;        
    width: auto;              
    display: block;          
}   
    .header__logo-name {
        font-size: 1em;
    }
    .header-row {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    .header__list a {
    font-size: 120%;
    }
    .header__nav-container {
        display: none;
    }
    .menu-icon {
        display: block;
    }
    header__logo-svg img {
    display: block;
    margin: auto auto;
    float: none; 
    }
    .main-hero > .hero-text-box > p {
    padding-left: 3vw;
    font-size: 2.4rem;
    }

    .main-hero {
        width: 100vw;
        background-image: url(DSC01078-Enhanced-NR.jpg);
        height: 50vh;
        background-position: unset;
        background-size: cover;
        background-repeat: no-repeat;
    }
    .main-skills__title {
        font-size: 1.6rem;
        margin-top: 10px;
        padding: 0 4vw;
        }
    .skill-icon .svg-skill,
    .skill-icon i {
        min-width: 60px;
        width: 60px;
        font-size: 60px;
        fill: white;
        color: white;
        transition: fill 0.2s, color 0.2s;
        vertical-align: middle;
    }
}