@import url('https://fonts.googleapis.com/css2?family=Poppins%3Awght%40100%3B200%3B300%3B400%3B500%3B600&display=swap%27%29%3B');

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

html{
    font-size: 65%;
    overflow-x: hidden;
}

body{
    width:100%;
    height: 100vh;
    overflow-x:hidden;
    background-color: #383838;
    color:pink;
 
}

header{
    top:0;
    left:0;
    width: 100%;
    padding:1rem 9%;
    background-color: transparent;
    filter:drop-shadow(10px);
    display:flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo{
    font-size:3rem;
    color: pink;
    font-weight: 800;
    cursor:pointer;
    transition: 0.5s ease;
}

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

nav{
    display: flex;
    gap: 2rem;
}

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

nav a:hover{
    color:pink;
    border-bottom: 3px solid;
}
nav a.active{
    color:pink;
    border-bottom: 3px solid;
}

@media(max-width:995px){
    nav{
        position: absolute;
        display: none;
        top: 0;
        right:0;
        width:40%;
        border-left: 3px solid black;
        border-bottom: 3px solid black;
        border-bottom-left-radius: 2rem;
        padding:1rem solid;
        background-color: palevioletred;
        border-top: 0.1rem solid black;
    }
    nav.active{
        display: block;
    }
    nav a{
        display: block;
        font-size: 2rem;
        margin:3rem 0;
    }
    nav a:hover,nav a.active{
        padding:1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid palevioletred;
    }
}

section{
    min-height: 100vh;
    padding:5rem 9% 5rem;   
}

.home{
    display:flex;
    justify-content: center;
    align-items: center;
    gap:8rem;
    background-color: #383838;
}

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

.about{
    display:flex;
    justify-content: center;
    align-items: center;
    gap:8rem;
    background-color: #383838;
}

.about .about-content h1{
    font-size: 5rem;
    font-weight: 700;
    line-height:1.3;
    text-align: center;
    margin-top: -6rem;
}

.about-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.contact{
    display:flex;
    justify-content: center;
    align-items: center;
    gap:8rem;
    background-color: #383838;
}

.contact .contact-content h1{
    font-size: 7rem;
    font-weight: 700;
    margin-top: -3rem;
}

.about .about-content p{
    font-size: 1.3rem;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 600px; 
    margin: 0 auto;
}

.skills{
    text-align: center;
    background: pink;
    color: #383838;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1.5rem;
    margin: 20px auto;
    max-width: 600px;
}

.skills i{
    font-size: 2rem;
}

.skills h2{
    font-size: 3rem;
    font-weight: 700;
    line-height: 2;
}
.skills li{
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
}
.about-content h3{
    font-size:2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    margin-top: 3rem;
}

.about-content p{
    font-size: 1.3rem;
}

span{
    color: white;
}

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

.home-content p{
    font-size: 1.5rem;
}
.home-img{
    border-radius: 50%;
}

.home.img img{
    position: relative;
    width:32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px solid pink;
    cursor: pointer;
    transition: 0.2s linear;
}

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

.social-icons a{
    display:inline-flex;
    justify-content: center;
    align-items:center;
    width:4rem;
    height:4rem;
    background-color: transparent;
    border:0.2rem solid pink;
    font-size:2rem;
    border-radius: 50%;
    margin:3rem 1.5rem 3rem 0;
    transition: 0.3s ease;  
    color: pink; 
}

.social-icons a:hover{
    color:white;
    transform:scale(1.3)translateY(-5px);
    background-color: pink;
    box-shadow: 0 0 25px pink;
}

.btn{
    display:inline-block;
    padding: 1rem 2.8rem;
    background-color: #383838;
    border-radius: 4rem;
    font-size: 1.5rem;
    color:pink;
    letter-spacing: 0.3rem;
    font-weight:600;
    border:2px solid pink;
    transition: 0.3 ease;
    cursor: pointer;
}

.btn:hover{
    transform: scale3d(1.03);
    background-color: pink;
    color: white;
    box-shadow: 0 0 25px pink;
}

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

.typing-text span{
    position: relative;
}

.typing-text span::before{
    content:"Cloud Engineer";
    color:pink;
    animation: words 20s infinite;
}

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

@keyframes cursor {
    to{
        border-left: 3px;
    }
}

@keyframes words{
    0%, 20%{
        content:"IT Professional";
    }
    21%, 40%{
        content:"Cloud Engineer";
    }
    41%,60%{
        content:"Cloud Adminstrator";
    }
    61%, 80%{
        content:"Cloud Support Engineer";
    }
    81%, 100%{
        content:"Active Learner";
    }
}

@media(max-width: 1000px){
    .home{
        gap:4rem;
    } 
}

@media(max-width:995px){
    .home
    {
        flex-direction: column;
        margin: 5rem 4rem;
    }
    .home .home-content h3{
        font-size:2.5rem;

    }
    .home-content h1{
        font-size: 5rem;
    }
    .home-img img{
        width:70vw;
        margin-top:4rem;
    }
}

.contact-form {
    padding: 20px;
    max-width: 600px;
    margin: auto;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form button {
    background: #383838;
    color: pink;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.contact-form button:hover {
    transform: scale3d(1.03);
    background-color: pink;
    color: white;
    box-shadow: 0 0 25px pink;
}

#contact{
    text-align: center;
}

@media (max-width: 768px) {
    .home, .about, .contact {
        flex-direction: column;
        text-align: center;
    }

    .home-img img {
        width: 80%;
    }

    .home-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 4rem;
    }

    p {
        font-size: 1.4rem;
    }
}

.menu-close {
    font-size: 2.5rem;
    color: pink;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 2rem;
    display: none;
}

