/* *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 16px;
    background-color: #381346;
}

::-webkit-scrollbar-thumb {
    background: rgb(110, 45, 170);
    border-radius: 12px;
}

::-webkit-scrollbar-track {

    background: #381346;
    border-radius: 50px;
}


.upArrow {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #6E2DAA;
}

#up {
    color: #6E2DAA;
    cursor: pointer;
    /* make inside bigger     */
    transform: scale(1.4);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0px;
}

.dontShow {
    display: none;
}

.flex{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

section {
    background-color: white;
}

.hero {
    background-color: #1c1d25;
    height: 100vh;
    color: rgb(110, 45, 170);
    font-size: 40px;

}

footer {
    background-color: #080808;
    color: rgb(110, 45, 170);
    text-align: center;
    padding: 80px;
}

nav {
    display: flex;
    justify-content: space-between;

}

ul {
    display: flex;
    list-style-type: none;
    width: 500px;
    justify-content: space-around;
    font-size: 20px;
}

li {
    text-decoration: none;
}

h1 {
    font-size: 90px;
    margin: 0;
}

h2 {
    font-size: 50px;
}

p {
    margin: 0;
    font-size: .8em;
    font-weight: 300;
}

#about-me p {
    font-size: 1.5em;
}

.subtext {
    font-size: 15px;
    font-weight: 300;
}


.sub-section {
    display: flex;
    justify-content: space-around;
    padding: 80px;
    background-color: #793faf;
}

.sub-section-alternative {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 80px;

}

.projects-section {
    background-color: #e6e9ff;
}

.headshot {
    width: 300px;
    border-radius: 150px;
}

.headshot-container {
    display: flex;
    align-items: center;
}

.project-card {
    width: 300px;
    height: 500px;
    box-shadow: 5px 5px 20px rgb(110, 45, 170);
    margin: 10px;
    border-radius: 35px;
}

.project-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.project-image {
    margin-top: 25px;
    width: 250px;
    border-radius: 125px;
}

hr {
    margin-left: 20px;
    margin-right: 20px;
}

.project-link {
    text-decoration: none;
    color: rgb(49, 18, 80);
    letter-spacing: 1px;
    font-weight: bold;


}

.project-link:hover {
    text-decoration: underline;

}

a {
    text-decoration: none;
    color: white;
}

.hamburger {
    display: none;

}

.hamburger:focus {
    outline: 0;
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #1C1D25;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50px;
}

#myBtn:hover {
    transition: 300ms;
    background-color: #424450;
    box-shadow: 0 0 5px #4f5474;
    color: #751aca;

}


span {
    position: relative;
}

span::before {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 12px;
    background-color: #6E2DAA;
    transform-origin: bottom right;
    transform: scaleX(0);
    transition: transform .5s ease;
}

span:hover::before {
    transform-origin: bottom left;
    transform: scaleX(1);
}

/* pulse effect on img */
.logo {
    animation: pulse 1s infinite;
    border-radius: 10%;
}

.projects-logo {
    animation: pulse 1s infinite;
    border-radius: 10%;
}

@keyframes pulse {
    from {
        box-shadow: 0 0 0 0 rgb(110, 45, 170);
    }

    to {
        box-shadow: 0 0 0 20px rgba(201, 48, 48, 0);
    }
}

#devToImage {
    background-color: #fff;
    width: 35px;
    height: 35px;
    border-radius: .5em;
}

.navigate{
    background: #333542;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.nav-header{
    width: 100%;
    text-align: center;
    font-size: 1.2em;
    color: #fff;
}

.navigate-links{
    width: 100%;
    height: 5vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    color: red;
}

.navigate-links a{
    color: #e0e0e0;
}