/*
X-Small devices (portrait phones, less than 576px)
No media query for `xs` since this is the default in Bootstrap
*/

@font-face {
    font-family: Normal;
    src: url(../fonts/RedHatDisplay-VariableFont_wght.ttf);
}

body {
    font-family: Normal;
    min-height: 100vh;
    background-color: rgba(14, 14, 16, 1);
    color: white;
}

h1, h2, h3, h4, h5, h6{
    word-wrap: break-word;
}
.hidden {
    display: none;
}

.desktop {
    display: none;
}

.tablet {
    display: none;
}

.navbar {
    position: absolute;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(14, 14, 16, 0.75), rgba(14, 14, 16, 0.5), rgba(14, 14, 16, 0.25), rgb(0, 0, 0, 0));
    transition: all 0.5s ease-in-out;
}

.top {
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.top-blog {
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.top-other {
    height: 100vh;
    background-attachment: fixed;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
}

.top-other.exec {
    background-size: cover;
    background-position: top;
}

.top-filter {
    background: linear-gradient(to bottom, rgba(14, 14, 16, 0.5), rgba(14, 14, 16, 0.5), rgba(14, 14, 16, 0.5), rgba(14, 14, 16, 0.75), rgba(14, 14, 16, 1));
    height: 100%;
}

.navbar-brand.desktop img {
    height: 80px;
}

.navbar-brand.tablet img,
.navbar-brand.mobile img {
    height: 75px;
}

.navbar-toggler {
    width: 20px;
    height: 20px;
    position: relative;
    transition: .5s ease-in-out;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
    border: 0;
    position: relative;
}

.navbar-toggler span {
    margin: 0;
    padding: 0;
}

.toggler-icon {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: rgb(0, 204, 102);
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.middle-bar {
    margin-top: 0px;
}


/* State when the navbar is collapsed */

.navbar-toggler.collapsed .top-bar {
    position: absolute;
    top: 0px;
    transform: rotate(0deg);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    position: absolute;
    top: 10px;
    filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
    position: absolute;
    top: 20px;
    transform: rotate(0deg);
}

/* when navigation is clicked */

.navbar-toggler .top-bar {
    top: inherit;
    transform: rotate(135deg);
}

.navbar-toggler .middle-bar {
    opacity: 0;
    top: inherit;
    filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
    top: inherit;
    transform: rotate(-135deg);
}

/* Color of 3 lines */

.navbar-toggler.collapsed .toggler-icon {
    background: rgb(0, 204, 102)
}


.navbar-inner {
    align-content: center;

}

.navbar-nav {
    justify-content: center;
}


.nav-link.active {
    font-weight: 500;
    color: rgb(0, 204, 80) !important;
}

.nav-link {
    font-weight: 400;
    color: rgb(0, 204, 102);
    transition: all 0.25s ease-in-out;
    text-align: center;
}

.nav-link:hover,
.nav-link:focus {
    color: rgb(0, 230, 102) !important;
    scale: 1.05;
}

.navbar-collapse.show {
    margin-top: 8px;
    background-color: white;
    border-radius: 10px;
    transition: margin-top 0.5s, background-color 0.5s;
}

.hero {
    height: 100%;
    align-content: center;
    color: white;
}

.hero.other {
    height: 100%;
    align-content: center;
}

.hero h1 {
    font-size: 30pt;

}

.hero.other h1 {
    font-size: 30pt;
}

.top-title {
    border-bottom: solid;
    font-weight: 300;
}

.top-title-blog {
    font-weight: 300;
}

.top-title-other {
    font-weight: 300;
}

.about-btn {
    border-radius: 0;
    background-color: rgb(0, 204, 102);
    color: white;
    transition: all 0.25s;
}

.about-btn:hover {
    scale: 1.05;
    border: 1px solid white;
}

.dropdown-toggle.show {
    color: rgb(0, 204, 80) !important;
}

.dropdown-item:active {
    background-color: rgb(0, 204, 102);
}

.dropdown-menu {
    width: 100% !important;
    height: 0px;
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    border-color: transparent;
    border-width: 0;
    padding-top: 0px;
    padding-bottom: 0px;
}

.dropdown-menu.show {
    visibility: visible;
    opacity: 1;
    height: auto;
    padding-top: 8px;
    padding-bottom: 8px;
}



.square {
    aspect-ratio: 1/1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 4px;
}

.square.left {
    box-shadow: 10px 10px 3px rgb(0, 204, 102);
}

.square.right {
    box-shadow: -10px 10px 3px rgb(0, 204, 102);
}

.square-text {
    align-content: center;
    font-size: larger;
}

.left {
    text-align: center;
}

.right {
    text-align: center;
}

.short-desc {
    border-bottom: solid white 3px;

}

.spaced-title {
    font-weight: 400;
    letter-spacing: 3px;
}

.spaced-title-wide {
    font-weight: 400;
    letter-spacing: 5px;
}

.offices-section-title {
    font-weight: 500;
}

.office-card {
    text-decoration: none;
    color: white;
}

.office-card:hover {

    .office-title {
        scale: 1.05;
    }

    .office-img {
        transform: translateY(10px);
    }

    .office-img-filter {
        opacity: 0;
    }
}

.office-title {
    font-size: 20pt;
    margin-bottom: 0;
    scale: 1;
    transition: scale 0.5s ease-in-out;
}

.office-subtitle {
    color: rgb(0, 204, 102);
    font-size: small;


}

.office-img {
    position: relative;
    z-index: -10;
    transform: translateY(-25px);
    border-radius: 4px;
    aspect-ratio: 3/2;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease-in-out;
}

.office-img-filter {
    background: linear-gradient(to bottom, rgba(14, 14, 16, 1), rgba(14, 14, 16, 0.75), rgba(14, 14, 16, 0.5), rgba(14, 14, 16, 0.5));
    width: 100%;
    height: 100%;
    transition: opacity 0.25s ease-in-out;

}

.map-embed {
    width: 100%;
    aspect-ratio: 16/9;
}

.footer-text {
    color: white;
}

.footer-text .link {
    color: white;
    text-decoration: none;
}

.footer-text .link:hover {
    color: rgb(230, 230, 230)
}

.social {
    font-size: xx-large;
    color: white;
}

.social:hover {
    color: rgb(230, 230, 230);
}

footer .row {
    text-align: center;
}

.copyright {
    font-size: smaller;
}

.form-select {
    border-radius: 4px;
    background-color: transparent;
    color: white;
}

.form-select:focus {
    border-color: transparent;
    box-shadow: none;
}

.form-select option {
    color: white;
    background-color: rgba(14, 14, 16);
}

.blog-search {
    width: 100%;
    border-radius: 0%;
    background-color: transparent;
    border: none;
    color: white;
}

.search-bar {
    width: 100%;
    align-content: center;
    display: inline-flex;
    border: 1px solid white;
    border-radius: 4px;

}

.blog-search:focus,
.blog-search:active {
    outline: none
}

.blog-nav {
    display: flex;
    flex-flow: column;
    height: 100%;
}

.image-filter {
    width: 100%;
    height: 100%;
    color: white;
    background: rgba(0, 0, 0, 0.5);

    align-content: end;
    transition: all 0.3s ease-in-out;
}

.image-filter.gradient {

    background: linear-gradient(to bottom, transparent, transparent, transparent, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75))
}

.blog-click {
    h2 {
        font-weight: 400;
    }

    h3 {
        font-weight: 400;
    }

    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.blog-click:hover {
    scale: 1.01;
}

.blog-section {
    border-radius: 4px;
}

.blog-section.mobile {
    color: white;
    background-color: rgb(20, 20, 20)
}

.blog-section.tablet {
    color: white;
    background-color: rgb(20, 20, 20)
}

.article {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 4px;
    aspect-ratio: 4/3;
}

.article.newest {
    height: 100%;
    aspect-ratio: 2/1;
}

.article.other {
    height: 100%;
    aspect-ratio: auto;
}

.article.square {
    aspect-ratio: 1/1;
}

.view-more {
    border-radius: 4px;
    background-color: rgb(20, 20, 20);
    height: 100%;
    align-content: center;
    font-size: 30pt;
    color: white;
}

.profile {
    aspect-ratio: 3/4;
    background-position: center;
    background-size: cover;
    border-radius: 10px;

    transition: all 0.35s ease-in-out;
}

.profile:hover {
    transform: translateY(-10px);
}

.profile-inner {
    display: flex;
    flex-direction: column;
}

.profile-section {
    flex: 0.5;
}

.profile-section.bottom {
    display: flex;
    align-items: end;
}

.profile-text {
    width: 100%;

    h2 {
        font-weight: 400;
    }

    h5 {
        font-weight: 200;
    }

}

.social-other {
    font-size: 16.5pt;
    color: white;
}

.social-other:hover {
    color: rgb(230, 230, 230);
}

.image-filter.start {
    opacity: 0;
}

.image-filter:hover {
    opacity: 1;
}

.project {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 4px;
    aspect-ratio: 3/4;
}

.project.latest {
    aspect-ratio: 1/1;
}

.event {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 4px;
    aspect-ratio: 1/1;
}

.civics {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 4px;


}

.civics .image-filter {
    width: 100%;
    background: linear-gradient(to right, black, transparent);
    border-radius: 3px;
}

.maps-large {
    min-height: 300px;
    width: 100%;
    height: 100%;
}

.required {
    color: red;
}

#emailHelp {
    color: darkgray;
}

.form-control {
    border-radius: 0;
}

.form-control:focus {
    box-shadow: 0 0 0 1px rgb(0, 204, 102);
    ;
}

.message {
    resize: none;
    height: 250px;
}

.pdf {
    height: 80vh;
}

.not-filled,
.not-filled:focus {
    background-color: #ff7688;
}

.promotion-text {
    max-width: 100%;
    font-size: medium;
}

.carousel-image-cover {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;

    height: 100%;
    width: 100%;
    z-index: 1;
    transition: all 0.5s ease-in-out;
}

.carousel-inner-title {
    position: absolute;
    width: 100%;
    z-index: 2;
    padding-left: 15%;
    padding-right: 15%;
    top: 50%;
    transform: translateY(-50%);

    transition: all 0.25s ease-in-out;
}

.carousel-learn {
    position: absolute;
    width: 100%;
    top: 100%;
    transform: translateY(-100%);

    transition: all 0.25s ease-in-out;
}

#internationalOpportunities:hover {


    .carousel-image-cover {
        opacity: 0;
        height: 0;
        background-color: rgba(0, 0, 0, 0.25);
    }
}

.carousel-item {
    z-index: 0;
    aspect-ratio: 2/1;
    border-radius: 4px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    text-decoration: none;
}

.image-filter-sub {
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.35);
    width: 100%;
    height: 100%;
    align-content: end;

    color: white;

    transition: opacity 0.3s ease-in-out;
}

.image-filter-sub:hover {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.projects-desc {
    height: 100%;
    align-content: center;
    font-size: x-large;
}

.blog-btn {
    border-radius: 0;
    background-color: rgb(0, 204, 102);
    color: white;
    transition: all 0.25s;
}

.blog-btn:hover {
    scale: 1.01;
    border: 1px solid white;
}

/* 
Small devices (landscape phones, 576px and up)
*/
@media (min-width: 576px) {

    .hero h1 {
        font-size: 35pt;
    }

    .top-other.exec {
        height: 350px;
        background-size: 130%;
        background-position: top;
    }
    
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    .mobile {
        display: none;
    }

    .tablet {
        display: block;
    }
    


    .top-blog {
        height: 500px;
    
    }
    
    .hero h1 {
        font-size: 40pt;
    }

    .hero.other h1 {
        font-size: 40pt;
    }


    .top-other.exec {
        background-size: 100%;
        background-position: top;
    }

    .promotion-text {
        max-width: 100%;
    }
    
    .office-title {
    font-size: 25pt;

}
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {

    .navbar {
        background: transparent
    }

    .blog-section {
        aspect-ratio: 3/2;

        background-size: cover;
        background-repeat: no-repeat;
    }
    
    .top-other {
        height: 250px;
    }

    footer .row {
        text-align: left;
    }

    .navbar {
        position: fixed;
    }

    .left {
        text-align: left;
    }

    .right {
        text-align: right
    }

    .tablet {
        display: none;
    }

    .desktop {
        display: block;
    }
    
    .hero h1 {
        font-size: 50pt;
    }
    
    .nav-item {
        width: 33.3333333%;
        text-align: center;
        font-size: large;
        align-content: center;

    }

    .navbar-collapse.show {
        margin-top: 0px;
        background-color: transparent;
    }

    .top-filter {
        height: 100%;
    }




    .hero.other {
        height: 100%;
        align-content: end;
    }

    .article.newest {
        height: 100%;
        aspect-ratio: auto;
    }

    .promotion-text {
        max-width: 100%;
        font-size: large;
    }
    
        .office-title {
    font-size: 30pt;

}
}

/* X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    .promotion-text {
        max-width: 100%;
        font-size: x-large;
    }
    
    .hero h1 {
        font-size: 55pt;
    }
}

/* XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {}