:root { font-family: 'Inter', sans-serif; }
@supports (font-variation-settings: normal) {
  :root { font-family: 'Inter var', sans-serif; }
}

body {
    height: 100%;
    width: 100%;
    padding-top: 55px;
}

/* GLOBAL STYLES */

@media (min-width: 1450px) {
    .wider-container {
        max-width: 1500px;
    }
}

/* NAVIGATION */

#main-navbar {
    padding-top: 9px;
    padding-bottom: 9px;
    height: 55px;
    background-color: white;   
}

#main-navbar > .container-fluid {
    background-color: white;
}

#collapsible-navbar {
    text-align: center; 
}

.navbar-toggler {
    padding-right: 0px;
    padding-left: 0px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

#logo {
    height: 56px;
    padding: 8px;
    margin-right: 0;
    font-size: 16px;
    font-weight: 500;
    color: black;
}

@media (max-width: 575px){
    #logo {
        padding-left: 0px;
    }
}

.navbar-nav li a {
    color: black;
    font-size: 14px;  
    font-weight: 400;  
}

.navbar-nav li a:hover {
    color: #3b3b3b;  
}

.navbar-nav .active a{
    color: black;
    font-weight: 500;
}

/* MAIN PAGE: WORK (PORTFOLIO GALLERY) */

/* Gallery image styles */

.image-box {
    padding: 0;
    position: relative;
    aspect-ratio: 3.1/2;
}

.image-box img {
    width: 100%;
    height: 100%;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

#website-caption {
    text-align: center;
    color: #dcdfe4;
    font-size: 20px;
    font-weight: 300;
    background-color: #17212D;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Gallery item hover effect */

.overlay {
    position: absolute;
    text-align: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .5s ease;
    background-color: #17212D;
}

.image-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 28px;
    font-weight: 500;
    line-height: 33px;
    opacity: 0.0;
    transition: opacity .5s ease;
}

.image-caption > p:nth-child(2) {
    font-size: 20px;
    font-weight: 300;
    margin-top: 17px;
    line-height: 29px;
}

@media (min-width: 1000px) {
    .image-box:hover .overlay {
    opacity: 0.8;
    }
    
    .image-box:hover .image-caption {
    opacity: 1.0;    
    }
}

/* SUBPAGE: PROJECTS */

/* General layout formatting */

@media (max-width: 1449px) {
    .col-lgg{
        width: 100%;
    }

    .box-header {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 15px !important;
        margin-top: 15px !important;    
    }

    .project-section {
        text-align: center;
    }

    .project-section p {
        text-align: left !important;
        line-height: 24px !important;
    }

    .section-text {
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }
    
}

/* Text styling */

.project-section h1 {
    font-size: 28px;
    margin-bottom: 25px;
}

.main-section-text p:nth-child(2) {
    margin-bottom: 45px;
}

.box-header {
    background-color: #34344A;
    color: white;
    font-size: 14px;
    line-height: 26px;
    width: max-content;
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 25px;
    margin-top: 25px;
}

.project-section p {
    text-align: justify;
    line-height: 20px;
}

.section-text {
    padding-right: 3%;
}

ol {
    line-height: 20px;
}

/* Image styling */

.section-images img {
    width: 100%;
    padding-bottom: 10px;
}

/* MAIN PAGE: ABOUT */

#about-header {
    background:url("./images/others/about.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 380px;
    color: white;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0.1em;
}

#about-body-text {
    max-width: 900px;
    text-align: justify;
}

#about-body-text .box-header {
    margin-top: 45px;
    margin-bottom: 45px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}






