@import url('https://fonts.googleapis.com/css2?family=Condiment&family=Share+Tech+Mono&family=Syne+Mono&display=swap');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Share Tech Mono";
} 

.jt__col1 { color: #2B3A42; }
.jt__col2 { color: #3F5866; }
.jt__col3 { color: #BDD3DE; }
.jt__col4 { color: #F0F0DF; }
.jt__col5 { color: #FF8F00; }

.navbar {
    background: #2B3A42;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.35rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar__logo {
    background-color: #3F5866;
    background-image: linear-gradient(to top, #FF8F00 0%, #FF8F00 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2.25rem;
    font-family: 'Condiment';
    padding: 0 10px;
}

.fa-gem {
    margin-right: 0.5rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 80px;
}

.navbar__links {
    color: #F0F0DF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 0.5rem;
    height: 100%;
    min-width: 175px;
    font-weight: 1rem;
}

.navbar__links--number {
    color: #FF8F00;
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.resume__button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 5px;
    background-color: #FF8F00;
    color: #2B3A42;
    font-size: 2rem;
}

.resume__button:hover {
    background-color: #BDD3DE;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.navbar__links:hover {
    color: #FF8F00;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

@media screen and (max-width: 960px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5s ease;
        height: 50vh;
        z-index: -1;
        background: #2B3A42;
    }

    .navbar__menu.active {
        background: #2B3A42;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: auto;
        font-size: 1.25rem;
    }

    #navbar__logo {
        padding-left: 25px;
        padding-right: 5px;
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #F0F0DF;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar__btn {
        margin-top: 2rem;
        padding-bottom: 2rem;
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 60px;
        margin: 0;
    }

    .navbar__toggle .bar{
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    
    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}





/* Home section CSS */

.main {
    background-color: #3F5866;
}

.main__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-self: center;
    margin: 0 auto;
    height: calc(100vh - 80px);
    background-color: #3F5866;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 0 50px;
    font-family: 'Syne Mono';
}

.main__content--h1 {
    display: block;
    font-size: 4.25rem;
    color: #FF8F00;
    font-family: 'Syne Mono';
}

.main__content--h2 {
    display: block;
    font-size: 2rem;
    color: #F0F0DF;
    font-family: 'Syne Mono';
}

.main__content--h3 {
    display: block;
    font-size: 1.5rem;
    color: #F0F0DF;
    font-family: 'Syne Mono';
}

.main__content--h4 {
    display: block;
    margin-top: 1.5rem;
    font-size: 1.5rem;
    color: #BDD3DE;
    font-family: 'Syne Mono';
}

.main__img--container {
    align-items: center;
    justify-self: center;
    position: relative;
    width: 300px;
    height: 300px;
    background-color: rgba(43, 58, 66, 0.5);
    border-radius: 50%;
    overflow: hidden;
}

.main__img--container::before {
    content: '';
    position: absolute;
    inset: -10px 100px;
    background: linear-gradient(325deg, #FF8F00, #BDD3DE);
    transition: 0.5s;
    animation: animate 4s linear infinite;
}

.main__img--container:hover::before {
    inset: -20px 0px;
}

.main__img--container::after {
    content: '';
    position: absolute;
    inset: 5px;
    background-color: #3F5866;
    border-radius: 50%;
    z-index: 1;
}

@keyframes animate {
    0% {
        transform:  rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.main__img--content {
    position: absolute;
    inset: 5px;
    z-index: 3;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.main__img--content img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    border-radius: 50%;
    pointer-events: none;
}

.main__img--container:hover .main__img--content img {
    opacity: 0;
}

.main__img--button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    border: none;
    outline: none;
    border-radius: 5px;
    background-color: #FF8F00;
    color: #2B3A42;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
    .main__container {
        display: grid;
        grid-template-columns: auto;
        align-items: center;
        justify-self: center;
        width: 100%;
        margin: 0 auto;
        height: 90vh;
    }

    .main__img--container::before {
        inset: -10px 75px;
    }

    .main__content {
        text-align: center;
        margin-top: 3rem;
    }

    .main__img--container {
        width: 200px;
        height: 200px;
    }

    .main__content--h1 {
        font-size: 2rem;
    }

    .main__content--h2 {
        font-size: 1rem;
    }
    
    .main__content--h3 {
        font-size: 1rem;
    }

    .main__content--h4 {
        font-size: 1rem;
    }    
}

@media screen and (max-width: 480px) {    
    .main__content h1 {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .main__content h2 {
        font-size: 2rem;
    }

    .main__content p {
        margin-top: 2rem;
        font-size: 1.5rem;
    }  

    .main__btn {
        padding: 12px 36px;
        margin: 2.5rem 0;
    }
}
