@import url('https://fonts.googleapis.com/css2?family=Crimson+Text&family=Inconsolata:wght@300&family=Pacifico&family=Roboto:wght@100;300&display=swap');

/*  FONTS
    -> headings text = font-family: 'Crimson Text', serif;
    -> technical text = font-family: 'Inconsolata', monospace;
    -> personal text = font-family: 'Pacifico', cursive;
    -> common text = font-family: 'Roboto', sans-serif;
*/

* {
    padding: 0;
    margin: 0;
}

body {
    background: linear-gradient(to bottom, #f5f5f5, #ffffff);
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Roboto', sans-serif;
}

.ham-line {
    width: 25px;
    background-color: #000;
    height: 1px !important;
    margin: 7px 1px;
    margin-left: 3px;
    transition: 0.2s ease-in-out;
    z-index: 99;
}

.hamburger {
    display: none;
    position: fixed;
    width: 30px;
    margin-top: 1%;
    margin-right: 2%;
    right: 5px;
    z-index: 100;
    border-radius: 5px;
    text-align: center;
}

/* changing ham lines to cross when .open class is added */
.hamburger.open .ham-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.open .ham-line:nth-child(2) {
    opacity: 0;
}

.hamburger.open .ham-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

header {
    position: fixed;
    width: 55px;
    margin-right: 2%;
    right: 5px;
    z-index: 100;
    text-align: center;
}

header ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header ul li {
    margin-top: 20px;
}

header ul li:nth-child(2) {
    margin-left: 5px;
}

header ul li:nth-child(6) img {
    width: 30px;
}

.main {
    position: relative;
    width: 95%;
    height: auto;
    margin-top: 3%;
    left: 50%;
    transform: translate(-50%);
    border-radius: 10px;
    box-shadow:
        0px 7px 20px 0px #c0c0c0,
        -7px -7px 20px 0px #ffffff inset;
    overflow-y: auto;
}
.intro{
    position: relative;
    height: 95vh;
    min-height: 250px;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
}
.about-me{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.more-btn a {
    background-color: #FFF; 
    border: 1px solid #ddd;
    padding: 20px 70px;
    border-radius: 10px;
    font-size: 20px; 
    text-decoration: none;
    box-shadow: 5px 5px 15px #dddddd, -5px -5px 15px #ffffff;
    transition: box-shadow 0.3s, transform 0.3s; 
    text-align: center;
    display: inline-block;
    color: #000;

    &:hover{
        box-shadow: 10px 10px 20px #c4c4c4, -10px -10px 20px #ffffff;
        transform: translate(2px, 2px);
    }
}
h4 {
    position: relative;
    top: 0.2%;
    font-size: 55px;
    font-weight: 250;
    border-radius: 10px;
    padding: 5px 10px;
    letter-spacing: 2px;
}

h2 {
    position: relative;
    top: 0%;
    font-size: 110px;
    border-radius: 10px;
    padding: 0px 10px;
    letter-spacing: 4px;
    font-family: 'Crimson Text', serif;
    background: linear-gradient(90deg, #ff2f00, #0099ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h6 {
    position: relative;
    top: 0.2%;
    font-size: 16px;
    font-weight: 550;
    padding: 2px 10px;
    border-radius: 5px;
    letter-spacing: 3px;
}

h5 {
    position: relative;
    top: 2.5%;
    margin: auto;
    text-align: center;
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Crimson Text', serif;
    background: linear-gradient(90deg, #ff2f00, #0099ff);
    /* Define your gradient colors here */
    -webkit-background-clip: text;
    /* Webkit browsers */
    background-clip: text;
    color: transparent;
    /* Make the text transparent */
}

/* box-shadow:
-6px -6px 5px rgba(255, 255, 255, 0.5),
6px 6px 5px rgba(0, 0, 0, 0.1),
inset 0px 1px 10px rgba(255, 255, 255, 0.5),
inset 2px 2px 5px rgba(0, 0, 0, 0.1); */
.profile {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    height: 100vh;
}

.left-menu {
    height: 90%;
    width: 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow:
        -6px -6px 25px 0px rgba(255, 255, 255, 0.9),
        15px 8px 5px 0px rgba(0, 0, 0, 0.1);

}

.profile ul {
    position: relative;
    list-style: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.top-menu ul {
    justify-content: space-between;
}

.left-menu ul li {
    width: 90%;
}

.left-menu ul li button {
    padding: 15px 20px;
    width: 100%;
    border-radius: 13px;
    background: inherit;
    border: 0;
    text-align: start;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Crimson Text', serif;
    font-weight: 900;
    font-size: 15px;
    color: #000;

    &:hover,
    &:focus {
        background: white;
        transform: scale(0.98);
        box-shadow:
            inset 0px 1px 10px rgba(255, 255, 255, 0.7),
            inset 1px 1px 3px rgba(0, 0, 0, 0.3);
    }
}

.right-page {
    height: 80%;
    width: 900px;
    border-radius: 10px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    box-shadow:
        -6px -2px 5px rgba(255, 255, 255, 0.5),
        6px 6px 5px rgba(0, 0, 0, 0.1);
}

.top-menu {
    position: relative;
    height: 25%;
    width: 90%;
    margin: auto;
}

.top-menu ul {
    flex-direction: row;
}

.top-menu ul li {
    width: 30%;
    height: 80%;
}

.bottom-top-buttons ul li button,
.top-menu ul li button {
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: inherit;
    border: 0;
    border-radius: 13px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    font-family: 'Crimson Text', serif;
    font-weight: 900;
    font-size: 15px;
    text-transform: uppercase;
    transition: all 0.3s;
    box-shadow:
        inset 0px 1px 10px rgba(255, 255, 255, 0.7),
        inset 1px 1px 3px rgba(0, 0, 0, 0.3);

    &:hover,
    &:focus {
        transform: translate(2px, -2px);
        box-shadow:
            -6px -6px 25px 0px rgba(255, 255, 255, 0.9),
            8px 5px 5px 0px rgba(0, 0, 0, 0.1);
    }
}

.menu-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0px 1px 10px rgba(255, 255, 255, 0.7),
        inset 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.top-menu button:hover .menu-img img {
    transform: rotate(360deg);
    transition: transform 0.7s;
}

.menu-img img {
    width: 30px;
}

.bottom-content {
    position: relative;
    height: 70%;
    width: 90%;
    margin: auto;
    border-radius: 13px;
    box-shadow:
        inset -1px -1px 5px rgba(0, 0, 0, 0.2),
        inset 5px 5px 3px rgba(255, 255, 255, 0.7);
}

.bottom-top-buttons {
    margin-left: 20px;
    height: 45px;
}

.bottom-top-buttons ul {
    flex-direction: row;
    justify-content: flex-start;
}

.bottom-top-buttons ul li {
    padding: 0px 40px 0px 15px
}

.bottom-top-buttons ul li button {
    margin-top: 20px;
    padding: 10px 10px;
    font-weight: 100;
    font-size: 12px;
    cursor: pointer;
    background: inherit;
    border: 0;
    border-radius: 10px;
    box-shadow:
        inset 0px 1px 10px rgba(255, 255, 255, 0.7),
        inset 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.show {
    display: flex !important;
}

.hide {
    display: none !important;
}

.actual-content {
    position: relative;
    width: 90%;
    margin: auto;
    margin-top: 30px;
    height: calc(85% - 45px);
}

.actual-content p {
    font-size: 25px;
    margin-bottom: 20px;
}

.actual-content span {
    font-family: 'Crimson Text', serif;
    font-weight: 900;
}
.phone-menu-button button {
    background-color: #fff;
    box-shadow:
        -6px -6px 25px 0px rgba(255, 255, 255, 0.9),
        15px 8px 5px 0px rgba(0, 0, 0, 0.1);
    color: #000;
}
/* 
.menu-btn {
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    font-size: 70%;
    letter-spacing: 2px;
    cursor: pointer;
    display: none;
    border-radius: 10px;
    width: 5%;
    margin: 34px 2% 2% 2%;
    text-align: center;
    padding: 10px 30px;
    box-shadow:
        -5px -5px 4px rgba(255, 255, 255, 0.7),
        5px 5px 4px rgba(0, 0, 0, 0.3);

    &:hover {
        font-size: 65%;
        box-shadow:
            inset 0px 1px 10px rgba(255, 255, 255, 0.7),
            inset 1px 1px 3px rgba(0, 0, 0, 0.3);
    }
} */

.intrests h5,
.contact h5,
.projects h5 {
    font-size: 35px;
}

#service-heading{
    font-size: 32px;
}

.contact h5 {
    margin-top: 30px;
    margin-bottom: 30px;
}

.projects h5 {
    margin-top: 70px;
}
.projects {
    margin: auto;
    margin-top: 50px;
    margin-bottom: 100px;
    width: 96% !important;
    height: 130%;
    overflow-x: hidden;
}

.projects div {
    box-shadow: none;
    margin-bottom: 30px;
}

.grid {
    position: relative;
    display: grid;
    text-align: center;
    width: 80% !important;
    margin: auto;
    margin-top: 30px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 25px;
}

.grid a {
    position: relative;
    align-items: center;
    display: flex;
    height: 30vh;
    min-height: 70px;
    justify-content: center;
    text-decoration: none;
    font-family: 'Inconsolata', monospace;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 19px;
    color: black;
    background-color: #f0f0f0;
    border-radius: 10px;
    transition: all 0.2s;
    box-shadow:
        -5px -5px 10px rgba(255, 255, 255, 0.5),
        5px 5px 10px rgba(0, 0, 0, 0.2);
}
.grid span{
    font-size: 12px;
    color: gray;
}
.grid a:hover span{
    color: #000;
    text-decoration: underline;
}
.grid p{
    padding: 10px;
}

.disabled-link {
    cursor: not-allowed;
    color: rgb(173, 171, 171) !important;
}

.services {
    position: relative;
    margin: auto;
    width: 80%;
    height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 100px;
}
.services p{
    font-size: 54px;
}
.container {
    position: relative;
    height: 80%;
    width: 80%;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 20px;
}

.options {
    position: relative;
    height: 10%;
    display: flex;
    justify-content: space-between;
}

.options button:nth-child(1) {
    border-top-left-radius: 10px;
}

.options button:nth-child(3) {
    border-top-right-radius: 10px;
}

.options button {
    font-family: 'Crimson Text', serif;
    font-weight: 900;
    text-transform: uppercase;
    color: black;
    border: 0px;
    outline: none;
    cursor: pointer;
    width: 34%;
    background-color: #fff;
    position: relative;
    transition: all 0.2s ease;
    box-shadow:
        -5px -5px 10px rgba(255, 255, 255, 0.7),
        5px 5px 10px rgba(0, 0, 0, 0.1),
        inset 0px -10px 10px rgba(0, 0, 0, 0.1);

    &:focus {
        transform: scale(1.02);
        box-shadow:
            inset 0px -10px 10px rgba(0, 0, 0, 0);
    }
}

.content h5 {
    text-align: left !important;
    margin-left: 10%;
    margin-top: 2%;
    font-size: 28px;
}

.content {
    position: relative;
    height: 100%;
    text-align: left;
    background-color: #fff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 20px;
    box-shadow:
        -5px -5px 10px rgba(255, 255, 255, 0.7),
        5px 5px 10px rgba(0, 0, 0, 0.1);
}

@media only screen and (max-width: 767px) {
    .options button:hover {
        transform: scale(1.05);
        box-shadow:
            inset 0px -10px 10px rgba(0, 0, 0, 0);
    }
}

.content ul {
    list-style: none;
    margin-left: 10%;
    font-size: 24px;
}




.intrests {
    position: relative;
    margin: auto;
    width: 90%;
    margin-top: 50px;
    margin-bottom: 200px;
    background: rgb(236, 235, 235);
    border-radius: 20px;
    height: 170px;
    box-shadow:
        -10px -10px 20px rgba(255, 255, 255, 0.3),
        10px 10px 20px rgba(0, 0, 0, 0.3) inset;
    border: 1px solid rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center !important;
    transform: perspective(100px) rotateX(5deg);
}

.intrests div {
    position: relative;
    gap: 2vw;
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow-x: auto;
    width: 97%;
}

.intrests div:hover a {
    animation-play-state: paused;
}

/* Hide the scrollbar for different browsers */
.intrests div::-webkit-scrollbar {
    width: 0;
}

.intrests div {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Microsoft Edge */
}

.intrests img {
    width: 80px;
}

.intrests a {
    border-radius: 10px;
    font-family: 'Crimson Text', serif;
    line-height: 22px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 170px;
    height: 80px;
    transition: all 0.2s ease;
    box-shadow:
        -5px -5px 10px rgba(255, 255, 255, 0.5),
        5px 5px 10px rgba(0, 0, 0, 0.2);
    background: #ffffffd3;
    animation: slide 13s linear infinite;

    &:hover {
        transform: scale(1.01);
        box-shadow:
            -10px -10px 20px rgba(255, 255, 255, 0.5),
            10px 10px 20px rgba(0, 0, 0, 0.2);
    }
}

@keyframes slide {
    100% {
        transform: translateX(-82vw);
        opacity: 0;
    }

    90% {
        opacity: 1;
    }

    50% {
        transform: translateX(0);
        opacity: 1;
    }

    0% {
        transform: translateX(82vw);
        opacity: 1;
    }
}

.intrests a h6 {
    font-size: 11px;
    font-weight: 900;
    margin: 0;
}


.contact {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

form {
    position: relative;
    margin: auto;
    width: 40%;
}

form textarea,
form input,
form button {
    position: relative;
    width: 100%;
    color: black;
    border: none;
    border-radius: 0px;
    padding: 10px 40px 0px 0px;
    line-height: 40px;
    border-bottom: 2px solid gray;
    background: transparent;
    outline: none;
    box-sizing: border-box;
}

form textarea:focus,
form input:focus {
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #ff2f00, #0099ff);
    border-image-slice: 1;
}

form button {
    position: relative;
    cursor: pointer;
    padding: 15px 0px;
    background: black;
    text-transform: uppercase;
    margin-top: 15px;
    color: white;
    box-sizing: border-box;
    border-bottom: 0px;
}


form button:hover {
    background: rgb(48, 47, 47);
}

.line {
    position: relative;
    width: 98%;
    height: 1px;
    background: rgb(173, 173, 173);
    margin: auto;
    margin-top: 85px;
}

.footer {
    position: relative;
    color: gray;
    font-weight: 900;
    font-size: 11px;
}

.footer a {
    color: rgb(88, 88, 246);
    text-decoration: none;
}

.footer a:hover {
    color: blue;
    text-decoration: underline;
}

.copyright {
    padding: 12px;
    text-align: left;
    display: flex;
    justify-content: space-evenly;
    align-items: left;
}


#topBtn {
    box-shadow:
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.555);
}

#topBtn:hover {
    box-shadow:
        2px 2px 5px rgba(0, 0, 0, 0.1),
        -2px -2px 5px rgba(255, 255, 255, 0.1);
    background-color: #f5f5f5;
}
