@font-face {
    font-family: 'Poppins';
    src: url(font-folder/Poppins-Regular.ttf);
}
@font-face {
    font-family: 'Roboto';
    src: url(font-folder/Roboto-Regular.ttf);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
::selection{
    background-color: lightseagreen;
    color: white;
}

/*set-theme */
:root {
    --backgroundcolorTheme: whitesmoke;
    --colorTheme: black ;
}

body {
    width: 100%;
    height: 100%;
    background-color: var(--backgroundcolorTheme);
}

nav {
    background: var(--backgroundcolorTheme);
    display: flex;
    justify-content: space-between;
    padding: 13px 35px;
    border-bottom-right-radius: 23px;
    margin-bottom: 10px;
    border-bottom-left-radius: 23px;
    box-shadow: 0px 0px 4px  grey;
}

nav div:nth-child(1) {
    display: flex;
    align-items: center;
    font-size: 22px;
    padding: 11px;
    color: var(--colorTheme);
}

.ri-moon-fill,
.ri-sun-fill {
    font-size: 22px;
    padding: 11px;
    cursor: pointer;
}



nav div:nth-child(2) {
    width: 45%;
    border: 2px solid #e1dddd;
    border-radius: 26px;
    display: flex;
    justify-content: space-between;
    height: 3em;
    display: flex;
    align-items: center;
    padding-left: 20px;
    background-color: var(--backgroundcolorTheme);
}

nav div:nth-child(2) input {
    border: none;
    flex: 1;
    background-color: var(--backgroundcolorTheme);
    color: var(--colorTheme);
    font: 16px;
    outline: none;
}

nav div:nth-child(2) i {
    font-size: 21px;
    width: 10%;
    border-left: 2px solid #e1dddd;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #d5d2d2;
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
}

nav div:nth-child(3) {
    display: flex;
    align-items: center;
}

nav div:nth-child(3) button {
    padding: 10px 20px;
    font-size: 17px;
    border: 2px solid var(--colorTheme);
    color: var(--colorTheme);
    border-radius: 22px;
    cursor: pointer;
    background: var(--backgroundcolorTheme);
}

nav div:nth-child(3) button>i {
    font-size: 18px;
}

main {
    display: flex;
    height: 100%;
    width: 100%;
}

.aside-section {
    min-height: 87.7vh;
    width: 4%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: .4s;
    background: var(--backgroundcolorTheme);
    border-top-right-radius: 20px;
    box-shadow: 0px 0px 4px  grey;
}

.aside-section-div {
    width: 11em;
}

.aside-section aside .language-span {
    display: none;
    width: 75%;
    /* Initially hide the spans */
}
.aside-section aside{
    position: fixed;
}
.aside-section aside .language-span.flex {
    display: flex;
}



.aside-section aside div {
    display: flex;
    align-items: center;
    padding: 9px 7px;
    justify-content: space-between;
    margin: 30px 0px;
    border-radius: 10px;
    transition: .2s;
    cursor: pointer;
    background-color: #fff;
}

.aside-section aside div:hover {
    background-color: #e1dddd;
}

.aside-section aside div>img {
    width: 30px;
}

.videos-section {
    width: 96%;
    height: 100%;
}
.hero-section{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    height: 87.7vh;
    color: var(--colorTheme);
}
.hero-section div:nth-child(1){
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-section p{
    width: 54%;
    text-align: center;
    font-size: 17px;
    line-height: 25px;
    font-family: 'Poppins',sans-serif;
}
.hero-section h1:nth-child(1){
 font-size: 55px;
 width: 54%;
 text-align: center;
}
.hero-section h1:nth-child(2){
    font-size: 65px ;
    color: lightseagreen;
    font-family: 'Poppins',sans-serif;
}
.hero-section div:nth-child(2) img{
   width: 50px;
   margin: 10px;
}
.hero-section div:nth-child(2) h2{
    text-align: center;
    margin: 12px;
    font-size: 28px;
}
#javascript,
#c-plus-plus,
#python,
#mongo-db,
#github,
#react {
    display: none;
    flex-direction: column;
    align-items: center;
}

#javascript h1,
#c-plus-plus h1,
#python h1,
#mongo-db h1,
#github h1,
#react h1 {
    padding: 20px;
    font-size: 34px;
    color: var(--colorTheme);
}

#language-videos {
    display: flex;
    flex-wrap: wrap;
    padding: 22px;
}

#language-videos iframe {
    border-radius: 14px;
    box-shadow: 0px 0px 10px 0px grey;
}

#video {
    padding: 5px;
}