html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    font-family: 'Rubik', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #232323;
    color: #ddddddbb;
}

.backgroundImg-Container {   
    background-image: url('images/image_LE_upscale_balanced_x4.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% auto;
    background-position: 90% center;
    position: relative;
    z-index: 0;
}

#introTextContainer {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: .5fr 1fr 1.5fr 3fr;
    grid-template-columns: 0.2fr 1.5fr 1fr;
}

#introText {
    grid-row: 2;
    grid-column: 2;
    color: #2c2c2c;
    font-size: 3em;
    text-align: center;
}

.skills {
    grid-row: 3;
    grid-column: 2;
    font-size: 1.3em;
    color: #2c2c2c;
    text-align: center;
}

.skills h3 {
    font-size: 2.5rem;
    line-height: 1.3;
    font-weight: 400;
}

.icon-Container ul {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0;
    list-style: none;
    max-width: 450px;
    margin: 0 auto;
}

.icon-Container li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.589);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon {
    border: 2px solid rgba(99, 99, 99, 0);
}

.icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.icon:hover {
    transform: scale(1.1);
    border: 2px solid rgb(99, 99, 99);
    box-shadow: 0 0 10px rgb(99, 99, 99);
}

#introText,
.skills {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#projects {
    padding: 4em 10%;
    position: relative;
    z-index: 1;
    background-color: #232323;
    color: #ddd;
    padding-bottom: 25em;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 20vh));
}

#projects h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 2em;
    color: #fff;
}

.project-section {
    background-color: #121212;
    border-radius: 4px;
}

.project-section h3 {
    font-size: 1.6em;
    text-align: center;
    color: #fff;
    padding-top: 1em;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.projectContainer {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 3em;
    margin-top: 2em;
}

.projectBox {
    background-color: #333;
    border-radius: 8px;
    padding: 1em;
    width: calc(33% - 1.33em);
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.projectBox:hover {
    transform: scale(1.05);
}

.projectBox img {
    max-width: 100%;
    border-radius: 8px;
    margin: 0px;
    padding: 0;
    transition: transform 0.3s ease;
}

.projectBox img:hover {
    cursor: pointer;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

.projectBox p {
    font-size: 1em;
    color: #ccc;
    line-height: 1.5;
    margin-top: 1em;
}

#coming_soon {
    /*display: none;*/
    background: linear-gradient(145deg, #1a1a1a, #292929);
    border: 2px solid #ff9900;
    border-radius: 8px;
    padding: 2em;
    margin-top: 3em;
    box-shadow: 0 0 20px rgba(255, 153, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

#coming_soon::before {
    content: "🚧 New Projects Incoming";
    position: absolute;
    top: -0.1em;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff9900;
    color: #000;
    padding: 0.4em 0.8em;
    font-size: 0.9em;
    font-weight: bold;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    z-index: 3;
}

#coming_soon h3 {
    color: #ffb74d;
    text-shadow: 1px 1px 4px #000;
    font-weight: bold;
    font-size: 1.8em;
    letter-spacing: 3px;
}

#coming_soon .projectBox {
    border: 2px dashed #ffa726;
    background: #2c2c2c;
}
#about {
    text-align: center;
    padding: 8em 10%;
    padding-top: 10em;
    background-color: #ece9e9;
    background-image: url('./images/texture1-BIfcA3Zc.png');
    background-size: cover;
    background-repeat: no-repeat;
    color: #000000;
    margin-top: -10em;
}

#about h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 1em;
    color: #000000;
}

#about p {
    font-size: 1.3em;
    line-height: 1.8;
}

#resume {
    background-color: #232323;
    color: #fff;
    padding: 4em 10%;
    text-align: center;
}

#resume h2 {
    font-size: 2.5em;
    margin-bottom: 1.5em;
}

.resume-container {
    position: relative;
    display: inline-block;
}

#resume img {
    max-width: 550px;
    margin: 2em 0;
    border-radius: 8px;
}

#resume a {
    position: absolute;
    top: -1.5em;
    left: 0;
    background-color: #ffffffb4;
    height: 45px;
    width: 45px;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

#resume a img {
    width: 34px;
    height: auto;
}

#resume a:hover {
    cursor: pointer;
    background-color: #53b1fd9f;
}

@supports (-webkit-touch-callout: none) {
    .backgroundImg-Container {
        background-size: cover
    }
}

@media (max-width: 1200px) {

    .backgroundImg-Container {
        background-size: cover;
    }

    #introTextContainer {
        grid-template-rows: 1fr 2fr 4fr 3.5fr;
        grid-template-columns: .3fr 2fr .3fr;

    }

    #introText {
        grid-row: 2;
        grid-column: 2;
        font-size: 2.5em;
    }

    .skills {
        grid-row: 3;
        grid-column: 2;
        font-size: 1em;
        padding: 5px;
    }

    .icon-Container ul {
        flex-wrap: wrap;
    }

    #projects {
        padding: 1em 5%;
        padding-bottom: 20em;
    }

    #projects h2 {
        font-size: 1.8em;
        margin-bottom: 1em;
    }

    .project-section h3 {
        font-size: 1.3em;
        padding-top: 1.5em;
        letter-spacing: 2px;
    }

    .projectBox {
        width: 40%;
        background-color: #424242; 
    }

    .projectBox:hover,
    .projectBox img:hover {
        transform: scale(1.03);
    }

    #resume {
        padding: 1em;
    }

    #resume h2 {
        font-size: 2em;
        margin-bottom: 1em;
    }
}

@media (max-width: 768px) {

    .skills h3 {
        font-size: 2.1rem;
    }

    .projectContainer {
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 2em;
        padding: 1em;
        padding-bottom: 3em;
    }

    .projectBox {
        width: 95%;
        align-self: center;
    }

    .projectBox:hover {
        transform: scale(1.03);
    }

    #resume img {
        max-width: 100%;
    }

}