html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}

.clearfix:after {visibility: hidden; display: block; font-size: 0; content: ''; clear: both; height: 0; }

html { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}

*, *:before, *:after {box-sizing: inherit}

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; border: 0; padding: 0; white-space: nowrap; clip-path: inset(100%); clip: rect(0 0 0 0); overflow: hidden;}

* {
    padding: 0;
    margin: 0;
    /* border: 1px solid #f00 !important; */
}

html{
    font-size: 100%;
}



body {
    /* font-family: 'Playfair Display', serif; */
    font-family: 'Montserrat', serif;
    /* font-family: 'Lato', sans-serif; */
    line-height: 1.5;
    overflow-y: scroll;
}

nav a {
    text-decoration: none;
    color: whitesmoke;
}

header {
    font-size: 1rem;
}

nav {
    font-size: 1rem;
}

p{
    overflow:auto;
}

.wrapper {
    max-width: 80%;
    margin: 0 auto;
}

body {
    background-color: #CC9600;
}

/* header styles */

.top-bar {
    background-color: #539ba9;
}

header {
    color: whitesmoke;
    height: 100%;
    display: flex;
    flex-direction: column;

}

header h1{
    font-size: 2rem;
}

header p{
    padding-bottom: .67em;
}

/* nav styling */

.top-nav a{
    color: white;
    padding: 20px auto;
}


.nav-bar {
    position: sticky;
    top: 0;
    background-color: #191919;
    z-index: 10;
}

.top-nav nav {
    text-transform: uppercase;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.top-nav a {
    display: block;
    padding: 5px 25px;
    transition: .2s ease-in
}

.nav-bar ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.top-nav a.active,
.top-nav a:hover {
    background-color: #CC9600;
    color: white;
    transition: .2s ease-in;
}

.menu-btn {
    display: none;
}

/* text area styling */

.about,
.publications {
    width: 70%;
    font-size: 1rem;
}

/* home page styling */

.home-body{
    background-color: #CC9600;
}

.home{
    display: flex;
}

.profile-container{
    display: flex;
    justify-content: center;
    width: 40%;
}

.profile-img{
    margin-top: 20px;
}

.profile-img img{
    border-radius: 50%;
    object-fit: cover;
}

.images-container{
    border-radius: 5px;
    background-color: #741FEA;
    width: 44%;
    height: 84vh;
    margin: 20px 0;
    position: relative;
}

.image-1{
    object-fit: contain;
    position: absolute;
    left: 50px;
    top: 50px;
}

.image-2{
    object-fit: contain;
    position: absolute;
    left: 150px;
    top: 206px;
}

.image-3{
    object-fit: contain;
    position: absolute;
    left: 250px;
    top: 372px;
}

/* Contact page styling */

form { 
    max-width:90%; 
    margin:50px auto; 
    padding: 10px 10px;
}

textarea {
    width: 100%;
    height: 150px;
    line-height: 150%;
    resize:vertical;
    /* background-color: black; */
    /* color: white; */
    /* outline: none; */
}

button{
    width: 100%;
    padding: 10px 10px;
    margin-bottom: 10px;
}

.contact{
    width: 70%;
    background-color: #191919;
    border-radius: 5px;
    /* margin: 0 auto; */
    /* box-shadow: 5px 5px 8px 3px grey; */
    margin: 0 auto;
    color: whitesmoke;
}
.message-form {
    font-size: 1rem;
    border-radius: 5px;
    padding: 13px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
    outline: 0;
}

.news {
    width: 70%;
}

/* Publications page styling */

.pub-body{
    background-color: #CC9600;
}

.publications{
    margin: 0 auto;
}

.publications h3{
    padding: 20px 0px;
    margin: 0px 0;
    font-style: italic;
    text-transform: uppercase;
    color: white;
    font-size: 24px;
}


.publications a {
    color: #f5f5f5;
    text-decoration: none;
}

.pub-image {
    width: 100px !important;
    height: 146px !important;
    /* padding: 10px 10px; */
    box-shadow: 1px 1px 5px 1px black;
}

.pub-image img {
    object-fit: contain;
    padding: 0px 5px;
    background-color: whitesmoke;
}

.pub-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
    /* border: 1px solid black; */
    background-color: #648480;
    /* border-bottom: 0; */
}

.pub-container p {
    padding-left: 10px;
}

/* About page stylings */


.about h2,
.about p{
    padding: 20px 20px;
}

.about{
border-radius: 5px;
margin: 20px auto;
background-color: #ffffff;
color: #191919;
}

/* ===================================
            Footer Styles
   =================================== */

footer {
    margin-top: 10px;
}

footer p{
    text-align: center;
    color:  #4f4f51;
}

.pub-footer p{
    color: #191919;
}

.footer-hr {
    border-top: 1px solid #4f4f51;
}

.pub-footer .footer-hr{
    border-top: 1px solid #191919;
}

/* ===================================
            Research Styles
   =================================== */

.research-body{
    background-color: #CC9600;
}

.research{
    margin-top: 20px;
    height: 80vh;
    background-image: url("./assets/bruno-kelzer-Dw6tBa20afk-unsplash_2.jpg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.consulting{
    margin-top: 20px;
    height: 80vh;
    background-image: url("./assets/pexels-element-digital-1370294.jpg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}


.cs-container{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.research h1{
    font-size: 80px;
    color: whitesmoke;
}

.consulting h1{
    font-size: 80px;
    color: whitesmoke;
}

/* Colors */


/* media queries ---------------------------------- */

@media screen and (max-width: 1024px) {
    .menu{
        clear: both;
        max-height: 0px;
        transition: max-height .2s ease-out;
    }

    .top-nav ul{
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
        list-style: none;
        overflow: hidden;
        background-color: #CC9600;
    }
    
    .top-nav ul a{
        display: block;
        padding: 20px;
        text-decoration: none;
    }

    .menu-icon{
        padding: 28px 20px;
        position: relative;
        float: right;
        cursor: pointer;
    }

    .menu-icon .nav-icon{
        background: #fff;
        display: block;
        height: 2px;
        width: 18px;
        position: relative;
        transition: background .2s ease-out;
    }

    .menu-icon .nav-icon::before{
        background: #fff;
        content: "";
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        transition: all .2s ease-out;
        top: 5px;
    }
    
    .menu-icon .nav-icon::after{
    background: #fff;
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    transition: all .2s ease-out;
    top: -5px;
    }
    
    .menu-btn{
        display: none;
    }
    
    .menu-btn:checked ~ .menu{
        max-height: 440px;
    }
    
    .menu-btn:checked ~ .menu-icon .nav-icon{
        background: transparent;
    }
    
    .menu-btn:checked ~ .menu-icon .nav-icon:before{
        transform: rotate(-45deg);
        top: 0;
    }
    
    .menu-btn:checked ~ .menu-icon .nav-icon:after{
        transform: rotate(45deg);
        top: 0;
    }
/* ======================================================== */
    /* Home media style */
/* ======================================================== */

    .profile-container{
        display: flex;
        margin: 0 auto;
    }

    .images-container{
        width: 54%;
        height: 100vh;
    }

    .images-container *{
        width: 100px;
        height: 146px;
    }

    .image-1{
        top: 30px;
    }
    .image-2{
        left: 110px;
        top: 122px;
    }
    .image-3{
        left: 170px;
        top: 220px;
    }

    .about{
        width: 100%;
    }

    /* publications media style */

    .publications{
        width: 100%;
    }

    /* contact media style */

    .contact{
        width: 100%;
    }

    .research{
        height: 60vh;
    }

    .research h1{
        font-size: 30px;
    }
    .consulting h1{
        font-size: 40px;
    }
}

@media screen and (max-width: 460px) {
    .home{
        display: flex;
        flex-direction: column;
        /* max-width: 390px; */
    }

    .research{
        height: 60vh;
    }
    .research h1{
        font-size: 25px;
    }

    .consulting h1{
        font-size: 25px;
    }

    .images-container{
        width: 100%;
        height: 56vh;
    }

    .images-container *{
        width: 100px;
        height: 146px;
    }
    .image-1{
        top: 50px;
    }
    .image-2{
        left: 110px;
        top: 142px;
    }
    .image-3{
        left: 170px;
        top: 240px;
    }
}
