:root{
    --theme: #ffffff;
    --emphasize-font-color: #6061AC;
    --emphasize-secondary-font-color: #d55454;
    --regular-font: x-large;
    --small-font: large;
    --font-family: "lust-text", serif;
    --sub-text-font: 4em;
    --summary-font: 50px;
    --secondary-font-family: "futura-pt", sans-serif;
    --gray-font-color: #413f42;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
}

body{
    background-color: var(--theme);
    margin: 0;
}

figcaption{
    color:var(--gray-font-color);
    font-family: var(--secondary-font-family);
    font-style: italic;
}

figure{
    justify-items: center;

}

section {
    padding: 7vw 0;
}

.fixed_width{
    max-width: 1500px;
}

/*----------------------navigation-------------------------*/
#t0{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
    width: 100%;
}

.top_nav{
    width: 95%;
    height: 80px;
    background-color: #000000c9;
    color: white;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: fixed;
    top: 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999;
    padding: 0 10px;
    border-radius: 50px;
    margin: 5px;
  }

.top_nav a{
    font-size: large;
    text-decoration: none;
    color: #FF8A1F;
    padding-left: 10px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top_nav a:hover{
    color: white;
}

.nav_logo{
    width: 50px;
    height: 50px;
  }

#t0{
    padding: 0;
}




/*----------------------navigation-------------------------*/

.side-bar {
  width: 160px;
  height: 100vh;
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--secondary-font-family);
}

nav ul {
  padding: 0;
}

nav li {
  list-style: none;
}

nav li a {
  text-decoration: none;
  color: var(--gray-font-color);
  display: block;
  padding: 0.6rem 0.3rem;
  font-weight: 400;
  transition: all ease-in-out 250ms;
}

nav li a:hover {
  color: rgb(0, 0, 0);
}

.navigation{
    transition: all ease-in-out 250ms;
    opacity: 0;
    visibility: 0;
    background-color: #ffffff;
    padding: 0px 25px;
    border-radius: 25px;
    box-shadow: 0px 0px 5px 0px black;
}

.active {
  color: rgb(0, 0, 0); 
  font-weight: 600;
  border-left: black solid 2px;
}


/*----------------------tools-------------------------*/
hr{
    border: 1px solid var(--emphasize-font-color);
}


.tools{
    background-color: var(--theme);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--secondary-font-family);
    color: black;
    padding: 50px 0;
}

.tools_div{
    width: 65%;
}


.tool_box{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.tps_tools_used{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.tool_box_content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tool_box_content div{
    font-size: var(--regular-font);
}

.tool_box_content p{
    color: var(--emphasize-font-color);
    font-family: var(--font-family);
    font-size: var(--small-font);
}

/*----------------------hero-------------------------*/

.intro{
    background-color: var(--theme);
    height: auto;
    padding: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    box-sizing: border-box;
    font-family: var(--font-family);
    font-weight: 500;
    max-height: 800px;
}

.intro span{
    font-family: var(--secondary-font-family);
}

.hero_video{
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro video{
    width: 80%;
    height: auto;
    max-width: 300px;
    border-radius: 30px;
    background-color: black;
    box-shadow: 0px 0px 5px 1px black;
}

.title_topic{
    display: flex;
    flex-direction: column;
    height: 70vh;
    justify-content: flex-start;
    width: 35%;
}

.title_topic p{
    color: var(--emphasize-font-color);
    font-size: 5vw;
    font-weight: bold;
    margin: 10px 0;
}

.title_topic span{
    color: rgb(0, 0, 0);
    font-size: var(--regular-font);
}

.tps_img{
    width: 100%;
    height: auto;
    max-height: 700px;
    padding-left: 20px;
}




/*----------------------introduction-------------------------*/


.summary{
    padding: 100px 50px;
    box-sizing: border-box;
    font-family: var(--font-family);
    font-weight: 500;
    display: flex;
    justify-content: center;
}

.summary_box{
    padding: 40px;
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.summary_paragraph1{
    padding: 0 40px;
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.summary_paragraph1 p{
    font-size: var(--summary-font);
    font-weight: bold;
    color: var(--emphasize-font-color);
    margin-top: 0;
}

.summary_paragraph1 span{
    font-size: var(--regular-font);
    font-family: var(--secondary-font-family);
}

.summary_paragraph1 li{
    list-style-position: inside;
    text-align: left;
}

.summary_paragraph{
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.summary_paragraph span{
    font-size: var(--regular-font);
    font-family: var(--secondary-font-family);
}

.urwbaskerville_img{
    width: 30vw;
    height: auto;
    padding: 30px;
    max-width: 600px;
}

.letter_img{
    width: 25vw;
    height: auto;
    padding: 50px;
    max-width: 500px;
}

.summary_paragraph p{
    font-size: var(--summary-font);
    font-weight: bold;
    color: var(--emphasize-font-color);
}

.problem_img{
    width: 80%;
    height: auto;
}

.goal_paragraph{
    background-color: #45465E;
    color: white;
}

.goal_paragraph p{
    color: white;
}

.goal_list{
    margin: 0;
}

/*----------------------research process-------------------------*/

.research_paragraph{
    padding: 0 40px;
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.research_paragraph p{
    font-size: var(--summary-font);
    font-weight: bold;
    color: var(--emphasize-font-color);
    margin-top: 0;
}

.research_paragraph span{
    font-size: var(--regular-font);
    font-family: var(--secondary-font-family);
}

.research_content{
    width: 90%;
}

.research_buttons{
    padding-top: 25px;
}

.research_buttons button{
    padding: 10px 20px;
    background-color: white;
    color: black;
    border: none;
    border-radius: 10px;
    box-shadow: 0px 0px 5px rgb(65, 65, 65);
    font-family: var(--secondary-font-family);
    font-size: var(--regular-font);
    margin: 10px;
}

.research_img{
    width: 70%;
    max-width: 500px;
    height: auto;
    padding: 0px 10px;
}

.research_img img{
    width: 100%;
    height: auto;
}



/*----------------------design process-------------------------*/
.design_process_box_mobile{
    display: none;
}

.sub_text{
    justify-items: center;
}

.sub_text p{
    font-size: var(--sub-text-font);
    justify-items: center;
    color: var(--emphasize-font-color);
    font-weight: bold;
    font-family: var(--font-family);
}

.design_process{
    background-color: white;
    justify-items: center;
}
/*----
.design_img{
    width: 70%;
    height: 100%;
}

.design_img img{
    width: 100%;
    height: 100%;
}
-------*/

.design_process_box{
    display: grid;
    grid-template-columns: 3fr 1fr 3fr;
    width: 65%;

}

.design_process_box_grid{
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
}

.design_process_box p, .design_process_box_mobile p{
    font-family: var(--font-family);
    font-size: var(--summary-font);
}

.design_process_box span, .design_process_box_mobile span{
    font-family: var(--secondary-font-family);
    font-size: var(--regular-font);
}

.design_process_img{
    width: 100%;
    height: auto;
}

.design_process_line{
    width: auto;
    height: 65%;
    padding: 0 20px;
}
/*----------------------Early Ideation-------------------------*/

.early_ideation{
    background-color: White;
}


.early_ideation_box > div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.early_ideation p{
    font-family: var(--font-family);
    font-size: var(--summary-font);
}

.early_ideation_images{
    width: 65%;
    padding: 40px 0;
}

.early_ideation_images p{
    font-size: var(--summary-font);
    color: var(--emphasize-secondary-font-color);
}

.early_ideation_images span{
    font-family: var(--secondary-font-family);
    font-size: var(--regular-font);
    text-align: left;
}

.early_ideation_images li{
    list-style: none;
    padding: 20px 0;
}

.early_ideation_images ul{
    padding: 0 25px;
}

.ui_design_img{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    padding: 0 25px;
}

.ui_design_img img{
    width: 100%;
    height: auto;
}



/*----------------------result-------------------------*/

.result{
    background-color: #45465E;
    color: rgb(255, 255, 255);
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.result_box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: var(--regular-font);
    width: 65%;
}

.result_box img{
    width: 100%;
    height: auto;
}

.result_paragraph{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
}

.result_paragraph p{
    font-size: var(--summary-font);
    font-family: var(--font-family);
    text-align: center;
}

.bullet, .bullet li{
    list-style: none;
    padding: 20px 0;
    font-family: var(--secondary-font-family);
    text-align: center;
    margin: 0;
}

.tool_bullet, .tool_bullet li{
    list-style: none;
    font-family: var(--secondary-font-family);
    text-align: center;
    margin: 0;
    padding: 0;
}

.tool_used{
    background-color: white;
    border-radius: 25px;
    color: black;
    padding: 0px 40px 40px 40px;
    text-align: center;
    box-shadow: 0px 0px 10px rgb(29, 29, 29);
    margin: 50px 0px;
}

.future_buttons{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.future_buttons button{
    padding: 10px 20px;
    background-color: white;
    color: black;
    border: none;
    border-radius: 10px;
    box-shadow: 0px 0px 5px rgb(65, 65, 65);
    font-family: var(--secondary-font-family);
    font-size: var(--regular-font);
    margin: 10px;
}



.block{
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

@keyframes appear {
    from {
        opacity: 0;
        scale: 0.4;
    }
    to{
        opacity: 1;
        scale: 1;
    }
}


/*--------------Footer section--------------*/


footer{
    background-color: #45465E;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100px;
    color: white;
}

footer p, b{
    font-family: var(--secondary-font-family);
    font-size: large;
    text-align: center;
}

footer b{
    color: var(--emphasize-secondary-font-color);
}



/*--------------Responsive Media section--------------*/

@media only screen and (max-width: 4000px){
    
  }
  
  @media only screen and (max-width: 1100px){

    .title_topic p {
        font-size: 6vw;
    }

    .summary_paragraph{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .problems_paragraph{
        flex-direction: column-reverse;
    }

    .design_process_box{
        display: none;
    }

    .design_process_box_mobile{
        display: flex;
        flex-direction: column;
        width: 65%;
    }

    .design_process_box_grid{
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    .result_box {
        flex-direction: column;
        align-items: center;
    }
    
  }
  
  @media only screen and (max-width: 800px){

    .top_nav{
        height: 50px;
    }

    .top_nav a{
        padding: 0;
    }

    .nav_logo{
        height: 35px;
        width: 35px;
    }

    .side-bar{
        display: none;
    }

    .intro{
        flex-direction: column;
        height: auto;
        gap: 50px;
        max-height: none;
        justify-content: center;
        align-items: center;

        & .title_topic{
            height: auto;
            width: 100%;
            align-items: center;
        }
    }

    .summary{
        padding: 100px 0px;
    }

    .summary_paragraph1{
        width: 100%;
    }

    .research_paragraph{
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .research_img{
        width: 70%;
        padding: 25px 0px;
    }

    .early_ideation_images{
        width: 100%;
    }

    .result_box video{
        width: 300px;
    }

    .result_box{
        width: 95%;
    }


  }
  
  @media only screen and (max-width: 550px){

    :root{
        --summary-font: 30px;
        --sub-text-font: 2em;
        --regular-font: large;
    }

    .title_topic p {
        font-size: 3em;
    }

    .tool_box {
        flex-direction: column;
        gap: 50px;
    }

    .summary_box{
        background-color: unset;
        padding: 0;
        width: 100%;
    }

    .urwbaskerville_img {
        display: none;
    }

    .letter_img{
        width: 100%;
    }

    .summary_paragraph1 video{
        width: 300px;
    }

    .design_process_box_mobile {
        width: 70%;
    }

    .early_ideation_images{
        width: 100%;
    }

    .ui_design_img{
        grid-template-columns: repeat(2, 1fr);
    }
    
    .result_box{
        width: 100%;
        margin-left: 0;
    }

    footer p, b{
    font-size: medium;
    }


    .block {
        animation-range: entry 0% cover 35%;
    }
  }
  