:root{

    --white-bg: #7A0006; 
    --white-inner: #ffffff; 
    --white-bg-target: #f7f0d6; 
    --header-bg: #BE0000;
    --header-bg-target: #FFD54A; 
    --body-bg: #ffffff;
    --body-bg-target: #FFB300;

    --return-factor: 0.5;
}



*{box-sizing:border-box}

body {
    margin: 0;
    padding-top: 100px; 
    font-family: 'Russo One', Arial, sans-serif;
    background-color: var(--body-bg);
    transition: background-color 200ms linear;
    background-color: #7A0006;;
}

.header, .headerTop {
    width: 100%;
    height: 100px; 
    background-color: var(--header-bg);
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 20px;
    transition: background-color 200ms linear;
    display: flex;

}

.headerText {
    color: white;
    text-align: start;
    font-size: 36px;
    font-family: 'Russo One', sans-serif;
    margin-left: 20px;
    width: 75%;
}
.toggleHolder {
    width: 25%;
    display: flex;
    justify-content: flex-end;
    
}


.content {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 50px;

    background-color: var(--white-bg);
    transition: background-color 200ms linear;
}

.content .white{

    background-color: var(--white-inner);
    width: 80%;
    border-radius: 10px;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    transition: background-color 200ms linear;
}



.sectionTitle, .operationTittle {
    
    font-size: 45px;
    font-weight: bold;
    color: #BE0000;
    margin: 50px;
    margin-bottom: 120px;
    
}

.firstTittle{
    
    font-size: 45px;
    font-weight: bold;
    color: #BE0000;
    margin: 50px;
    margin-bottom: 150px;
    margin-top: 120px;
}

.sectionContent {
    line-height: 1.5;
    font-size: 20px;
    margin: 1em;
    padding-left: 100px;
    padding-right: 100px;
}

.sectionContentIntro {
    line-height: 1.5;
    font-size: 20px;
    margin: 1em;
    padding-left: 100px;
    padding-right: 100px;
}



.sectionContentTLDR {
    line-height: 1.5;
    font-size: 20px;
    margin: 1em;
    padding-left: 100px;
    padding-right: 100px;
    margin-left: 100px;
    margin-right: 100px;
}

.key-phrase {
  color: red;
  font-weight: 800; 
}

.operationTittle{
    font-size: 45px;
    color: #FFFD74;
    text-shadow: 2px 2px 4px #000000;
}

.toggleHolder{


    label{
        margin-right: 10px;
        font-size: 18px;
        font-weight: bold;
        color: white;
    }
    input[type="checkbox"]{
        width: 40px;
        height: 20px;
        position: relative;
        
        background: #c6c6c6;
        outline: none;
        
        cursor: pointer;
    }
}

@media screen and (max-width: 1000px) {
    .sectionContent {
        font-size: 15px;
        margin: .5em;
        padding-left: 1em;
        padding-right: 1em;
    }

    .sectionContentIntro {
        font-size: 20px;
        margin: .5em;
        padding-left: 1em;
        padding-right: 1em;
    }

    .headerText{
        font-size: 28px;
    }


    .sectionTitle{
        font-size: 36px;

    }

}

.sectionHolder {
    text-align: center;
    font-size: 24px;
    margin: 20px;
    display: flex;
    flex-direction: column;
}

.full{
    display: flex;
    flex-direction: column;
}
.tldr{

    flex-direction: column;
}

.full,
.tldr {
    
    max-height: 0;
    opacity: 0;
    transition: max-height 360ms ease, opacity 260ms ease;
}

.full.open,
.tldr.open {
    opacity: 1;
    max-height: 2000000000px;
}

.mediaHolder{
    
    width: 100%;
    border: 7px solid #BE0000;
    border-radius: 15px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    background-color: rgb(245, 221, 221);
    margin-top: 30px;
    z-index: 10;
}

.theJunk{
    display: flex;

}

.mediaHolder h2{
    font-size: 20px;
    color: #BE0000;
    margin: 20px;
    text-align: start;
}

.mediaHolder .medias{
    display: flex;
    overflow-x: scroll;
    background-color: rgb(245, 221, 221);
}

.mediaHolder .medias .mediaFrame{
    background-color: white;
    border: 2px solid #BE0000;
    border-radius: 15px;
    margin: 20px;
    padding-left: 10px;
    padding-right: 10px;
 
    flex-direction: column;
    align-self: center;
    align-items: center;
}

.mediaHolder .medias .mediaFrame .verticleImage{
    margin: 0px;
    width: 200px;
    height: 400px;
    border-radius: 10px;
    padding: 0px;
    margin-top: 10px;
}

.mediaHolder .medias .mediaFrame .image{
    margin: 0px;
    width: 400px;
    border-radius: 10px;
    padding: 0px;
    margin-top: 10px;
}

.mediaHolder .medias .mediaFrame .verticleVideo{
    margin: 0px;
    width: 200px;
    height: 400px;
    border-radius: 10px;
    padding: 0px;
    margin-top: 10px;
}

.mediaHolder .medias .mediaFrame .video{
    margin: 0px;
    width: 400px;
    height: 250px;
    border-radius: 10px;
}

.mediaHolder .medias .mediaFrame .specialVideo{
    margin: 0px;
    margin-top: 10px;
    width: 400px;
    height: 250px;
    border-radius: 10px;
}

.mediaHolder .medias .mediaFrame .verticleText{
    font-size: 16px;
    margin: 10px;
    text-align: center;
    width: 200px;
}

.mediaHolder .medias .mediaFrame p{
    font-size: 16px;
    margin: 10px;
    text-align: center;
    width: 400px;
}

.infoHolder{
    width: 100%;
    
    justify-content: center;
    
    align-items: center;
    display: flex;
    margin: 20px;

    .boxHol{
        display: flex;
        width: 80%;
        gap: 20px;


        .infoBox{
            width: 50%;
            border: 2px solid #BE0000;

            border-radius: 15px;

            h2{
                font-size: 20px;
                color: #BE0000;
                margin: 20px;
                text-align: start;

                
            }
            .learnedList{
                text-align: start;
                margin-left: 25px;

            }
            .list{
                text-align: start;
                margin-left: 25px;
                margin-right: 20px;
            }

            .listHeader{
                margin-bottom: 0;
            }

            .listDesc{
                margin-left: 40px;
                font-size: 17px;
                margin-top: 0;

            }
        }
    }
    
}

.content{
    margin-bottom: 60px;
}

.gradeTop{
    display: flex;
    justify-content: center;
    align-items: center;


    .gradeContent{
        border: solid 5px #BE0000;
        border-radius: 15px;
        text-align: center;
        width: 60%;

        display: flex;
        font-size: 24px;
        color: #BE0000;
        font-weight: bold;
        margin: 30px;
        flex-direction: column;

        .gradeHeaderText{
            font-size: 36px;

            color: white;
        }
        .gradeSubHeaderText{
            font-size: 55px;

            color: white;
        }
    }

}

.gradesTopText{
    color: white;
    text-align: center;
    font-size: 30px;
    margin: 80px;
}

.subjects{
    margin-left: 35px;
    display: flex;
    gap: 10px;
    justify-content: space-evenly;
    overflow-x: scroll;
    margin-bottom: 50px;
    padding-bottom: 35px;
    .subject{
        .subjectTittle{
            
            font-size: 30px;
            font-weight: bold;
            color: White;
            margin-top: 30px;
            margin-bottom: 10px;
        }

        .subjectFrame{
            border: 3px solid #BE0000;
            border-radius: 15px;
            display: flex;
            flex-direction: column;
            gap: 0;

            .gradeDisplays{
                display: flex;
                flex-direction: row;
                margin-top: 15px;
                margin-bottom: 15px;

                .gradeDisplay{
                
                    display: flex;
                    flex-direction: column;
                    text-align: center;
                    margin: 0;
                    padding: 0;
                    margin-left: 10px;
                    margin-right: 10px;

                    .gradeText{
                        margin: 0;
                        padding: 0;
                        color: white;
                    }

                    .subjectGradeDesc{
                        padding: 0;
                        margin: 0;
                        font-size: 16px;
                        color: white;
                    }

                }
            }

            .video{
                margin: 20px;
                width: 350px;
                height: 200px;
                border-radius: 10px;
                align-self: center;
                margin-bottom: 20px;
            }

            .image{
                margin: 20px;
                width: 350px;
                height: 200px;
                border-radius: 10px;
                align-self: center;
                margin-bottom: 20px;
            }

            .subjectDescBottom{
                font-size: 18px;
                margin: 20px;
                margin-top: 0;
                margin-bottom: 30px;
                color: white;
                width: 330px;
                text-align: center;

            }
            
        }
    }
}



@media screen and (max-width: 720px) {

 

    .subjects{

        margin-left: 35px;
        flex-direction: column;
        

        .subject{
            margin-right: 30px;

            .subjectTittle{
                
                font-size: 30px;
                margin-top: 30px;
                margin-bottom: 10px;
            }

            .subjectFrame{

                .gradeDisplays{
                    margin-top: 15px;
                    margin-bottom: 15px;

                    .gradeDisplay{
                    
                        margin: 0;
                        padding: 0;
                        margin-left: 10px;
                        margin-right: 10px;

                        .gradeText{
                            margin: 0;
                            padding: 0;

                        }

                        .subjectGradeDesc{
                            padding: 0;
                            margin: 0;
                            font-size: 16px;

                        }

                    }
                }

                .video{
                    margin: 20px;
                    width: 350px;
                    height: 200px;

;
                }

                .image{
                    margin: 0px;
                    width: 350px;
                    height: 200px;

                }

                .subjectDescBottom{
                    font-size: 18px;
                    margin: 20px;
                    margin-top: 0;

                    width: 330px;

                    width: 90%;


                }
                
            }
        }
    }



    .sectionContentTLDR {
        line-height: 1.5;
        font-size: 18px;
        margin: 0;
        padding: 0;
        margin-bottom: 20px;
        margin-left: 15px;
        margin-right: 15px;

    }

    .gradeTop{


        .gradeContent{

            width: 60%;
            font-size: 24px;
            margin: 15px;

            .gradeHeaderText{
                font-size: 20px;


            }
            .gradeSubHeaderText{
                font-size: 55px;


            }
        }

    }


    .infoHolder{

        width: 100%;
        
        justify-content: center;
        
        align-items: center;
        display: flex;
        margin: 0;
        padding: 0;
        

        .boxHol{
            display: flex;
            flex-direction: column;
            width: 90%;
            gap: 20px;
            margin-bottom: 40px;


            .infoBox{
                display: flex;
                flex-direction: column;
                width: 100%;
                border: 2px solid #BE0000;
                gap: 0;

                border-radius: 15px;

                h2{
                    font-size: 20px;
                    color: #BE0000;
                    margin: 20px;
                    text-align: start;

                    
                }
                .learnedList{
                    display: flex;
                    flex-direction: column;
                    text-align: start;
                    margin-left: 25px;
                    font-size: 18px;
                    
             
                    padding: 0  ;

                    line-height: 1;

                }
                .list{
                    display: flex;
                    flex-direction: column;
                    text-align: start;
                    margin-left: 25px;
                    margin-right: 20px;
                }

                .listHeader{
                    margin-bottom: 0;
                    font-size: 20px;
                }

                .listDesc{
                    margin-left: 40px;
                    font-size: 15px;
                    margin-top: 0;

                }
            }
        }
        
    }

    .headerText{
        font-size: 20px;
    }


    .toggleHolder{
        margin: 0;
        padding: 0;


        label{
            margin-right: 5px;
            font-size: 15px;
            font-weight: bold;
            color: white;
            margin: 0;
            padding: 0;
        }
        input[type="checkbox"]{
            margin: 0;
            padding: 0;
            width: 30px;
            height: 15px;
            position: relative;
            
            background: #c6c6c6;
            outline: none;
            
            cursor: pointer;
        }
    }
}

