/*Adding space between each list item*/
.list-item2{
    padding-bottom: 15px;
}

/*Centering all the titles*/
.title{
    text-align: center;
}

/*Styling for the sub nav menu*/
.sub-nav ul{
    display: flex;
    flex-wrap: wrap;
    font-size: 20px;
    list-style-type: none;
    justify-content: center;
    gap: 10px;
}

.sub-nav ul li{
    border: 3px solid black;
    border-radius: 5px;
    padding: 5px;
    background: rgb(167, 226, 220);
}

.sub-nav ul li a{
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.sub-nav ul li:hover
{
    background-color: rgb(240, 162, 201);
}

.sub-nav li.active
{
    background: rgb(206, 206, 206);
    font-weight: bold;
}

.sub-nav li.active:hover
{
    background: rgb(206, 206, 206);
    font-weight: bold;
}

/*Styling for all the design elements*/
.wireframe{
    text-align: center;
}

.list-item{
    padding-bottom: 25px;
}

.wireframes{
    gap: 20px;
    margin-left: 10px;
}

.desktop-wireframe{
    width: 100%;
    height: 100%;
}

.mobile-wireframe{
    width: 100%; 
    height: 100%;
}

.description{
    margin-top: 10px;
    margin-left: 10px;
    width: 100%;
}

.mind-map{
    width: 100%;
    height: 100%;
}

.mind-map3{
    width: 100%;
    height: 100%;
}

.move-down{
    padding-top: 120px;
}

.colours{
    width: 350px; 
    height: 200px;
}

.colour-use{
    padding-bottom: 50px;
}

.overview{
    margin-top: 10px;
    padding-bottom: 50px;
    width: 100%;
    height: 100%;
}

.overview2{
    margin-top: 10px;
    width: 100%;
    height: 100%;
}

.font-image{
    width: 360px;
    height: 400px;
}

.font-image2{
    padding-top: 10px;
    padding-bottom: 10px;
}

.google-image{
    width: 70%;
}

.font-images{
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.font-images2{
    display: flex;
    gap: 45px;
    margin-left: 100px;
    margin-bottom: 40px;
}

.responsive3{
    margin-left: 100px;
}

.big-image{
    width: 500px;
    height: 300px;
}

.centre-text{
    text-align: center;
}

.wireframes{
    display: flex;
    gap: 10px;
}

.information-structure{
    width: 100%;
    height: 100%;
}

/*Styling for the "Back To Top" buttons*/
.top{
    background: rgb(167, 226, 220);
    border: 3px solid black;
    border-radius: 5px;
    margin-left: 850px;
    padding: 25px;
    font-size: 25px;
    text-align: center;
    width: 200px;
}

.top2{
    background: rgb(167, 226, 220);
    border: 3px solid black;
    border-radius: 5px;
    padding: 25px;
    margin-left: 540px;
    font-size: 25px;
    text-align: center;
    width: 200px;
}

.top3{
    background: rgb(167, 226, 220);
    border: 3px solid black;
    border-radius: 5px;
    padding: 25px;
    margin-left: 490px;
    font-size: 25px;
    text-align: center;
    width: 200px;
}

.top4{
    background: rgb(167, 226, 220);
    border: 3px solid black;
    border-radius: 5px;
    margin-top: -10px;
    margin-left: 850px;
    padding: 25px;
    font-size: 25px;
    text-align: center;
    width: 200px;
}

/*Scale down the images and the "Back To Top" buttons for Smartphones*/
@media(max-width: 560px){

    main{
        margin-left: 15px;
    }

    .google-image{
        display: none;
    }

    .responsive img{
        width: 100%;
        height: 100%;
    }

    .top{
        margin-left: 60px;
        width: 100px;
        height: 50px;
        padding: 0;
        font-size: small;
        font-weight: bold;
    }

    .top2{
        margin-left: 60px;
        width: 100px;
        height: 50px;
        padding: 0;
        font-size: small;
        font-weight: bold;
    }

    .top3{
        margin-left: 60px;
        width: 100px;
        height: 50px;
        padding: 0;
        font-size: small;
        font-weight: bold;
    }

    .top4{
        margin-left: 60px;
        width: 100px;
        height: 50px;
        padding: 0;
        font-size: small;
        font-weight: bold;
    }

   .h-entry{
    width: 80%;
   }

   .font-image2{
    margin-left: 70px;
    }
}

/*Responsive Design for Tablets*/
@media(max-width: 760px){

    .top2{
        display: none;
    }

    .font-image{
        margin-left: -15px;
    }

    .font-images{
        display: block;
        flex-direction: column;
    }

    .font-images2{
        display: block;
    }

    .top4{
        display: none;
    }
    
    .wireframes{
        margin-left: 50px;
    }

    .top3{
        display: none;
    }
}

/*Scale down the images and the "Back To Top" buttons for Small Laptops*/
@media(max-width: 1024px){
  
   .font-images{
    margin-left: -20px;
    gap: 20px;
   }

   .google-image{
    width: 70%;
   }

   .font-images2{
    margin-left: 80px;
    gap: 20px;
   }

   .font-image2{
    margin-bottom: -50px;
   }

   .mind-map3{
    margin-bottom: -100px;
   }

   .info{
    padding-bottom: 20px;
   }

   .description{
    margin-left: -45px;
    width: 105%;
    }

    .responsive2 img{
        width: 100%;
        height: 100%;
    }

    .responsive3 img{
        width: 20%;
        height: 20%;
    }
    
    .responsive4 img{
        width: 200px;
        height: 190px;
    }

    .font-images{
        display: flex;
        flex-direction: row;
    }

    .side-by-side{
        display: block;
    }

    .info{
        margin: 0;
    }

    .top{
        margin-left: 300px;
    } 
    
    .top2{
        margin-left: 290px;
        width: 30%;
        font-size: medium;    
    }

    .top3{
        margin-left: 270px;
        width: 30%;
        font-size: medium;
    }

    .top4{
        margin-left: 280px;
        margin-top: 15px;
        width: 30%;
        font-size: medium;    
    }
}