
@import url('https://waps.l3s.uni-hannover.de/live/cs_/https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body, head {
    background: black;
    font-family: "Montserrat", Arial;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden !important;
    animation: fadeIn 3s;
}

#wrapper {
    overflow-x: hidden !important;
    position: relative;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em;
}

header h1 {
    font-size: 3em;
    color: ghostwhite
}

nav {
    color: white;
    list-style-type: none;
    display: flex;
    align-items: center;
    animation: ease-out 3s;
    position: fixed;
    top: 0;
    margin-left: 150px;
}

nav h1 {
    user-select: none; 
    animation: ease-out 3s;
    font-weight: bolder;
}

li:last-child {
    margin-left: auto; 
    padding-right: 10px;
}

#terminal {
    display: flex;
    align-items: center;
    flex-grow: 1;
    padding-left: 20px;
}

h2 {
    font-size: 40px;
    margin-top: 300px;
    color: ghostwhite;
    text-align: center;
}

p {
    text-align: center;
    color: white;
    font-size: 20px;
    margin-left: 50px;
    margin-right: 50px;
}

.button {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 20px; 
	padding-top: 20px;
}

button {
	height: 2em;
	width: 9em;
	border: none;
	border-radius: 10em;
	background: ghostwhite;
	font-size: 17px;
	color: black;
	font-family: inherit;
	font-weight: 500;
	cursor: pointer;
}

#aboutme-div {
    margin-top: 700px
}

h3 {
    font-size: 25px;
    margin-top: 300px;
    color: ghostwhite;
    text-align: left;
    margin-left: 150px;
    font-weight: bolder;
}

h4 {
    font-size: 25px;
    margin-top: 80px;
    color: ghostwhite;
    text-align: left;
    margin-left: 150px;
    font-weight: bolder;
}

#aboutme-p {
    margin-left:150px;
    margin-right: 150px;
    text-align: left;
    font-size: 20px;
    color: white
}

#experience-p-div {
    flex-wrap: wrap;
    display: flex;
    gap: 300px;
    flex-wrap: wrap; 
    align-items: flex-start;
    margin-left: 150px;
}

#experience-p {
    margin: 0;
    font-size: 20px;
    color: white;
    min-width: 250px; 
    max-width: 300px; 
    text-align: left;
    line-height: 1.5;
}

#projects-p-div {
    flex-wrap: wrap;
    display: flex;
    gap: 300px;
    flex-wrap: wrap; 
    align-items: flex-start;
    margin-left: 150px;
}

#projects-p {
    margin: 0;
    font-size: 20px;
    color: white;
    min-width: 250px; 
    max-width: 300px; 
    text-align: left;
    line-height: 1.5;
}

footer {
    margin-top: 200px;
}

footer p {
    font-size: 18px;
    color: ghostwhite;
    font-weight: bolder;
}

/* tablet or small laptop */
@media (max-width: 1024px) { 
    #experience-p-div {
        gap: 100px;
    }
}

/* phone */
@media (max-width: 768px) { 
    nav {
        margin-left: 50px;
    }
     h4{
        margin-left: 50px;
    }
    #experience-p-div {
        gap: 40px;
        margin-left: 50px;

    }
    h3 {
        margin-left: 50px;
    }
    #aboutme-p {
        margin-left: 50px;
        margin-right: 50px;
    }
    #projects-p-div {
        gap: 40px;
        margin-left: 50px;
    }
    #projects-p {
        margin-left: 50px;
        margin-right: 50px;
    }
}

/* tsmall phone */
@media (max-width: 480px) { 
    nav {
        margin-left: 30px;
    }
    h4{
        margin-left: 30px;
    }
    #experience-p-div {
        gap: 30px;
        margin-left: 30px;
    }
    h3 {
        margin-left: 30px;
    }
    #aboutme-p {
        margin-left: 30px;
        margin-right: 30px;
    }
    #projects-p-div {
        gap: 30px;
        margin-left: 30px;
    }
    #projects-p {
        margin-left: 30px;
        margin-right: 30px;
    }
}


span{
    position: absolute;
    top:50%;
    left:0%;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.1),0 0 0 8px rgba(255,255,255,0.1),0 0 20px rgba(255,255,255,0.1);
    animation: animate 3s linear infinite;
}
span::before{
    content:'';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg,#fff,transparent);
}
@keyframes animate
{
    0%
    {
        transform: rotate(315deg) translateX(0);
        opacity: 0;
    }
    70%
    {
        opacity: 1;
    }
    100%
    {
        transform: rotate(315deg) translateX(-1000px);
        opacity: 0;
    }
}
span:nth-child(1){
    top: 0;
    right: 0;
    left: initial;
    animation-delay: 0s;
    animation-duration: 1s;
}
span:nth-child(2){
    top: 0;
    right: 80px;
    left: initial;
    animation-delay: 0.2s;
    animation-duration: 3s;
}
span:nth-child(3){
    top: 0;
    right: 0px;
    left: initial;
    animation-delay: 0.4s;
    animation-duration: 2s;
}
span:nth-child(4){
    top: 0;
    right: 180px;
    left: initial;
    animation-delay: 0.6s;
    animation-duration: 1.5s;
}
span:nth-child(5){
    top: 0;
    right: 400px;
    left: initial;
    animation-delay: 0.8s;
    animation-duration: 2.5s;
}
span:nth-child(6){
    top: 0;
    right: 0px;
    left: 0;
    animation-delay: 1s;
    animation-duration: 3s;
}
span:nth-child(7){
    top: 0;
    right: 0px;
    left: initial;
    animation-delay: 1.2;
    animation-duration: 1.75s;
}
span:nth-child(8){
    top: 0px;
    right: 700px;
    left: initial;
    animation-delay: 1.4s;
    animation-duration: 1.25s;
}
span:nth-child(9){
    top: 0x;
    right: 1000px;
    left: initial;
    animation-delay: 0.75s;
    animation-duration: 2.25s;
}
span:nth-child(9){
    top: 0px;
    right: 450px;
    left: initial;
    animation-delay: 2.75s;
    animation-duration: 2.75s;
}