*{
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: black;
    box-sizing: border-box;
}

/* utility classes start here */


/* utility classes end here */

body{
    background-color: whitesmoke;
}

.hidden{
    display: none;
}

#nav-prim{
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 2px 3px 5px rgb(109, 108, 108);
    background-color: #1b1b1b;
    z-index: 4;
}

#welcome-section{
    height: 100vh;
    background-image: url('../images/richard-bustos-f1oRNOED4YQ-unsplash.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#welcome-title{
    padding-top: 30vh;
    color: whitesmoke;
    font-size: 6rem;
    text-align: center
}

#welcome-text{
    font-size: 1.7rem;
    text-align: center;
    color: whitesmoke
}

#work-section{
    padding: 20px 0 20px;
    background-color: #1b1b1b;
}

#work-section p{
    margin: 20px;
    font-size: 1.2rem;
    color: whitesmoke;
    text-align: center;
}

#work-section h2{
    padding-top: 20px;
    font-size: 3rem;
    color: whitesmoke;
    text-align: center;
}

#work-section h3{
    margin-top: 70px;
    font-size: 1.5rem;
    color: whitesmoke;
    text-align: center;
}

#work-section #project-carousel{
    border: 2px solid lightgrey;
    margin: 30px auto 40px;
    width: 95%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carousel-item{
    border: 1px solid white;
    text-align: center;
    background-color: #333333;
    transition: transform 0.7s ease-in-out;
}

.carousel-item a{
    font-size: 1.5rem;
    width: 90%;
    text-decoration: none;
    color: whitesmoke;
    transition: text-shadow 0.3s ease-in-out;
}

.carousel-item a:hover{
    /* glow */
    text-shadow: 
            0 0 10px #00bcd4, /* Green glow */
            0 0 20px #00bcd4,
            0 0 30px #00bcd4;
}

.carousel-item p{
    padding: 5px;
    /* border: 1px solid whitesmoke; */
    display: inline-block;
    border-radius: 5px;
    margin: 10px auto;
    width: 85%;
    height: 75px;
    overflow-y: auto;
}


#profile{
    text-align: center;
}

#profile-title{
    margin: 40px 20px;
    font-size: 1.5rem;
    color: #1b1b1b;
    text-align: center;
}

.profile-text{
    margin-bottom: 20px;
    font-size: 1.5rem;
}

#profile-links{
    padding: 15px;
    border: 2px solid #1b1b1b;
    border-radius: 10px;
    margin: 0 auto 40px;
    width: 70%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.profile-link{
    padding: 10px;
    font-size: 1.3rem;
    text-decoration: none;
    color: #1b1b1b
}

.profile-link:hover{
    border: 1px solid #1b1b1b;
    border-radius: 5px;
    box-shadow: 1px 1px 1px rgb(109, 108, 108),
                -1px -1px 1px rgb(109, 108, 108);
}

.bi{
    font-size: 1.3rem;
}

footer{
    padding: 30px;
    margin-top: 30px;
    width: 100%;
    background-color: #1b1b1b;
    display: flex;
    justify-content: space-between;
    align-items: last baseline;

}

footer .footer-text{
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: whitesmoke;
}

footer ul{
    padding: 0;
    
    list-style: none;
    /* display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px; */
}

footer ul li{
    text-align: center;
    height: 50px;
    width: 100px;
}

footer ul li a{
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: whitesmoke;
    font-size: .95rem;
    width: 100%;
    height: 100%;
    transition: background-color 0.3s ease-in-out; 
}

footer ul li a:hover{
    background-color: whitesmoke;
    color: #1b1b1b; 
}

/* custom scrollbar styles start here */

 /* width */
::-webkit-scrollbar {
  width: 3px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
} 

/* custom scrollbar styles end here */

@media only screen and (max-width: 520px){
    #welcome-title{
        font-size: 5rem;
    }
    #welcome-text{
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 480px){
    .hide{
        display: none;
    }

    #welcome-title{
        font-size: 4rem;
    }
    #welcome-text{
        font-size: 1.2rem;
    }

    #nav-links li.resp-menu{
        display: inline-block;
    }

    #projects{
        padding-bottom: 30px;
        margin-bottom: 10px;
        display: flex;
        flex-direction:column;
        justify-content: space-evenly;
        align-items: center;
        text-align: center;
    }

    .project-tile{
        width: 350px;
        height: 250px;
    }

    .project-img{
        border-radius: 8px 8px 0 0;
        object-fit: cover;
        width: 100%;
        height: 80%;
    }
    
    .project-text{
        padding-top: 2px;
        font-size: 1.5rem;
        color: whitesmoke;
    }
    
    #profile-links{
        display: flex;
        flex-direction: column;
        width: 35%
    }

    footer{
        padding: 15px;
    }

    footer .footer-text{
        margin-bottom: 2px;
        font-size: .8rem;
    }
}