@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;1,100&display=swap');

/* new commit */
* {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;

}

.banner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    padding: 100px 0px 100px 100px;
    background-color: #fff;
    transition: 0.5s;
    z-index: 2;
}

.design {
    position: absolute;
    background: hsla(39, 100%, 50%, 0.3);
    width: 33%;
    height: 60%;
    transition: 0.5s;
    transform: rotate(46deg);
    /* right: -273px; */
    border-radius: 30%;
}

.content {
    position: relative;
    max-width: 100%;
    transition: 0.5s;

}

.content h2 {
    font-size: 5.5rem;
    color: #333;
    transition: 1s;

}

.content h2 span {
    color: orange;

}

.content p {
    font-style: 1.2rem;
    color: #666;
    margin: 10px 0px;
    transition: 0.5s;
}

.content button {
    position: relative;
    background: orange;
    color: #fff;
    border: none;
    outline: none;
    padding: 15px 35px;
    font-style: 1.25rem;
    letter-spacing: 0.05rem;
    margin-right: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.5s;
    font-weight: 600;
}

.content button a {
    color: #fff;
    text-decoration: none;
}

#chat {
    background: transparent;
}

#chat a {
    color: #333;
}


.dayNight {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.5s;
    font-size: 2rem;
}

.dayNight ion-icon:nth-child(2) {
    display: none;
}

.main.night .dayNight ion-icon:nth-child(1) {
    display: none;
}

.main.night .dayNight ion-icon:nth-child(2) {
    display: block;
}

.main.night {
    background: #333;
}

.main.night .dayNight {
    color: #fff;
    background: #444;
}

.main.night header .logo,
.main.night .content h2,
.main.night .content p,
.main.night .content button#chat a,
.main.night header ul li a {
    color: #fff;
}

/* banner */
.banner.night .dayNight ion-icon:nth-child(1) {
    display: none;
}

.banner.night .dayNight ion-icon:nth-child(2) {
    display: block;
}

.banner.night {
    background: #333;
}

.banner.night .dayNight {
    color: #fff;
    background: #444;
}

.banner.night header .logo,
.banner.night .content h2,
.banner.night .content p,
.banner.night .content button.chat,
.banner.night header ul li a,
.main.night .sectionTextbox {
    color: #fff;
}


/* old commit */

.sectionHeading {
    transition: 0.5s;
    width: fit-content;
    margin: 100px 0px;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0%);
    font-size: 4rem;
    color: orange;
}

.sectionTextbox {
    transition: 0.5s;
    width: 70%;
    position: realtive;
    transform: translate(20%, 0%);
    font-size: 1rem;
    color: #393E46;
}

/* navigation bar */
.navbarContainer {
    width: 100%;
    height: 10vh;
    background-color: #393E46;
    position: fixed;
    top: 0;
    cursor: pointer;
    overflow-y: hidden;
    z-index: 1;
}

.navbarContainer ul li:not(:nth-child(1)):hover {
    background-color: #222831;
}

.navbarContainer ul li:nth-child(6) {
    visibility: hidden;
}

.navbarContainer ul li:not(:nth-child(1)) {
    display: inline;
    float: right;
}

.navbarContainer ul li:nth-child(1) {
    display: inline-flex;
}

.navbarContainer ul li {
    padding: 20px;
    color: orange;
}

.navbarContainer ul li a {
    color: orange;
    text-decoration: none;
}

/* About Section */
.aboutMeText {
    text-align: justify;

}

.aboutMeText table td {
    width: 70%;
    text-align: left;
    padding: 5px;
    ;
}

/* educationSection */
.educationElement {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
}

.eduName {
    width: 50%;
}

.educationElement div {
    margin: 10px;
}

/* projectSection */
.projectElement {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0px;
}

.projectElement div a {
    text-decoration: none;
    color: orange;
}

/* contactme */
.sectionTextbox form {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin: auto;
}

.sectionTextbox form input {
    margin: 2px;
    padding: 10px;
    text-align: center;
    border: 2px solid orange;
    border-radius: 5px;
}

.sectionTextbox form input:focus {
    background-color: orange;
    color: #222831;
}

.submitButton {
    background-color: orange;
    width: 30%;
    padding: 5px 10px;
    border: none;
    border-radius: 20px;
    text-transform: uppercase;
    margin: 20px auto;
    cursor: pointer;
}

.submitButton:hover {
    background-color: #222831;
    color: #EEEEEE;
}

/* footer */
footer {
    margin-top: 100px;
    background-color: #222831;
    width: 100%;
    height: 50vh;
}

footer div,
footer div a {
    color: #EEEEEE;
}

footer div {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-10%, -50%);
}
