/* Fonts */
/* Oswald*/
@font-face {
    font-family: 'Oswald';
    src: url('/assets/fonts/Oswald/Oswald-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Lora */
@font-face {
    font-family: 'Lora';
    src: url('/assets/fonts/Lora/Lora-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Lora italic */
@font-face {
    font-family: 'Lora-italic';
    src: url('/assets/fonts/Lora/Lora-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* End of fonts */

/* color palette from my portfolio website */
:root {
    /* Color palette */
    --background: #1e1e1e;
    --gradient-blue: #031023;
    --font-color: #CED9FA;
    --navBar-color: #070707E0;
    --shadow-color: #00000088;
    --variable-color: #9d87fc;
}
/* End of palette */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


body {
    background-color: var(--background);
    color: var(--font-color);
    scroll-behavior: smooth;
    overflow-x: hidden;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Header */
header {
    background-color: var(--navBar-color);
    font-family: 'Lora-italic';   
    color: var(--font-color);
    justify-content: space-between;
    align-items: center;
    padding: 24px 16px;
    position: fixed;
    width: 100%;
    height: 80px;
    display: flex;
    z-index: 1024;
}


.header-logo img {
    border-radius: 10px;
    margin-right: 10px;
    border: none;
    height: 50px;
    width: 50px;
}

.header-logo a {
    text-decoration: none;
    color: var(--font-color);
    font-size: 20px;
}

/* Navigation bar */
nav img {
    width: 35px;
}

nav ul {
    font-family: 'Lora-italic';
    letter-spacing: 3px;
    font-size: 22px;
    list-style: none;
    display: flex;
    gap: 50px;
}

nav a.nav-link {
    position: relative;
    text-decoration: none;
    font-weight: 600;
    color: var(--font-color);
    transition: transform 0.3s ease;
    z-index: 1024;
}

nav a.nav-link:hover {
    text-decoration: none;
    font-weight:900;
    transform: scale(1.1);
    color: var(--variable-color);
}

.collapse-navbar {
    position:fixed;
    right: 35px;
    top: 25px;
}
/* End of the navigation bar */

main {
    padding-top: 65px;
}

/* Hero Section */
.hero {
    background: url('/assets/img/desk.jpg') center 0 / cover no-repeat;
    color: var(--font-color);
    text-align: center;
    height: 95vh;
    z-index: 1;
}

.hero-blur {
    background: linear-gradient(#1e1e1eDD,  #142a4bDD);
    backdrop-filter: blur(3px);
    height: 95vh;      
    z-index: 2;
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 200px;
    font-weight: bold;
    letter-spacing: 1.25rem;
    position: absolute;
    top: 32%;
    left: 22%
}

.hero img {
    width: 60%;
    padding-top: 4rem;
    opacity: 0;
}

.hero h2 {
    font-family: 'Lora', sans-serif;
    letter-spacing: 4px;
    font-size: 45px;
    /* margin-top: .5rem; */
}

.hero-button {
    padding-top: 5%;
}

.hero a {
    background-color: var(--navBar-color);
    font-family: 'Lora-italic';
    color: var(--font-color);
    text-shadow: 2px 2px 10px #356bbc;
    letter-spacing: 2px;
    text-decoration: none;
    font-size: 32px;
    padding: 5px 40px 10px;
    border: 5px ridge var(--font-color);
    box-shadow: 2px 2px 10px #356bbc;
    border-radius: 20px;
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
    animation-delay: 7s;
}

@keyframes fadeIn {
    to { opacity: 1;}
}

.hero a:hover {
    text-shadow: none;
    box-shadow: none;
    padding: 6px 41px 11px;
    font-size: 32px;
    border-width: 3px;

}

/* Personalize Section */
#about {
    background: linear-gradient(var(--gradient-blue), var(--navBar-color));
    font-family: 'Lora';
    text-align: center;
    height: fit-content;
    padding: 90px 0 80px;
}

#about h2 {
    font-family: 'Lora';
    color: var(--font-color);
    font-size: 52px;
}

#about h3 {
    font-family: 'Lora-italic';
    font-size: 48px;
}

#about p {
    color: var(--font-color);
    letter-spacing: 2px;
    font-size: 28px;
    padding: 10px 20%;
}

.responsive-design {
    padding: 100px 0;
}

.responsive-design img{
    width: 60%;
}

.about-logos {
    padding: 100px 0;
}

.about-logos p {
    padding: 10px 25% !important;
}

.logos {
    position: relative;
    background-color: var(--shadow-color);
    overflow: hidden;
    padding: 40px 0;
    margin: 40px 0;
    white-space: nowrap;

}

.logos:hover .logos-slide{
    animation-play-state: paused;
}

.logos-slide img {
    height: 80px;
    margin: 0 40px;
}

.animations {
    padding: 100px 0 80px;
}

.animations img {
    width: 40%;
    border-radius: 50px;
    border: 10px groove var(--font-color);
}

.animations p {
    padding-bottom: 100px !important;
}
/* Edn of about */


/* Portfolio Section */
#portfolio {
    background: linear-gradient(var(--gradient-blue), var(--navBar-color));
    font-family: 'Lora';
    padding: 100px;
}

#portfolio h2 {
    letter-spacing: 3px;
    font-size: 56px;
    text-align: center;
    margin-bottom: 8px;
    color: var(--font-color);
}

#portfolio h3 {
    letter-spacing: 2px;
    text-align: center;
    font-size: 36px;
    padding: 30px 20%;
    
}
    
.design-container {
    align-items: center;
    padding: 200px 2%;
    display: flex;
    gap: 5%;
}

.design-container p {
    font-size: 20px;
    margin-right: 15%;
}

.laptop-design {
    box-shadow: 0 15px 0 var(--shadow-color);
    border-radius: 10px;
    height: auto;
    width: 70%;
    padding: 0;
}

.mobile-design {
    box-shadow: 0 5px 0 var(--shadow-color);
    border-radius: 30px;
    height: 300px;
    width: auto;
    margin-bottom: 8%;
}

.design-container.in-view p {
    background-color: var(--shadow-color); 
    color: var(--font-color);                   
    padding: 10px;                        
    border-radius: 8px;
    text-shadow: 2px 2px 4px var(--shadow-color);                   
    transition: background-color 0.3s ease;
}

.jewelry.in-view {
    background: url(/assets/img/jewelry.png) center / cover no-repeat;
    background-position: center;
    background-repeat: no-repeat;
}

.garage.in-view {
    background: url(/assets/img/garage.png) center / cover no-repeat;
}

.jungle.in-view {
    background: url(/assets/img/jungle4.jpg) center / cover no-repeat;
}

.barbershop.in-view {
    background: url(/assets/img/barbershop3.png) center / cover no-repeat;
}
/* Contact Section */
#contact {
    background:  url(/assets/svg/translucid-logo.svg ) 50% 65%/32% 55% no-repeat;
    background-color: var(--gradient-blue);
    font-family: 'Lora';
    letter-spacing: 3px;
    padding: 90px;
    text-align: center;
    color:var(--font-color);
    z-index: 1;
}

#contact h2,h3 {
    font-size: 38px;
    padding-bottom: 50px;
}

form {
    max-width: 35%;
    margin: 0 auto;
    display: grid;
    font-size: 26px;
    gap: 16px;
}

input, textarea {
    background-color: #0000008d;
    font-family: 'lora';
    color: var(--font-color);
    font-size: 20px;
    padding: 6px;
    border-radius: 20px;
    border: 10px ridge #3d8eff93;
}

.button {
    background-color: var(--navBar-color);
    color: var(--font-color);
    box-shadow: 1px 1px 10px #356bbc;
    text-shadow: 3px 3px 5px var(--shadow-color);
    letter-spacing: 3px;
    padding: 6px;
    border-radius: 10px;
    border: 3px ridge #356bbc;
    cursor: pointer;
    width: 33%;
}


button:hover {
    box-shadow: none;
    text-shadow: none;
    font-size: 27px;
    padding: 5px;
}

#contact p {
    font-family: 'Oswald', sans-serif;
    margin-top: 60px;
    font-size: 26px;
}
/* End of contact */

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    background-color: #2a2c39;
    color: var(--font-color);
    font-size: 1rem;
}

/* Social Icons */
.social-icons {
    justify-content: center;
    margin-left: 10%;
    padding: 30px;
    display: flex;
    gap: 50px;
}

.social-icons img {
    width: 40px;
}

.social-icons a {
    text-decoration: none;
}

.mjs {
    color: transparent;
}

.mjs:hover {
    color: var(--font-color);
}

footer ul {
    gap: 10px;
    display: flex;
    flex-direction: row;
    list-style-type: none;
    justify-content: center;
    font-size: 1rem;
}


/* Tablet Responsive design */
@media (max-width: 1024px) {
    /* Navigation bar */
    .logo img {
        width: 2.5rem;
        height: 2.5rem;
    }

    .logo a {
        position: absolute;
        left: 1.5rem;
    }

    nav ul {
        text-align: center;
        margin-top: -2px;
        font-size: 1.125rem;
        gap: 1rem;
    }

    /* End of navigation bar */
    
    /* Hero */
    .hero {
        height: fit-content;
    }
    .hero p {
        padding-bottom: 5%;
    }

    .hero h1 {
        margin-top: 3%;
        padding-left: 0%;
        font-size: 7rem;
        letter-spacing: 6px;
    }

    .hero img {
        width: 60%;
        padding-top: 5%;
        opacity: 0;
    }

    .hero h2 {
        font-size: 2rem ;
    } 

    .hero-button {
        padding-top: 10%;
    }
    /* End of hero */

    /* About section */
    #about h2 {
        padding: 1rem;
        font-size: 2.25rem;
        padding: 0 6rem 1rem
    }

    #about  h3 {
        font-size: 2.25rem;
    }

    #about p {
        font-size: 1.375rem;
        padding: 0px 12%;
    }
    
    .responsive-design {
        padding: 10rem 0 4rem;
    }

    .responsive-design img{
        width: 80%;
    }

    .responsive-design p {
        text-align: left;
        padding: 1rem 10% !important;
    }

    .about-logos p {
        padding: 1rem 5rem  !important;
    }
    
    .logos-slide img {
        height: 4.5rem;
        margin: 0 2.5rem;
    }

    .animations {
        padding: 2.5rem 0;
    }

    .animations img {
        width: 80%;
    }

    .animations p {
        text-align: left;
        padding: 1rem 10% !important;
    }
/* End of about */

    /* Portfolio */
    #portfolio {
        padding: 3.5rem 0rem;
    }

    #portfolio h2 {
        letter-spacing: 0;
        font-size: 2.25rem;
        padding: 0 5%;
    }

    #portfolio h3 {
        font-size: 1.375rem;
        padding: 1.5rem 5%;
    }

    .design-container {
        height: fit-content;
        display: inline;
    }

    .laptop-design {
        height: auto;
        width: 60%;
        margin: 5% 0 0 10%;
        box-shadow: none;
        padding-top: 5%;
    }

    .mobile-design {
        box-shadow: none;
        margin: 0;
        border-radius: 0;
        height: auto;
        width: 14%;  

    }

    .design-container p {
        font-size: 1rem;
        width: 80%;
        margin: 5% 0 0 10% !important;
        padding: 0;
    }
    /* End of Portfolio */

    /* contact section */
    #contact {
        background: url(/assets/svg/translucid-logo.svg) 60% 78% / 60% no-repeat;
        background-color: var(--navBar-color);
    }

    #contact h2, h3 {
        font-size: 2rem;
        padding: 0;
        margin: 0;
    }

    form {
        padding: 10% 20%;
        margin: 0;
        width: 60vw;
    }

    #contact textarea {
        width: 50vw;
        height: 150px;
    }


    #contact p {
        text-align: left;
        padding-left: 10%;
        font-size: 20px;
    }
    /* End of contact */
}
/* End tablet responsive design */

/* Mobile Responsive design */
@media (max-width: 768px) {
    /* Navigation bar */
    .logo img {
        width: 40px;
        height: 40px;
    }

    .logo a {
        position: absolute;
        left: 20px;
    }

    nav ul {
        margin-top: -2px;
        font-size: 18px;
        gap: 0;
    }

    nav a.nav-link {
        background-color: var(--navBar-color);
        color: var(--font-color);
        font-size: 18px;
        padding: 12px 0px;
    }
    /* End of navigation bar */
    
    /* Hero */
    .hero p {
        padding-bottom: 20%;
    }

    .hero h1 {
        padding: 0%;;
        font-size: clamp(3.375rem, 5rem, 7.5rem);
        letter-spacing: 6px;
    }

    .hero img {
        width: 80%;
        padding-top: 0;
        opacity: 0;
    }

    .hero h2 {
        font-size: clamp(1.25rem 1.5rem 2rem);
    } 

    .hero-button {
        padding-top: 30%;
    }
    /* End of hero */

    /* About section */
    #about h2 {
        padding: 10px;
        font-size: 26px
    }

    #about  h3 {
        font-size: 30px;
    }

    #about p {
        /* text-align: left; */
        font-size: 18px;
        padding: 0px 12%;
    }
    
    .responsive-design {
        padding: 50px 0;
    }

    .responsive-design img{
        width: 80%;
    }

    .responsive-design p {
        text-align: left;
        padding: 10px 50px !important;
    }

    .about-logos p {
        padding: 10px !important;
    }
    
    .logos-slide img {
        height: 50px;
        margin: 0 40px;
    }

    .animations {
        padding: 40px 0;
    }

    .animations img {
        width: 80%;
    }

    .animations p {
        text-align: left;
        padding: 10px 56px !important;
    }
    /* End of about */

    /* Portfolio */
    #portfolio {
        padding: 50px 10px;
    }

    #portfolio h2 {
        font-size: 32px;
        padding: 0 5%;
    }

    #portfolio h3 {
        font-size: 20px;
        padding: 20px 5%;
    }

    .design-container {
        padding: 10% 0;
        display: flex;
        flex-direction: column;
        height: 100vh;
    }

    .laptop-design {
        height: auto;
        width: 60%;
        margin: 3% 20%;
        box-shadow: none;
    }

    .mobile-design {
        box-shadow: none;
        margin: 0% 41%;
        height: auto;
        width: 18%;
    }

    .design-container p {
        margin: 0 15%;

        /* text-align: center; */
    }


    /* contact section */
    #contact {
        background: url(/assets/svg/translucid-logo.svg) 80% 60% / 80% no-repeat;
        background-color: var(--navBar-color);
        padding: 80px 12%;
    
    }

    #contact h2, h3 {
    font-size: 20px;
    }

    form {
        margin: 0;
        width: 100%;
    }

    #contact textarea {
        width: 300px;
        height: 150px;
    }


    #contact p {
        text-align: left;
        padding-left: 10%;
        font-size: 20px;
    }
}
    /* End mobile responsive design */

/* Mobile Responsive design */
@media (max-width: 480px) {
    /* Navigation bar */
    header {
        display: block;
    }

    nav ul {
        padding-top: .5px;
    }
    /* End of navigation bar */
    
    /* Hero */
    .hero p {
        padding-bottom: 30%;
    }

    .hero h1 {
        font-size: 3.375rem;
        letter-spacing: 0;
    }

    .hero h2 {
        font-size: clamp(1rem, 1.25rem, 1.5rem);
        letter-spacing: 1px;
    }

    .hero img {
        width: 80%;
        padding-top: 8%;
        opacity: 0;
    }

    .hero a {
        font-size: clamp(1rem, 1.75rem, 2rem);
        padding: 5px 20px;
    }
    /* End of hero */

    /* About section */
    #about h2 {
        font-size: 1.5rem;
    }
    /* End of about */

    /* Portfolio */
    #portfolio h3 {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .design-container {
        height: fit-content;
        margin: 5rem 0;
    }

    .laptop-design {
        width: 80%;
        margin: 5% 10%;
    }

    .mobile-design {
        box-shadow: none;
        margin: 0% 38%;
        width: 25%;
    }

    .design-container p {
        width: 80%;
        margin: 10% 0;
    }

     /* Portfolio */
    #portfolio {
        padding: 50px 10px;
    }

    #portfolio h2 {
        font-size: 1.75rem;
        padding: 0 5%;
    }

    #portfolio h3 {
        font-size: 1.125rem;
        padding: 20px 5%;
    }
    /* End of portfolio */

    /* contact section */
    #contact {
        background: url(/assets/svg/translucid-logo.svg) 50% 60% / 80% no-repeat;
        background-color: var(--navBar-color);
        padding: 2rem 0;
    }

    #contact h2, h3 {
    font-size: 22px;
    padding: 0;
    }

    form {
        padding: 10vw;
        width: 80vw;
    }

    #contact textarea {
        height: 150px;
    }
}
    /* End mobile responsive design */

