*, *::before, *::after {
  box-sizing: border-box; 
}


html{
   
    height: 100%;
    width: 100%;
}


body {
    background-color: rgb(252, 248, 238);
    height: 100%;
    width: 100%;
    padding: 0%;
   
    display: block;
    margin:0;
    
    justify-content: center;
   
}





/* FONTS */


.bebasFont{
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}




/* <weight>: Use a value from 200 to 700 */
.oswaldFont {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

/* <weight>: Use a value from 100 to 900 */


.robotoFont {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}





#headerDiv{
   

    background-color:#3571a3;
    width: 100%;
    height: 15%;

    
    display: flex;
    align-items: center;


}

#goBackButton {
    width: 15%;
    height: 80%;
    background-color: transparent;
    color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding-left: 1%;

}

#goBackText {
    font-family: 'Oswald', sans-serif;
    color: black;
    font-weight: 400;
    font-size: 150%;
    text-align: left;
    line-height: 1;
    align-items: center;
    padding-left: 1%;
   color: white;

}

#title {
    width: 70%;
    color: white;
    font-family: 'Oswald', sans-serif;
    font-size: 150%;
    text-align: center;
    font-weight: 400;
}

#descriptionDiv {
       

    
    background-color: rgba(218, 218, 201, 0.842);
    width: 100%;
    height: 8%;
    

    display: flex;
    align-items: center;
    justify-content: center;
    
}


#descriptionText {
    color: #cca115;
    font-weight: 500;
    font-size: 120%;



}

#codeBoxesContainer{
    
    margin-top: .5%;
    flex-wrap: wrap;
    display: flex;
    margin-left: 1%;
        

}

#titanicPythonCode{
    margin-top: .5%;
    width:25%;
    height: 30%;
    font-family: "Roboto", sans-serif;
    font-style: bold;
    font-weight: 500;

    background-color: white;
    
    display:inline;
    align-items: center;
    justify-content: center;
    
}




#titanicPythonCode.expanded{
border: 1px solid black;
width: 100%;
height: 50%;
transition: .5s ease;
overflow: hidden;  

}

#titanicPythonCode.expanded #secondLine, 
#titanicPythonCode.expanded #expandIcon,
#titanicPythonCode.expanded #shipIcon{
display:none;
}




#firstLine{
    width: 100%;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    background-color: #649ac5;
    
}
#titleTitanicPythonCode {
    color: white;
        display: flex;
 white-space: nowrap;
    width: 60%;
    height: 60%;
    justify-content: center;
       


}

#shipIcon{
padding-bottom: 1%;
padding-left: 5%;
width: 15%;
height: 15%;

}



#secondLine{

width: 100%;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    background-color: white;

}

#thirdLine {

width: 100%;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    background-color: white;

}

#expandIcon {

width: 6%;
height: 6%;
    transform: rotate(90deg);

}

#secondLine:hover{

    background-color: rgb(233, 227, 227);
    cursor: pointer;
}

#thirdLine:hover{

    background-color: rgb(233, 227, 227);
    cursor: pointer;
}
    
a{

text-decoration: none;
color: inherit
}


#containerTitanicPythonBlocks{

display: none;

}

#titanicPythonCode.expanded #containerTitanicPythonBlocks{

display: flex;
flex-direction: row; 
justify-content: flex-start;
width: 100%;
height: 100%;
margin: 0;

}



.titanicPythonBlocks{
height: auto;
width: 20%;
background-color:  rgb(223, 215, 215);
text-align: center;
display: flex;
flex-direction: column;
align-items: center;

margin: 0;

}

.titanicPythonBlocks:hover{

background-color: rgb(192, 189, 189);
cursor: pointer;
}

.pythonBlockTitle{
text-align: center;
align-content: center;
margin: 0;
padding: 7%;
background-color: #8a8a8a;
width: 100%;
color: white;
}
.divPythonBlocksExpand{

width: 100%;
height: 20%;
margin-top: auto;


}
.pythonBlocksExpand{
height: 30px;
width: 30px;
    transform: rotate(90deg);


}



.descriptionPythonBlocks {
align-content: center;
width: 100%;
height: auto;
flex-grow: 1;
margin-top: 0;
padding-top: 5% ;
padding-left: 5%;
padding-right: 5%;
text-align: justify;
justify-content: center;


}

#pyDataTransformation{

display: none;

}

#pyDataTransformation.expanded{

margin-top: 0;
display: flex;
padding-left: 4%;
margin-bottom: 0;

}


#pyDTTEST{

display: none;

}

#pyDTTEST.expanded{

margin-top: 0;
display: flex;
padding-left: 4%;
margin-bottom: 0;

}


#pyFinalModel{

display: none;

}

#pyFinalModel.expanded{

margin-top: 0;
display: flex;
padding-left: 4%;
margin-bottom: 0;

}

#pyFinalPrediction{

display: none;

}

#pyFinalPrediction.expanded{

margin-top: 0;
display: flex;
padding-left: 4%;
margin-bottom: 0;

}

#pyOptuna{

display: none;


}

#pyOptuna.expanded{

margin-top: 0;
display: flex;
padding-left: 4%;
margin-bottom: 0;

}


