:root{
    --header-font: Anton;
    --primary-font: Myriad Pro;
    --background-color: rgba(252, 252, 252, 0.767);
    --text-color: rgb(0, 0, 0);
    --accent-color: #c5eefd;
    --accent-color-2: #f9e4a1;
    --side-color: var(--accent-color);
}

body{
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0px 0px 0px 0px;
}
.page{
    display: flex;
    flex-direction: row;
    display: flex;
    margin: 0px 0px 0px 0px;
}
.left{
    width: 20%;
    background-color: var(--side-color);
    padding-top: 15px;
    display: flex;
    align-items: flex-start;
}

.left-cont{
    position: sticky;
    top:15px;
}

.right{
    width: 80%;
}

.left, .right{
    padding-right: 15px;
    padding-left: 15px;
}

.left img {
    width: 100%;
}


.large {
    font-size: 25px;
}

h1, h2, .large{
    font-family: var(--header-font);
}

p, a, h3, span, li {
    font-family: var(--primary-font);
}

.project-con{
    display: flex;
    width: 100%;
    flex-direction: row;
    margin-bottom: 15px;
}
.project-item{
    width:25%;
    background-color: var(--accent-color);
    border-radius: 15px;
    margin-right: 10px;
}

.proj-text{
    padding: 15px;
}

.proj-img{
    height: 200px;
    background-position: center top;
}

.proj-tag{
    background-color: var(--accent-color);
    padding-left: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.prof-img{
    background-image: url("https://bencunningham.co.uk/me.jpeg");
    background-position: 0px top;
    background-size: cover;
    background-repeat: no-repeat;
    width: 150px;
    height:150px;
    border-radius: 50%;

}

.divimg{
    background-size: cover;
    background-repeat: no-repeat;
}

nav{
    display:flex;
    flex-direction: column;
}

nav a{
    margin-bottom: 5px;
    font-size: 18px;
}

.bannerimg{
    height: 200px;
}

.bannertext{
    background-color: rgba(255, 255, 255, 0.854);
    height: 100%;
    text-align: center;
    padding: 15px;
}

.big{
    font-size: 20px;
}
.myinfo{
    width: 100%;
    text-align: center;
    justify-content: center;
}

.myinfo .prof-img{
    margin-left: auto;
    margin-right: auto;
}

button{
    background-color: var(--accent-color-2);
    border: 1px solid black;
    border-radius: 20px;
    padding: 10px;
    font-weight: bold;
    margin-top: 5px;
    font-size: 16px;
}

.qual-img{
    height: 100px;
}

.qual-img img{
    height: 100%;
}

.badges{
    display: flex;
    width: 100%;
    margin-bottom: 10px;
}
.badges img{
    height: 150px;
    margin-right: 10px;
}

.qual{
    display: flex;
    flex-direction: row;
}

.qual-text{
    margin-left: 10px;
}

.qual{
    margin-bottom: 10px;
}

.award-box{
    display: flex;
    width: 100%;
    margin-bottom: 15px;
}
.award-main{
    width: 60%;
    background-color: var(--accent-color);
    border-radius: 15px;
    padding-left: 15px;
    padding-right: 15px;
    margin-right: 10px;
    padding-bottom: 10px;
}
.award-side{
    width: 40%;
}
.award-side-box{
    background-color: var(--accent-color);
    border-radius: 15px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.badges-mob1, .badges-mob2{
    display: none;
}

@media only screen and (max-width: 1110px) {
    .left{
        display: none;
    }
    .right{
        width: 100%;
    }
    body{
        width: 100%;
    }
    .badges{
        display: none;
    }
    .badges-mob1, .badges-mob2{
        display: flex;
        height: 100px;
    }
}

@media only screen and (max-width: 715px) {
    .left{
        display: none;
    }
    .right{
        width: calc(100% - 20px);
        padding:10px;
    }
    body{
        width: 100%;
    }
    .badges{
        display: none;
    }
    .badges-mob1, .badges-mob2{
        display: flex;
        height: 100px;
    }
    .award-box, .project-con{
        display: block;
    }
    .award-main, .award-side, .project-item{
        width: 100%;
        margin-bottom: 10px;
    }
    .award-main{
        width: auto;
    }
}