/* scrolling effect by chatgpt */
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Comfortaa', cursive;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    background-image: url(pics/bubbles.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.scroll-to-target {
    transition: all 0.5s ease;
}

.menu-bar {
    background-color: #ffecec;
    padding: 0.5rem 0;
    text-align: left;
    height: 50px;
    display: flex;   
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: fixed;
    min-width: 560px;
    background-color: rgba(255, 237, 237, 0.538); 
    
}

.menu-bar a {
    text-decoration: none;
}
.menu-bar-contents {
    display: flex;
    flex-direction: row;
    margin: 0 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.bar-home {
    margin-left: 30%;
    font-family: "Capriola", sans-serif;
    font-weight: 900;
    font-size: 25px;
    color: rgb(210, 102, 213);
}
.bar-contact {
    margin-right: 30%;
    font-family: "Capriola", sans-serif;
    font-weight: 900;
    font-size: 25px;
    color: rgb(210, 102, 213);
}
.bar-about {
    font-family: "Capriola", sans-serif;
    font-weight: 900;
    font-size: 25px;
    color: rgb(210, 102, 213);
}
.bar-portfolio {
    font-family: "Capriola", sans-serif;
    font-weight: 900;
    font-size: 25px;
    color: rgb(210, 102, 213);
}
.bar-about:hover,.bar-contact:hover,.bar-home:hover,.bar-portfolio:hover {
    font-size: 28px;
    color: rgb(255, 242, 255);
    text-shadow: 0px 0px 10px rgb(172, 58, 176);
    transition: 0.3s;
    
}
.body-grid {
    display: grid;
    grid-template-rows: auto 1fr auto 1fr;
}
#home {
    
    
}
.welcome-section {
    padding: 400px 30px 30px 300px;
    background-color: #ffbec179;
    height: 500px;
}
.name-welcome {
    font-family: "Rubik Spray Paint", Arial, Helvetica, sans-serif;
    font-size: 70px;
    margin: 0;
    box-sizing: border-box;
    color: white;
}
.description-welcome {
    font-size: 20px;
    font-style: italic;
    margin-left: 60px;
    margin-top: 10px;
    color: white;
    
}
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}
.about-section {
    background-color: rgba(255, 255, 255, 0.5); 
    padding: 20px;
    margin-bottom: none;
    padding-bottom: 20px;
}

.about-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profilepic {
    max-width: 100%;
    height: auto;
    border-radius: 25px;
}

.about-title {
    font-family: "rubik spray paint", Arial, Helvetica, sans-serif;
    font-weight: 500;
    text-align: center;
    font-size: 45px;
    padding-top: 80px;
    padding-bottom: 20px;
    color: rgb(210, 102, 213);
}

.about-p {
    text-align: justify;
    font-size: 18px;
    margin-left: 10%;
    margin-right: 10%;
    line-height: 1.2;
    color: rgb(144, 60, 145);
}
/* help / error correction by chatgpt  */
@media (min-width: 500px) {
    .about-grid {
        grid-template-columns: 1fr 2fr; 
        justify-content: center;
    }
    .about-grid .profilepic-div {
        margin-right: 20px;
    }
    .profilepic {
        max-width: 50%;
        margin-bottom: 50px;
        align-items: start;
    }
    .about-grid .about-p {
        max-width: 600px;
    }
    .about-p {
        align-self: flex-start;
    }
    
}

@media (max-width: 1000px) {
    .profilepic {
        max-width: 50%;
        height: auto;
        margin-bottom: 50px;
    }
    .bar-home {
        margin-left: 10%;
    }
        .bar-contact {
            margin-right: 10%;
        }
}

@media (min-width: 1200px) {
    .about-grid {
        display: grid;
        grid-template-columns: 2fr 3fr; 
        grid-gap: 20px;
        margin-left: 30px;
    }
    .profilepic {
        max-width: 100%;
        margin-bottom: 50px;
}

}
/* through here */

.profilepic-div {
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact-section {
    background-color: rgba(255, 255, 255, 0.5); 
    padding-top: 400px;
    padding-bottom: 400px;
    }
.have-question {
    font-family: "rubik spray paint", Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 50px;
    color: rgb( 210, 102, 213);
}

.send-button {
    font-family: "Capriola", sans-serif;
    font-weight: 100;
    display: block;
    padding: 20px 30px;
    margin: 0 auto;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 20px;
    color: #fff;
    background-color: #ffd2e2;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}
.send-button:hover {
    color: #e896b3;
    background-color: #ffffff;
    border-style: solid;
    border-width: 1px;
    border-color:  #ffbcd3;
    box-shadow: inset 0px 0px 8px #e896b3;
    
}