@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500&family=Rajdhani:wght@300;400;500&display=swap');

/*--------------------------------base*/

html {
    height: 100%;
    width: 100%;
}

body {
    height: 100%;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-weight: 200;
    color: black;
    background-color: #e0dede;
}

.h1 {
    font-family: 'Rajdhani', sans-serif;
    color: #170393;
    font-weight: 400;
    font-size: 4rem;
    margin-top: 70px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 {
    font-family: 'Rajdhani', sans-serif;
    color: black;
    font-weight: 500;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    color: #170393;
    font-weight: 300;
    font-size: 24px;
    text-transform: uppercase;
    padding-top: 15px;
    padding-bottom: 20px;
}

h3 {
    font-size: 13px;
    font-weight: 200;
    text-transform: uppercase;
    padding-top: 20px;
}

p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 200;
    color: black;
    margin-top: 0;
    margin-bottom: 0;
}


a {
    text-decoration: none;
    color: #979090;
}

a:hover,
a:focus {
    color: black;
}

button {
    border: none;
    background-color: transparent;
}

button a{
    font-weight: 300;
    font-family: 'Rajdhani', sans-serif;
    padding: 7px 15px 7px 15px;
    border: 1px solid black;
    color: black;
    background-color: white;
    margin: 15px;
    width:100%;
    height:100%;
    box-shadow: 2px 2px 6px 3px rgba(0,0,0, .1);
}

.button:hover,
.button:focus,
button:hover,
button:focus {
    font-weight: 400;
    transform: scale(1.05);
    box-shadow: none;
}

.button {
    font-weight: 300;
    font-family: 'Rajdhani', sans-serif;
    color: black;
    text-decoration: none;
    margin: 15px 0px 15px 0px;
    padding: 7px 15px 7px 15px;
    border: 1px solid black;
    box-shadow: 2px 2px 6px 3px rgba(0,0,0, .1);
}

button[type=submit] {
    background-color: #fff;
}

.center {
    text-align: center;
}

.end {
    text-align: end;
}

.start {
    text-align: start;
}

.margin-auto {
    margin: auto;
}

.overflow {
    overflow: hidden;
}

.uppercase {
    text-transform: uppercase;
}

/*------------------------Index*/

.hero {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    object-fit: cover;
}

#heroimage img {
    position: absolute;
    width: 100vw;
    overflow: hidden;
    height:100vh;
    object-fit: cover;
    text-align: center;
}

.overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    text-align: center;
}

.logo {
    margin-top: 30%;
    transition: transform 1s;
}

.logo:hover,
.logo:focus {
    transform: scale(1.05);
}

.logo a {
    text-decoration: none;
    color: white;
}

.enter {
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    border: 1px solid #170393;
    padding: 10px;
    text-decoration: none;
    background-color: rgba(105, 109, 133, 0.5);
}

.enter:hover,
.enter:focus {
    color: #170393;
    background-color: rgba(255,255,255,0.1);
}

.enter-position {
    margin-top: 7%;
}


/*--------------------------------nav-bar*/

.navbar {
    padding: 16px;
    z-index: 2;
    border: 1px solid #c9c5c5;
    background-color: white;
    background-color: #ebe8e4;
}

a.tp {
    font-family: 'Rajdhani', sans-serif;
    color: #170393;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.5s;
    padding-left: 15px;
} 

a.tp:hover {
    transform: scale(1.05);
    color: #2d2e2d;
}

.nav-link,
.dropdown-item {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    color: black;
    font-weight: 400;
    letter-spacing: 1px;
    transition: transform 0.5s;
    padding: 0.5rem 0.6rem;
}

.dropdown-item:focus, 
.dropdown-item:hover,
.nav-link:hover, 
.nav-link:focus {
    color: #170393;
    font-weight: 400;
    transform: scale(1.05);
}

.dropdown-item:focus, 
.dropdown-item:hover {
    background-color: transparent;
}

.dropdown-menu {
    right: 0!important;
    background-color: #ebe8e4;
}

.navbar-toggler {
    margin: 0;
    border: 1px solid #c9c5c5;
}

.navbar-toggler:focus {
    color: black;
    box-shadow: 0 0 0 0.1rem
}

.fas {
    color: #a5a5a5!important;
}


/*--------------------------------carousel*/

.carousel-image {
    max-height: 50vh;
    min-height: 70vh;
    max-width: 80%;
    object-fit: scale-down;
    margin: auto;
}

.carousel-inner {
    height: 70vh;
}

.carousel-indicators {
    text-align: center;
    margin-bottom: 1rem;
    z-index: 2;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 30px;
    height: 3px;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-clip: padding-box;
    border: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: .5;
    transition: opacity .6s ease;
    height: 70px;
    width: 70px;
}

.carousel-indicators .active {
    opacity: 1;
}

.thumbnail {
    min-height: 70px;
}

.thumbnail-image{
    height: 70px;
    object-fit: cover;
    display: block;
    width: 70px;
    object-position: left top;
}
/*--------------------------------card*/

.custom-card {
    width: 14rem;
    max-height: 14rem;
    display: inline-block;
    margin: 10px;
    padding: 0;
    background-color: transparent;
}

.card-img-top {
    width: 100%;
    max-height: 14rem;
    min-height: 14rem;
    object-fit: contain;
}

div.card-body {
    padding: 0;
}

a div p.card-text {
    text-decoration: none;
}

a div p.card-text:hover,
a div p.card-text:focus {
    color: #170393;
}

.oeuvre-card-text {
    font-size: 10px;
}

/*--------------------------------work prev/next navigation buttons*/

.work-nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    line-height: 1;
    color: #170393;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(23, 3, 147, 0.2);
    border-radius: 4px;
    padding: 0.25rem 0.9rem 0.55rem 0.9rem;
    z-index: 1000;
    transition: background 0.15s, color 0.15s;
}

.work-nav-btn:hover,
.work-nav-btn:focus {
    background: #17039324;
    color: #170393;
}

.work-nav-prev {
    left: 1.5rem;
}

.work-nav-next,
.photography-next-btn {
    right: 1.5rem;
}



/*--------------------------------work_details*/

.details {
    text-align: center;
}

.details-date {
    margin-top: -35px;
    text-align: center;
}

.description-work {
    padding: 20px;
}

.sub-title {
    color: #696d85;
    text-transform: uppercase;
}


/*--------------------------------about*/

.title {
    color: #170393;
    margin-bottom: 40px;
    margin-top: 40px;
    font-weight: 200;
}

.about-img {
    max-width: inherit;
    min-height: 80vh;
    object-fit: cover;
    object-position: center top;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.hr {
    margin-left: -25px;
}

.contact {
    text-align: center;
    margin-top: 20%;
}

/*--------------------------------news*/

.news-image {
    width: 100%;
    object-fit: contain;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.news {
    padding-top: 15px;
    padding-bottom: 15px;
    color: #050505;
    font-size: 16px;
    text-align: left;
}

.news-link {
    color: #170393;
}

.news-link:hover,
.news-link:focus {
    color: black;
    font-weight: 300;
}

/*---------------------------------texts*/

.small-title {
    color: black;
    font-weight: 500;
    font-size: 25px;
}

.small-date {
    font-weight: 500;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2em;
}

.content {
    margin-top: 13px;
}


/*--------------------------------exhibitions*/

.exhibit-image {
    width: 100%;
    max-height: 14rem;
    object-fit: contain;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

/*--------------------------------cv*/

.cv-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
}

.cv-text {
    padding-bottom: 15px;
    font-weight: 300;
}

.cv-space {
    padding-left: 20px;
}

/*--------------------------------blog*/

.border {
    padding: 40px 10px 40px 10px;
    border: 1px solid #c9c5c5;
}

.blog-image {
    max-width: 100%;
    padding-bottom: 20px;
    padding-top: 20px;
}

h2.blog-title {
    margin-bottom: 0;
}

.blog-date {
    margin-bottom: 25px;
}



/*--------------------------------editing forms*/

form {
    max-width: 100%;
}

#cke_id_description,
#cke_id_text,
#cke_id_intro {
    min-width: 100%!important;
    max-width: 100%!important;
}

.django-ckeditor-widget {
    min-width: 100%!important;
    max-width: 100%!important;
}

.info-card {
    min-width: 100%;
    height: 100%;
    text-align: center;
}

.info-card-title {
    margin-top: 15px;
}

.info-hr {
    color: #c9c5c5;
}

.info-button {
    margin: 0;
}


/*--------------------------------footer*/

#page-container {
    position: relative;
    min-height: 100vh;
}

#content-wrap {
    padding-bottom: 2.5rem;
}

.footer {
    padding-left: 50px;
    padding-right: 50px;
    bottom: 0;
    position: absolute;
    width: 100%;
    height: 2.5rem;   
}

.text-footer {
    color: #b5aeae;
}

.border-top {
    border-color: #b5aeae!important;
}

/*------------------------Media query*/

@media only screen and (max-width: 991px) {
    .work-nav-btn,
    .work-nav-btn:hover,
    .work-nav-btn:focus {
        background: transparent;
        border: none;
    }
}

@media only screen and (max-width: 600px) {
    .details {
      margin-top: 0;
    }
    button.thumbnail {
        margin: 0;
  }
  .logo {
      margin-top: 70%;
  }
  .card {
    max-width: 95%;
    min-width: 95%;
    text-align: center;
    max-height: none;
  }
  .carousel-image {
    max-width: 100%;
    min-height: 60vh;
}
    .carousel-inner {
        max-height: 60vh;
    }
    .carousel-control-prev,
    .carousel-control-next {
        padding: 100px;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        display: none;
    }
}


@media only screen and (max-width: 991px) {
    .nav {
        display: block;
    }
    .news-image {
        border: none;
    }
    .title {
        margin-bottom: 20px;
        font-size: 38px;
        text-align: center;
        margin-top: 20px;
    }
    .nav-link:hover,
    .nav-link:focus {
        transform: none;
    }
}

@media only screen and (max-width: 1108px) and (min-width: 991px) {
    .nav-link {
        font-size: 13px;
    }
}
