@font-face {
    font-family: "Inter-Bold-Italic";
    src: url(../fonts/Inter-BoldItalic.otf);
}

@font-face {
    font-family: "Inter-Bold";
    src: url(../fonts/Inter-Bold.otf);
}

@font-face {
    font-family: "Inter";
    src: url(../fonts/Inter-Regular.otf);
}

body {
    padding: 0;
    margin: 0;
    background-color: #2E2E2E;
    color: #fff;
}

footer {
    background-color: #454545;
    height: 150px;
}

h1 {
    font-family: "Inter-Bold-Italic", Arial, sans-serif;
    font-size: 40px;
}

h2 {
    font-family: "Inter-Bold", Arial, sans-serif;
    font-size: 24px;
}

p, a, form {
    font-family: "Inter", Arial, sans-serif;
    font-size: 22px;
    text-decoration: none;
    color: #fff;
}

img {
    object-fit: cover;
}

button, .submit {
    background-color: #7252FE;
    color: #fff;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px 10px 20px;
    font-size: 20px;
}

.navbar1 {
    height: 90px;
    background-color: #7252FE;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar2 {
    height: 65px;
    background-color: #454545;
    font-family: "Inter-Bold";
}

.navbartitle {
    padding-left: 172px;
}

.navbaricons {
    padding-right: 172px;
}

.fixed {
    width: 100%;
    position: fixed;
    z-index: 1;
}

.tabs {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-family: Inter-Bold;
    padding-left: 282px;
    padding-right: 282px;
}

.icon {
    width: 48px;
    height: 48px;
}

.backtotop {
    text-align: right;
    padding-right: 282px;
}

.portrait {
    width: 400px;
    box-shadow: 5px 5px 10px #000;
    border-radius: 20%;
}

.mainabout {
    display: flex;
    justify-content: space-around;
    padding-left: 210px;
    padding-right: 210px;
    padding-top: 130px;
}

.maintext {
    padding-left: 107px;
}

.centertext {
    display: flex;
    justify-content: center;
}

.skills {
    display: flex;
    justify-content: space-around;
}

.codelanugaescontainer {
    display: flex;
    justify-content: center;
}

.codelang {
    width: 150px;
    height: 150px;
    padding: 20px;
}

.honorscontainer {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.honor {
    width: 280px;
    height: 280px;
    padding: 20px;
    border-radius: 50%;
}

.honor1 {
    width: 500px;
    border-radius: 20%;
} 

.datascienceprojects {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.project {
    width: 500px;
    height: 300px;
    margin: 20px;
}

.portrait, .project {
    box-shadow: 5px 5px 10px #000;
}

.space {
    padding-top: 100px;
}

.projecttext {
    text-align: center;
}

.contactcontainer {
    display: flex;
    justify-content: center;
}

.contacttext {
    padding-left: 100px;
    padding-right: 100px;
}

.aligncenter {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-left: 200px;
    margin-right: 200px;
    padding: 5px;
    padding-bottom: 0px;
}

.logoscon {
    display: flex;
    justify-content: space-around;
}

.logo2 {
    width: 100px;
    box-shadow: 5px 5px 10px #000;
}

/* Projects */

.project-image {
    width: 1000px;
    box-shadow: 5px 5px 10px #000;
}

.tab2project2 {
    width: 800px;
}

/* Dark Mode*/
.dark-mode {
    background-color: #2E2E2E;
    color: #fff;
    p, a, form {
        color: #fff;
    }
}

.light-mode {
    background-color: #fff;
    color: #2E2E2E;
    p, a, form {
        color: #2E2E2E;
    }
    .navbartitle {
        color:#fff;
    }
    .tabs, a {
        color: #fff;
    }
    .codelang {
        box-shadow: 5px 5px 10px gray;
        border-radius: 20px;
} 
}

/* Display small */
@media screen and (max-width: 1200px) {
    .navbar1 {
        height: 150px;
    }
    .navbar2 {
        height: 140px; 
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
  p, h1, h2, body {
    text-align: center;
  }
  .portrait {
    width: 500px;
    padding-top: 200px; 
    border-radius: 10px;
  }
  .mainabout {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
  }
  .honorscontainer {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .centertext {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .aligncenter {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .tabs {
    padding: 0;
  }
  .maintext {
    padding: 0;
  }
  footer {
    width: 100%;
  }
  .space2 {
    height: 100px;
  }
}