html {
    font-family: 'Montserrat', sans-serif;
    background-color: black;
    color: white;
}

/* -------------------------------------Home---------------------------------------- */

/* navigation bar */

.active {
    color: #b74b4b;
    text-decoration: underline;
}
.navBar {
    position: relative;
    text-align: center;
    height: 0cm;
    padding-left: 32cm;
    padding-top: 40px;
    word-spacing: 1cm;
    color: white;
}

a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: scroll-text 2s ease;
}

a:hover {
    color:#b74b4b;
    text-decoration: underline;
}

.active {
    color: #b74b4b;
    text-decoration: underline;
}

.logo{
    color:#b74b4b;
    font-weight: 800;
    font-size: 32px;
    padding-left: 2cm;
    transition: 0.5s ease;
    width: 1cm;
}

.logo:hover {
    transform: scale(1.1);
}

.home-img{
    width: 350px; /* Width of the oval */
height: 550px; /* Height of the oval */
border-radius: 50%; /* Makes it an oval */
background-image: url('assets/Anil Photo.png'); /* Replace with your image path */
background-size: cover; /* Ensures the image covers the entire oval */
background-position: center; /* Centers the image inside the oval */
padding:1cm;
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
}

.home .home-content h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.3;
    padding-left: 3cm;
}

.home .home-content h3 {
    padding-left: 3cm;
}

.home-content p {
    color: white;
    padding-left: 3cm;
}

.home-content span {
    color: #b74b4b;
}

.typing-text {
    font-size: 32px;
    font-weight: 600;
    min-width: 280px;
}

.typing-text span {
    position: relative;
}

.typing-text span::before {
    content: "School Student";
    color: #b74b4b;
    animation: words 20s infinite;
}

.typing-text span::after {
    content: "";
    background-color: black;
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid black;
    right: -8;
    animation: cursor 0.6s infinite;
}

@keyframes cursor {
    to {
        border-left: 3px solid #b74b4b;
    }
}

@keyframes words {
    0%, 20%{
        content: "Developer";
    }

    21%, 40%{
        content: "Roboticist";
    }

    41%, 60%{
        content: "Web Designer";
    }

    61%, 80%{
        content: "Server Engineer";
    }

    81%, 100%{
        content: "Software Engineer";
    }
}

/* ----------------------------------------Info-------------------------------------------- */

.info {
    display: flex;
    background-color: black;
}

/* Creations-Section */

#creations-heading {
    text-align: center;
    padding-top: 1cm;
    color: #b74b4b;
}

.info-img {
    max-width: 100%;
    display: grid;
    height: 6cm;
    border-radius: 0.5cm;
    transition: 0.5s ease;
    box-shadow: 0px 0px 10px #fff6;
}

.info-img:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 35px #fff6;
}

#web-img {
    float: left;
    margin-top: 1cm;
    margin-left: 9cm;
}

#port-img{
    float: left;
    margin-top: 1cm;
    margin-left: 1cm;
    height: 6cm;
    cursor: pointer;
}

#poster-img {
    float: left;
    margin-top: 8.5cm;
    margin-left: -21cm;
    height: 6cm;
}

#iron-img {
    float: left;
    margin-top: 8.5cm;
    margin-left: 1cm;
    height: 6cm;
}