@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;1,300&display=swap');

* {
    background-color: #1c1e21;
    font-family: 'Poppins', sans-serif;
    color: white;
}

/*Mobile Nav*/

.medium {
    font-size: 3rem !important;
}

#slide-out {
    background-color: #1c1e21;
}

.position-this {
    position: relative !important;
    margin-left: 16px;
}

.collapsible-body ul li{
    position: relative;
    margin-left: 15px;
}

.description {
    line-height: 1.5;
}

/* dropdown-content*/
.dropdown-content a:hover{
    background: rgb(82, 75, 75) !important;
}

.dropdown-content a{
    background:  #1c1e21;
    font: white;
}

/*navbar*/

.navbar, .navbar li {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: inline;
    overflow: hidden;
}

.nav {
    font-size: 2rem;
    padding: 1%;
    color:  #ecf0f1;
    text-transform: uppercase;
    transition: 0.5s;
    display: inline;
    position: relative;
    overflow: hidden;
}

.nav:after {
    position: absolute;
    content: "";
    background: white;
    transition: transform 0.2s;
    transform: scaleX(0);
    transform-origin: left;
    width: 100%;
    height: 3px;
    top: 100%;
    left: 0;
} 

.nav:hover {
    color: white;
    text-shadow: 0 0 50px white;
}

.nav:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}


#logo {
    width: 25vh;
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    animation: bounceInDown;
    animation-duration: 2s;
}

.animate__fadeInUp {
    animation-duration: 1s;
}

.outline {
    border-style: solid;
    border-color: white;
    padding-left: 20px;
    padding-right: 20px;
}

.outline-header {
    font-weight: bold;
}

.project1 {
    position: relative;
}

.picture1 {
    display: block;
    width: 100%;
    height: auto;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
}

.project1:hover .overlay {
    opacity: 90%;
}

.text {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.project2 {
    position: relative;
}

.picture2 {
    display: block;
    width: 100%;
    height: auto;
}

.overlay2 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
}

.project2:hover .overlay2 {
    opacity: 90%;
}

.text2 {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.project3 {
    position: relative;
}

.picture3 {
    display: block;
    width: 100%;
    height: auto;
}

.overlay3 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
}

.project3:hover .overlay3 {
    opacity: 90%;
}

.text3 {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.project4 {
    position: relative;
}

.picture4 {
    display: block;
    width: 100%;
    height: auto;
}

.overlay4 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
}

.project4:hover .overlay4 {
    opacity: 90%;
}

.text4 {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}


.project5 {
    position: relative;
}

.picture5 {
    display: block;
    width: 100%;
    height: auto;
}

.overlay5 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
}

.project5:hover .overlay5 {
    opacity: 90%;
}

.text5 {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

#github {
    color: #fff;
    display: inline-flex;
    vertical-align: top;
}

i:hover {
    text-shadow: 0px 0px 15px white;
}

.about {
    text-decoration: underline;
}


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

   .outline-header {
       font-size: 1.6rem;
   }

}

@media only screen and (min-width: 750px) {
   .menu {
       display: none !important;
       font-size: 1.5rem !important;
   }
}