/* Hero - section */


.frontend-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    margin: auto;
    display: flex;
    background: linear-gradient(to right,
    rgba(0,0,0,0.2), 
    rgba(0,0,0,0.2)), url('../assets/female-developer.jpg') no-repeat  center center/ cover;
    
}
.hero-section {
    margin: 0 auto;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2rem;

}

.hero-section h1 {
    color: var(--white-color);
    
}

.hero-section a {
    background-color: var(--secondary-color);
    font-size: 1rem;
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 5px;

}

/* Overview */

h2 {
    text-align: left;
}
.overview-box {
    display: flex;
    flex-direction: column;
    margin-top: 30%;
}


.brief-detail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.sub-div-brief {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
    width: 100px;
}

.sub-div-brief h5 {
    color: var(--secondary-color);
}

.sub-div-brief img {
    width: 50px;
}

.brief-text {
    text-align: center;
}
.brief-text h5 {
    font-size: 0.875rem;
    line-height: 1;
}

.brief-text p {
    line-height: 1;
    padding-top: 0.25rem;
    font-size: 0.75rem;
}

/* Overview writeup */
.overview {
    margin-top: 5rem
}

.overview h2 {
    margin-bottom: 1rem
}

.overview p,
.overview li{
    text-align: justify;
    hyphens: auto;
    font-size: 0.9rem;
}

.overview ul {
    margin-top: 0.5rem;
}

.overview li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    list-style: none;
}

.span-sub-title1 {
    font-weight: 600;
}

/* Side panel */
.sidebar {
    background-color: #F0F1F2;
    margin-inline: 2rem;
    margin-top: 2.5rem;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.front-end-image-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-inline: 2rem;
}

.img-div {
    /* padding-inline: 1rem; */
    padding-block: 3rem;
    border-bottom: 1px solid rgb(183, 189, 191);
}

.img-div img {
    width: 100px;
}

.sub-txt {
    font-size: smaller;
    font-weight: 600;
    color: var(--secondary-color);
}

.apply-btn {
    margin: auto;
    margin-top: 2rem;
    background-color: var(--secondary-color);
    font-size: 1rem;
    text-align: center;
    color: var(--white-color);
    padding: 10px 32px;
    border-radius: 5px;
}

/* requirement section */

.requirement {
    position: relative;
    padding: 5rem 0;
    background-color: #F0F1F2;

}
.btns-box {
    display: flex;
    flex-direction: column ;
    border-bottom: 1px solid rgb(183, 189, 191);
}

.btns-box button {
    padding: 10px 20px;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    font-weight: 600;
    border-radius: 0;
    background-color: rgb(183, 189, 191, 0.3);
    border-bottom: 1px solid rgb(183, 189, 191);
    transition: all 0.5 ease;
}

.btns-box .btns.active {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.requirement-content-box {
    background-color: var(--white-color);
    box-shadow: 2px 2px 10px rgb(0, 0, 0, 0.2);
    padding: 1rem;
}

.requirement-content {
    margin-top: 1rem;
    display: none;
    animation: move .5s ease;
}

@keyframes move {
    from {
        transform: translateY(-3rem);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.requirement-content.active {
    display: block;
}

.requirement-content p{
    font-size: 0.9rem;
    text-align: justify;
    hyphens: auto;
}

.requirement-content li {
    list-style: square;
    font-size: 0.9rem;
    margin-left: 3rem;
    line-height: 2;
    text-align: justify;
    hyphens: auto;
}

.requirement-content ul {
    margin-top: 2rem;
}

.requirement-content table {
    margin: auto;
    border: 1px solid rgb(183, 189, 191);
    width: 100%;
    border-collapse: collapse;
}


.requirement-content td {
    text-align: center;
    padding: 0.5rem 2rem;
    font-size: 0.875rem;

}

.requirement-content th {
    height: 5rem;
    background-color: #F0F1F2;
    font-size: 1rem;
}

tr:nth-child(odd) {
    background-color: rgb(240, 241, 242, 0.7);
}

/* Tools */

.tools {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
    margin-top: 3rem;
}

.tools .sub-div-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.tools img {
    height: 50px;
    width: 50px;
}

.tools .img1 {
    width: 90px;
}

.sub-div-tools div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Class Clips */

.class-clips {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-block: 5rem;
}

.class-clip iframe {
    width: 300px;
    height: 168px;
    
}


/* xs */
/* @media (min-width: 475px) {

} */

/* sm */
/* @media (min-width: 640px) {

} */

/* md */
@media (min-width: 768px) {

    .frontend-hero {
        height: 65vh;
    }

    .hero-section a {
        font-size: 1.125rem;
    }

    .overview-box {
        margin-top: 15%;
    }

    /* Requirement tab */

    .btns-box {
        flex-direction: row;
        /* justify-content: space-between; */
    }

    .requirement-content td {
        font-size: 1rem;
    }
    
    .requirement-content th {
   
        font-size: 1.25rem;
    }
    
}



/* lg */
@media (min-width: 1024px) {

/* Overview */

.overview-box {
    flex-direction: row;
    gap: 3rem;
}

.sub-div-brief img {
    width: 80px;
    height: 80px;
}

.brief-text h5 {
    line-height: 1;
}

.brief-text p {
    line-height: 1;
    padding-top: 0.25rem;
}


.overview li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.overview p {
    text-align: justify;
}

/* Side panel */
.sidebar {
    margin-inline: 0;
    margin-top: 0;
    width: 30%;
}

.front-end-image-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-inline: 1rem;
}

.img-div img {
    width: 150px;
}


.apply-btn {
    font-size: 1.125rem;
    padding: 10px 20px;
}

/* requirement section */

.requirement {
    padding: 5rem 5rem;
}

.btns-box button {
    font-size: 1.25rem;
}


.requirement-content-box {
    padding: 3rem;
}


.requirement-content table {
    width: 90%;
}

.requirement-content td {

    text-align: center;
    padding: 0.5rem 2rem;
}

/* Tools */

.tools .sub-div-tools {
    flex-wrap: wrap;
    gap: 3rem;
}

.tools img {
    height: 70px;
    width: 70px;
}

.tools .img1 {
    width: 120px;
}

/* Class Clips */

.class-clips {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
}

.class-clip iframe {
    width: 450px;
    height: 253px;
    
}
}

/* xl */
@media (min-width: 1280px) {

    .hero-section a {
        font-size: 1.25rem;
    }

    .overview-box {
        margin-top: 10%;
    }
    
    .img-div {
        padding-inline: 3rem;
    }
    
    .img-div img {
        width: 200px;
    }

    .requirement {
        padding: 5rem 10rem;
    }

    .requirement-content table {
        width: 80%;
    }
    
    .tools .sub-div-tools {
        gap: 3rem;
    }
    
    .tools img {
        height: 100px;
        width: 100px;
    }
    
    .tools .img1 {
        width: 150px;
    }
  
    .class-clip iframe {
        width: 550px;
        height: 300px;
    }
}

/* 2xl */
/* @media (min-width: 1536px) {

} */