/* Fonts */
/* Archivo black */
@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;
}

/* Archivo black */
@font-face {
    font-family: 'Archivo Black';
    src: url('/assets/fonts/Archivo_Black/ArchivoBlack-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Bebas */
@font-face {
    font-family: 'Bebas Neue';
    src: url('/assets/fonts/Bebas_Neue/BebasNeue-Regular.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: #142a4b;
    --font-color: #CED9FA;
    --navBar-color: #070707E0;
    --shadow-color: #00000088;
    --variable-color: #9d87fc;
}
/* End of palette */

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: 'Oswald', sans-serif;   
    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;
}


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

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

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

nav ul {
    font-family: 'Bebas Neue', sans-serif;
    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;
    padding-top: 5%;
    font-size: 250px;
    font-weight: bold;
}

.hero h2 {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 4px;
    font-size: 45px;
}

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

.hero a {
    background-color: var(--navBar-color);
    font-family: 'Oswald';
    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: 5.6s;
}

@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(--navBar-color),  var(--gradient-blue));
    text-align: center;
    height: fit-content;
    padding: 90px 0 80px;
}

#about h2 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--font-color);
    letter-spacing: 4px;
    font-size: 62px;
}

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

#about p {
    font-family: 'Oswald', sans-serif;
    color: var(--font-color);
    letter-spacing: 2px;
    font-size: 32px;
    padding: 10px 20%;
}

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

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

.logotypes {
    padding: 100px 0;
}
.logotypes img {
    padding: 50px 0;
    width: 65%;
}

.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(--navBar-color),  var(--gradient-blue));
    font-family: 'Oswald', sans-serif;
    padding: 100px;
}

#portfolio h2 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 3px;
    font-size: 62px;
    text-align: center;
    margin-bottom: 8px;
    color: var(--font-color);
}

#portfolio h3 {
    letter-spacing: 2px;
    text-align: center;
    font-size: 32px;
    padding: 10px 20%;
    
}
    
.design-container {
    align-items: center;
    margin: 80px 13%;
    display: flex;
    gap: 5%;
}

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

.mobile-design {
    box-shadow: 0 10px 0 var(--shadow-color);
    border-radius: 30px;
    height: 350px;
    width: auto;
}

.design-container p {
    font-size: 20px;
}
/* Contact Section */
#contact {
    background:  url(/assets/img/contact-logo.png) center/32% 55% no-repeat;
    background-color: var(--navBar-color);
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 3px;
    padding: 80px;
    text-align: center;
    color:var(--font-color);
    z-index: 1;
}

#contact h2 {
    font-size: 40px;
    margin-bottom: 50px;
}

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

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

.button {
    background-color: var(--gradient-blue);
    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: none;
    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;
    padding: 30px;
    display: flex;
    gap: 50px;
}

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

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


/* Responsive Tweaks */
@media (max-width: 768px) {
    /* Navigation bar */
    header {
        flex-direction: column;        
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

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

    nav ul {
        text-align: center;
        margin-top: 48px;
        font-size: 18px;
        gap: 0;
    }

    nav a.nav-link {
        background-color: #070707;
        color: var(--variable-color);
        font-size: 18px;
        padding: 12px 150px;
    }
    /* End of navigation bar */
    
    /* Hero */
    .hero p {
        padding-bottom: 50%;
    }

    .hero h1 {
        padding-top: 0%;
        padding-left: 3%;
        font-size: 85px;
        letter-spacing: 3px;
    }

    .hero h2 {
        font-size: 20px ;
    } 

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

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

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

    #about p {
        font-size: 20px;
        padding: 0px 12%;
    }
    
    .responsive-design {
        padding: 50px 0;
    }

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

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

    .logotypes {
        padding: 40px 0;
    }

    .logotypes img {
    padding: 50px 0;
    width: 80%;
    }

    .logotypes p {
        text-align: left;
    }

    .animations {
        padding: 40px 0;
    }

    .animations img {
        width: 80%;
    }

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

    .about-description h2{
        padding: 0  30px !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 {
        margin: 40px 0;
        flex-direction: column;
        height: 100%;
    }

    .laptop-design {
        height: 200px;
        padding: 0;
        display:grid;
        width: 300px;
    }

    .mobile-design {
        box-shadow: none;
        padding: 8% 30%;
        border-radius: 30px;
        height: 300px;
        /* display: grid; */
    }

    .design-container p {
        padding: 30px 8%;
        /* text-align: center; */
    }


    /* contact section */
    #contact {
        background:  url(/assets/img/contact-logo.png) 55% 37% / 85% 40% no-repeat;
        background-color: var(--navBar-color);
        padding: 80px 12%;
    
    }

    #contact h2 {
    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 of contact */
}


