*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Space Grotesk', sans-serif;

}

html{
    font-size: 62.5%;
}

.home-img img{
    margin-top: 2rem;
    width: 600px;
    height: auto;
}

body{
    width: 100%;
    overflow-x: hidden;
    background-color: rgb(23, 23, 23);
    color:white;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  height: 80px;
  width: 100%;
  padding: 2rem 9%;
  background-color: rgb(75, 173, 136);
  filter: drop-shadow(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;

}


.logo{
    font-size: 3rem;
    color: rgb(75 173 136);
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover{
    transform: scale(1.1);
}

nav a{
    font-size: 1.8rem;
    color: black;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active{
    color: white;
    border-bottom: 2px solid white;

}

@media(max-width:900px){
    nav{
        position: absolute;
        top: 100%;
        right: 0;
        width: 40%;
        border-left: 3px solid rgb(75 173 136);
        border-bottom: 3px solid rgb(75 173 136);
        border-bottom-left-radius: 2rem;
        padding: 1rem solid;
        background-color: black;
        border-top: 0.1rem solid black;
    }
}
nav a{
    font-size: 1.8rem;
    color: black;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav.active{
    display: block;
}



nav a:hover,
nav a.active {
  padding: 0.5rem;
  border-bottom: 0.75rem solid white;
}

section{
    padding: 7rem 9% 5rem;

}

.home{
    padding: 7rem 9% 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem   ;
    background-color: rgb(23, 23, 23);

}

.home .home-content h1{
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;

}

span{
    color: rgb(75 173 136);

}

.home .home-content h3{
    font-size: 4rem;
    margin-bottom: none;
    font-weight: 700;
}

.home-img{
    border-radius: 50%;
}

.home-img img{
    position: relative;
    width: 24vw;
    border-radius: 50%;
    box-shadow: 0 0 25px solid rgb(75 173 136);
    cursor: pointer;
    transition: 0.2s linear;
}

.home-img img:hover{
    font-size: 1.8rem;
    font-weight: 500;
}



.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: rgb(23, 23, 23);
    border-radius: 4rem;
    font-size: 1.6rem;
    margin: 2rem;
    color: white;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid white;
    transition: 0.3s ease;
    cursor: pointer;

}

.btn:hover{
    transform: scale3d(1.03);
    background-color:rgb(75 173 136) ;
    color: white;
    box-shadow: 0 0 25px rgb(75 173 136);

}


.typing-text {
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
    width: 800px;
    text-align: left; 
}

.typing-text span{
    position: relative;
}



.typing-text span::before{
    content: "";
    color: rgb(75 173 136);
    animation: words 20s infinite;  
}

.typing-text span::after{
    content: "";
    background-color: rgb(23, 23, 23);
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid rgb(23,23,23);
    right: -8;
    animation: cursor 0.6s infinite;

}



@keyframes cursor{
    to{
        border-left: 3px solid rgb(75 173 136);
    }
}
@keyframes words{
    0%, 50%{
        content: "a UBC Student";
    }
    51%, 100%{
        content: "an Aspiring Developer";
    }

}

.experience, .education {
    padding: 7rem 9% 5rem;
    background-color: rgb(23,23,23);
    margin-top: 8rem;
    height: 800px;
}

.about-me{
    padding:7rem  9% 5rem;
    margin-top: 3rem;
}

.experience h2, .education h2{
    font-size: 3rem;
    color: rgb(75 173 136);
    margin-bottom: rem;
    font-weight: 700;
}

.about-me{
    margin-top: 0;
    margin-bottom: rem;
    font-weight: 700;
    font-size: 3rem;
    color: rgb(75 173 136);
}

.experience-content, .education-content{
    max-width: 800px;
    margin-bottom: 1rem;
}

.experience-item {
    display: block;
    background-color: rgb(23, 23, 23);
    margin: 2rem;
    padding: 3rem;
    border: 1px solid(0, 0, 0, 0.1);
    border-radius: 1rem;
    box-shadow: 0 4px 12px white;
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;


}

.education-item{

    background-color: rgb(23, 23, 23);
    margin: 2rem;
    padding: 4rem;
    border: 1px solid rgb(75, 173, 136);
    border-radius: 1rem;
    font-size: 2rem;
    line-height: 1.8;
    color: white;
    font-weight: 100;
}

.experience-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgb(75, 173, 136);
}



.experience-item h3,
.experience-item h4,
.experience-item p {
  margin-bottom: 0.5rem;
}


.experience-item p, h4{
    font-size: large;
}

.experience-item h3{
    color: rgb(75, 173, 136);
    font-size: large;
}

.date{
    color: white;
    font-size: large;
    font-weight: 700;
}

.education-item h3{
    font-size: 3rem;
    color: white;
    margin-bottom: rem;
    font-weight: 700;

}

.education-item h4,
.education-item p {
    margin-bottom: 0.5rem;
}





.about-me-paragraph {
    color: white;
    font-size: 2rem;
    font-weight: 300;
    padding: 0;
    margin: 0;
    max-width: 800px;
    line-height: 1.6;



}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 1rem;
  z-index: 200;
  min-width: 150px;
}

.dropdown-content {
    color:rgb(75, 173, 136);
}

.email{
    font-size: 1.4rem;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: black;
  text-decoration: none;
  font-size: 2rem;
  border-radius: 0.3rem;
}

.dropdown-menu a:hover {
  background-color: rgb(75, 173, 136);
  color: white;
}




