/* Basic stylings */

body{
    margin: 0;
    padding: 0;
    font-family: "Barlow", sans-serif;
    font-size: 16.5px;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
}


/* Header */

#content-container{
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    position: absolute;
    display: block;
    width: 670px; /* 735px; */
    line-height: 1.5;
    color: black;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.header-container{
    display: flex;
    height: auto;
    margin: 0 auto;
    align-items: center;
    justify-content: center; 
}

.header-text{
    text-align: left;
}

.img-headshot{
    border-radius: 50%;
    height: 200px;
    display: block;
    margin-right: 20px;
}

.name{
    font-size: 28px;
    font-weight: bold;
}

.title{
    font-size: 18px;
    margin-bottom: 10px;
}

.disclaimer{
    text-align: center;
    color: grey;       
    font-size: 14px;   
    margin-top: 20px;  
    margin-bottom: 5px;
    margin-left: auto; 
    margin-right: auto;
    width: fit-content;
}


/* Main body */

.info{
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    width: auto;
    text-align: left;
}

.section{
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

#bottom-space{
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    bottom: 0;
    height: 50px;
    width: 100%;
    display: none;
    position: relative;
    z-index: 999;
}

span.email b{
	display: none;
}

.divider{
    border: none;
    border-top: 0.5px solid #c5c5c5;
    margin: 20px 0;
}

.divider-wood{
    border: none;
    border-top: 0.5px solid #c5c5c5;
    margin: 50px 0 20px;
}

.desktop{
    display: inline !important;
}

.mobile{
    display: none !important;
}

/* Links */

.links{
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    color: #4264ad;
    text-decoration: none;
    transition: ease-in-out 0.2s;
    cursor: pointer;
}

.links:hover{
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    color: grey;
    transition: ease-in-out 0.2s;
}


/* Social media */

.fa, .ai{
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    padding: 10px;
    font-size: 16px;
    width: 16px;
    text-align: center;
    text-decoration: none;
    margin-right: 5px;
    border-radius: 50%;
    transition: ease-in-out 0.2s;
    display: inline-block;
    cursor: pointer;
}

.ai:hover, .fa:hover{
    opacity: 0.5;
}

.ai:active, .fa:active{
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

.fa-github, .fa-linkedin, .fa-envelope, .fa-face-smiling-hands, .ai-google-scholar, .ai-cv, .ai-semantic-scholar, .ai-orcid{
    background: black;
    color: white;
}


/* Slick.js and lightGallery.js */

#slick-carousel-gallery-demo .slick-slide img {
    object-fit: contain;  
}

#slick-carousel-gallery-demo .slick-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel{
    width: 100%;
    overflow: visible;
}

.carousel .slick-track{
    gap: 20px;
    display: flex;
}

.carousel .lg-item img{
    width: 100%;
    max-width: 100%;
    height: 600px;
}

.carousel .slick-prev,
.carousel .slick-next{
    padding: 10px;
    position: absolute;
    z-index: 1;
    cursor: pointer;
    zoom: 1.5;
    transform: translateY(-50%);
}

.carousel .slick-prev:before,
.carousel .slick-next:before{
  color: rgb(54, 54, 54) !important;
}

.carousel .slick-prev{
    left: -3px;
}

.carousel .slick-next{
    right: -3px;
}

.slick-dots{
    position: absolute;
    bottom: -30px;
    width: 100%;
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 50; 
}

.slick-dots li{
    margin: 0 0; 
}


/* Mobile */

@media screen and (max-width: 890px){

    body{
        font-size: 15px;
    }

    #content-container{
        width: 75%;
    }

    .header-container{
        flex-direction: column;
        align-items: center;
    }
  
    .header-text{
        max-width: 100%;
        text-align: center;
    }

    .img-headshot{
        max-width: 100%;
        max-height: 200px;
        height: auto;
        margin: 0;
    }
  
    .name{
        font-size: 22px;
    }
    
    .title{
        font-size: 16px;
    }

    .info{
        text-align: left;
        hyphens: auto;
    }

    .section{
        font-size: 18px;
    }

    .desktop{
        display: none !important;
    }
    
    .mobile{
        display: inline !important;
    }
    
    .carousel .lg-item img{
        height: 60vw;
    }

    .fa, .ai{
        margin: 2px;
    }

}

@media screen and (max-width: 410px){

    .fa, .ai{
        padding: 8px;
        font-size: 14px;
        width: 14px;
        margin: 1px 2px;
    }

}

@media screen and (max-width: 296px){

    .slick-dots li{
        margin: 0 -3px; 
    }

    .fa, .ai{
        padding: 8px;
        font-size: 12px;
        width: 12px;
        margin: 1px 2px;
    }

}