html, body {
    font-family: 'Lato', 'Arial', 'sans-serif';
    font-size: 14px;
    height: 100%;
    width: 100%;
    background-color: #FFF;
}

body {
    position: relative;
    min-height: 100vh;
}

body::after {
    content: '';
    display: block;
    height: 120px;
    /* Set same as footer's height */
}

img {
    max-width: 100%;
    max-height: 100%;
}

/*-------- Navbar --------*/

.navbar .nav-link {
    font-size: 120%;
    background-color: #04021c;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.bg-dark {
    background-color: #04021c!important;
}

.navbar-nav > li > a:hover {
    transition: all 0.3s;
    color: #FFF;
}

.navbar .active {
    background: #FFF !important;
    color: #000 !important;    
}

.navbar-nav > li > a:hover {
    cursor:pointer;
    background-color: #FFF;
    color: #000 !important; 
}

/*-------- Home --------*/

#isdeeplearningsecureforrobots {
    text-transform: none;
    font-weight: 500;
}

#research {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

#projects {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.name {
    font-size: 160%;
}

.motto {
    font-size: 120%;
}

.link span {
    font-size: 120%;
    display: block;
}

.home-avatar {
    border-radius: 50%;
    width: 45%;
    height: 45%;
}

.box-border {
    border: 1px solid ;
    border-color: #cccccc;
    border-radius: 6px;
    /* padding-left: 30px; */
    /* padding-right: 30px; */
}

.box-container {
    width: 100%;
}

.box-container-100 {
    width: 100%;
}

.box-container-80 {
    width: 80%;
    margin-left: 10%;
}

.box-container-90 {
    width: 90%;
    margin-left: 5%;
}

ol, ul {
    padding-inline-start: 30px;
}

/*-------- Undergraduate --------*/
.focus {
    float: right;
    width: 70%;
    height: 70%;
    filter: brightness(0.95);
    border-radius: 10px;
    box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.6);
    margin-left: 15%;
}

.focus-container {
    width: 92%;
    margin-left: 4%;
}

/*-------- Graduate --------*/

.bicover-container {
    width: 92%;
    margin-left: 4%;
}

.bicover {
   width: 80%;
   height: 80%;
   margin-left: 10%;
}

/*-------- Ph.D. --------*/

.attack {
    /* width: 50%; */
    border-radius: 2%;
    box-shadow: 2px 2px 3px 3px #AAA;
}

.carla {
    float: right;
    width: 80%;
    height: 80%;
    filter: brightness(0.95);
    border-radius: 10px;
    box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.6);
    margin-left: 10%;
}

/*-------- Seperator --------*/

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #AAA;
    align-self: flex-end;
}

.separator::before, .separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #BBB;
}

.separator::before {
    margin-right: .25em;
}

.separator::after {
    margin-left: .25em;
}

/*--------  Future Skills --------*/

.box-skill {
    width: 90%;
    margin-left: 5%;
}

#future h1, h2, h3 {
    font-weight: 300;
    text-transform: uppercase;
}

#future h1 {
    margin: 0;
    color: #FFF;
    font-size: 240%;
    letter-spacing: 1px;
    word-spacing: 3px;
}

#future h2 {
    font-size: 180%;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
    word-spacing: 2px;
}

#future h3 {
    font-size: 95%;
    margin: 10px;
}

#future h4 {
    margin: 5px;
    font-size: 80%;
    font-weight: 600;
    letter-spacing: 1px;
}

.icon-small {
    display: inline-block;
    width: 30px;
    color: #e67e22;
    font-size: 120%;
    margin-left: 8px;
    margin-right: -12px;
    line-height: 120%;
    vertical-align: middle;
    margin-top: -5px;
}

.avatar {
    border-bottom: #333 solid 2px;
    font-size: 120%;
}

.skill-box {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 2px 2px 3px 3px #efefef;
}

.skill-box ul {
    list-style: none;
    margin: 0; 
    padding:0;
}

.skill-box div:first-child {
    background-color: #f8f8f8;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-align: center;
    padding: 1%;
}

.skill-box p {
    margin: 2% 5%;
    font-size: 100%;
    text-align: justify;
    line-height: 142%;
    word-spacing: 1px;
    background-color: #fff;
    font-weight: 400;
}

blockquote {
    padding: 1%;
    font-size: 85%;
    font-style: italic;
    text-align: center;
    line-height: 145%;
    position: relative;
    word-spacing: 2px;
    margin: 0px 0px 0.5rem;
    background-color: #f8f8f8;
}

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

.hust {
    margin-top: 1%;
    margin-left: 16%;
    width: 80%;
}

.tpl {
    margin-top: 1%;
    margin-left: 15%;
    width: 70%;
}

.newcastle {
    margin-top: 3%;
    margin-left: 18%;
    width: 60%;
}

.soton {
    margin-top: 8%;
    margin-left: 18%;
    width: 70%;
}

.trustai {
    margin-top: 3%;
    margin-left: 15%;
    width: 70%;
}

.exeter {
    margin-top: 8%;
    margin-left: 25%;
    width: 50%;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 120px;
    background-color: #04021c/*#2d3436*/;
    color: #e0e0e0;
}

/* 
Extra small devices (portrait phones, less than 576px) 
No media query since this is the default in Bootstrap because it is "mobile first"
*/
 
 
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {  
    html, body {
        font-size: 16px;
    }

    .box-container {
        width: 96%;
        margin-left: 2%;
    }

    .box-container-90 {
        width: 100%;
        margin-left: 0%;
    }
}
 
/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {

    html, body {
        font-size: 16px;
    }

    body::after {
        height: 120px;
        /* Set same as footer's height */
    }

    /*-------- Home --------*/

    .name {
        font-size: 140%;
    }

    .motto {
        font-size: 80%;
    }

    .link span {
        font-size: 80%;
        display: block;
    }

    #phd .adv {
        width: 100%;
    }

    /*-------- Undergraduate --------*/
    .focus-container {
        width: 100%;
        margin-left: auto;
    }

    /*-------- Graduate --------*/

    .bicover-container {
        width: 100%;
        margin-left: auto;
    } 

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

    .footer {
        height: 120px;
    }

    .hust {
        margin-top: 5%;
        margin-left: 5%;
        width: 90%;
    }

    .tpl {
        margin-top: 5%;
        margin-left: 10%;
        width: 80%;
    }

    .newcastle {
        margin-top: 7%;
        margin-left: 15%;
        width: 60%;
    }
    .trustai {
        margin-top: 5%;
        margin-left: 15%;
        width: 70%;
    }

    .exeter {
        margin-top: 7%;
        margin-left: 25%;
        width: 50%;
    }

    .home-avatar {
        border-radius: 50%;
        width: 100%;
    }

}
 
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

}
 
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1440px) {
    html, body {
        font-size: 16px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1600px) {
    html, body {
        font-size: 18px;
    }

    .box-container {
        width: 90%;
        margin-left: 10%;
    }
}
