/*
Theme Name: Technoport Hack Template
Author: Louis-Philippe Dea
Description: Template WordPress d'exemple pour un article de WP Pour les Nuls
Version: 0.0.1
Tags: bootstrap
*/
@font-face {
    font-family: "font-bold";
    src : url('fonts/montserrat-bold.ttf') format('truetype');
}

@font-face {
    font-family: "font-light";
    src : url('fonts/montserrat-light.ttf') format('truetype');
}

@font-face {
    font-family: "font-regular";
    src : url('fonts/montserrat-regular.ttf') format('truetype');
}

@font-face {
    font-family: "paytone-font";
    src : url('fonts/paytoneone-regular.ttf') format('truetype');
}

@font-face {
    font-family: "theboldfont";
    src : url('fonts/theboldfont.ttf') format('truetype');
}

body {
    color: white !important;
    overflow-x: hidden;
}

a {
    text-decoration: none !important;
}
.paytone{
    font-family: "paytone-font";
}
.navbar, .topic-title, .subject-content h2{
    font-family: font-bold;
}

.carousel-title, .winners-title, .about-content h2, #timeline h3, .timeline-point, .timeline-div p,
.jury-section h2, .jury-section h3, footer .title, .project-content h3, .project-content h4, .btn-PreRegisterIndex {
    font-family: paytone-font;
}

.topics-list, .home-title-div, /*.topics-logo,*/ .members-div, .contact-list, .astro-img-div  {
    margin-left: auto;
    margin-right: auto;
}

/*Main navbar*/
.navbar {
    height: 90px;
    justify-content: flex-end !important;
    z-index: 100;
}

.navbar-collapse {
    justify-content: flex-end;
}

.navbar-collapse .nav-item {
    align-self: center;
    margin: 0 30px;
}

.navbar-collapse .nav-link {
    color: white !important;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
}

.navbar-collapse .nav-link:hover:not(.btnLoginMenu){
    color: #FF0080 !important;
    transform: scale(1.3);
}

/*navbar responsive button*/
.navbar-toggler {
    border: none !important;
    height: 100%;
    outline: none !important;
}

.container-fluid {
    height: 100%;
    margin-top: -90px;
}

#home, #about/*, #timeline*/ {
    min-height: 100vh;
}

#home {
    background-image: url("img/home.png");
    background-position: center;
    background-size: cover;
}

.home-section {
    background: linear-gradient(black, transparent, transparent, black);
    display: flex;
    flex-direction: column;
    padding-top: 90px;
}

.home-title-div {
    align-self: flex-end;
}

h1 {
    color: white !important;
    font-family: paytone-font !important;
    font-size: 5.8em !important;
    line-height: 0.9em !important;
}

.badge-primary {
    background: #FF0080 !important;
    border-radius: 0 !important;
    font-size: 1.8em !important;
}

.topics-list, .home-title-div, .topics-logo {
    /*max-width: 70% !important;*/
}

.topic-title {
    color: #FF0080;
    font-size: 1.5em;
    position: relative;
    text-shadow: 5px 5px 8px black;
    text-transform: uppercase;
}

.topic-title > span {
    font-size: 1.6em;
}

.topics-logo {
    margin-bottom: 40px;
    margin-top: 40px;
    text-align: right;
}

.topics-logo img {
    margin: 0 10px;
    max-height: 60px;
}

/*Carousel topics*/
.winners-item {
    position: relative;
    display: none;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}
.carousel-item, .winners-item {
    border-bottom: 2px solid transparent;
    height: 200px !important;
    margin: 0 5px;
    overflow: hidden;
    transition: all 0.5s ease;
    width: 200px !important;
}

.carousel-item p, .winners-item p {
    position: relative;
}

.carousel-background, .winners-background {
    position: absolute;
    height: 100%;
}

.carousel-details {
    background: transparent !important;
    height: 200px;
    padding: 10px;
    position: relative;
    transition: all 0.3s ease;
}
.winners-details{
    height: 200px;
    padding: 10px;
    position: relative;
    /*transition: all 0.3s ease;*/
    background-color: #101028 !important;
}
.carousel-title, .carousel-subtitle, .winners-title, .winners-subtitle {
    text-transform: uppercase;
}

.carousel-title, .winners-title {
    color: white !important;
    font-size: 24px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;

}

.carousel-subtitle, .winners-subtitle {
    color: #FF0080 !important;
    font-weight: bold;
    margin-bottom: 2px;
    opacity: 0;
    transition: all 0.5s ease;
}

.carousel-subtitle, .carousel-description, .carousel-count, .winners-subtitle, .winners-description, .winners-count {
    font-family: font-light;
    font-size: 13px;
}

.carousel-description, .carousel-count, .winners-description, .winners-count {
    color: white !important;
    max-height: 60px;
    opacity: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}
.winners-description{
    opacity: 1 !important;
}

.carousel-item:hover{
    border-bottom: 2px solid #FF0080;
    cursor: pointer;
}

.carousel-item:hover .carousel-details,.carousel-item.selected .carousel-details, .winners-item:hover .winners-details,.winners-item.selected .winners-details{
    background: linear-gradient(rgb(22, 18, 63, 0.67), rgb(106, 0, 128, 0.67)) !important;
}
.winners-item:hover .winners-details,.winners-item.selected .winners-details{
    background: linear-gradient(rgb(16, 16, 40, 1), rgb(44, 44, 109, 1)) !important;
}

.carousel-item:hover .carousel-subtitle, .carousel-item:hover .carousel-description, .carousel-item:hover .carousel-count, .winners-item:hover .winners-subtitle, .winners-item:hover .winners-description, .winners-item:hover .winners-count {
    opacity: 1;
}
.carousel-item.selected .carousel-subtitle, .carousel-item.selected .carousel-description, .carousel-item.selected .carousel-count, .winners-item.selected .winners-subtitle, .winners-item.selected .winners-description, .winners-item.selected .winners-count {
    opacity: 1;
}
.carousel-logo, .winners-logo {
    position: absolute;
    bottom: 5px;
    right: 5px;
    height: 55px;
}

/*About section*/
#about {
    background-image: url(img/galaxy.jpg);
    background-size: cover;
    background-position: bottom;
}

.about-div {
    background: linear-gradient(to right, transparent, black, transparent);
}

.about-content{
    color: white;
    margin: 30px auto;
    text-align: center;
    width: 650px;
}

.about-content h2{
    font-size: 2em;
}

.about-separator {
    background: #FF0080;
    height: 3px;
    width: 100px;
}

.about-content p{
    font-family: font-light;
    font-size: 1.1em;
}

.about-content img{
    width: 120px;
}

#timeline{
    background-image: url("img/constellation.jpg");
    background-position: center;
    background-size: cover;
}

#timeline > div {
    align-items: center;
    background: linear-gradient(black, transparent, transparent,black);
    display: flex;
}

#timeline h3:not(.titlePreRegisterIndex) {
    font-size: 4.5em;
    line-height: 55px;
    margin-bottom: -15%;
    margin-left: 7%;
}

#timeline h3 > span{
    color: #FF0080;
    font-size: 0.8em;
}

.timeline-image-div {
    align-items: center;
    display: flex;
    margin: 50px auto 0;
}

.timeline-image-div > div{
    position: relative;
}

.timeline-point {
    font-size: 1.5em;
    line-height: 28px;
    max-width: 180px;
    position: absolute;
    text-transform: uppercase;
    width: 180px;
}

/*Text on timeline*/
.timeline-point:nth-child(1){
    bottom: 67%;
    left: calc(17% - 140px);
}

.timeline-point:nth-child(2){
    bottom: 62%;
    left: 34%;
}

.timeline-point:nth-child(3){
    bottom: 27%;
    left: calc(20% - 80px);
}

.timeline-point:nth-child(4){
    bottom: 50%;
    left: 46%;
}

.timeline-point:nth-child(5){
    left: calc(51% - 135px);
    max-width: 315px;
    top: 78%;
    width: 315px;
}

.timeline-point:nth-child(6){
    right: calc(22% - 180px);
    top: 66%;
}

/*Responsive timeline*/
.timeline-div {
    margin: 0 auto;
    position: relative;
    width: 100%;
}

.timeline-div:after {
    background-color: #ff0080;
    bottom: 0;
    content: '';
    left: 50%;
    margin-left: -3px;
    position: absolute;
    top: 0;
    width: 5px;
}

.timeline-div p {
    font-size: 1.4em;
    line-height: 28px;
    text-transform: uppercase;
}

.timeline-container {
    background-color: transparent;
    min-height: 110px;
    padding: 15px 30px;
    position: relative;
    width: 50%;
}

.timeline-container:after {
    background-color: #ff0080;
    border-radius: 50%;
    box-shadow: 0px 0px 19px #ff0080;
    content: '';
    height: 25px;
    position: absolute;
    right: -12px;
    top: 15px;
    width: 25px;
    z-index: 1;
}

.left {
    left: 0;
    text-align: right;
}
.right {
    left: 50%;
}

.right::after {
    left: -13px;
}

/*Jury section*/
#jury {
    background-color: #101028;
    padding: 120px 0;
}

.jury-section h2{
    color:white;
    font-size: 4em !important;
    line-height: 38px;
    text-transform: uppercase;
}

.jury-section h2 span{
    color: #FF0080;
    font-size: 26px;
}

.jury-section h3{
    color: white;
    font-size: 1.6em !important;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.jury-section hr {
    background: #FF0080;
    margin: 35px 0;
}

/*.members-div, .contact-list {*/
/*    width: 500px;*/
/*}*/

.members-list {
    display: flex;
}

.members-list > div {
    height: 150px;
    margin: 0 5px;
    overflow: hidden;
    width: 150px;
}

.members-list img {
    height: 100%;
    min-width: 100%;
}

.sponsors > img {
    margin: 5px 10px;
    max-width: 100px;
}

.astro-img-div {
    border-top: 3px solid #FF0080;
    border-radius: 90%;
    min-height: 218px;
    position: relative;
    width: 223px;
}

.astro-img-div h3{
    bottom: 0;
    left: 37px;
    position: absolute;
}

.contact-list .astro-img {
    left: 62px;
    margin-bottom: 20px;
    max-width: 82px;
    position: absolute;
    top: 57px;
}

.contact-item, .contact-item-challenge {
    display: flex;
    margin-bottom: 15px;
}

.contact-item img , .contact-item-challenge img{
    max-height: 90px;
    max-width: 90px;
}

.contact-name {
    font-family: font-regular;
    font-weight: bold;
    text-transform: uppercase;
}

.contact-phone {
    font-family: font-light;
}

.contact-details {
    align-self: center;
    display: flex;
    flex-direction: column;
}

.contact-details p{
    line-height: 18px;
}

footer {
    background-color: #100F1D;
    padding: 30px;
}

footer a{
    color: #FF0080 !important;
}

footer a img{
    margin: 3px 0;
}


footer a:hover{
    color: rgb(255, 0, 128, 0.7) !important;
    cursor: pointer;
}

footer .title {
    font-size: 1.4em;
}

footer p {
    font-family: font-light;
    font-size: 1.1em;
}

.social-links a{
    cursor: pointer;
    margin: 4px;

}

.social-links a:hover{
    opacity: 0.7;
}

.social-links img{

    width: 35px;
}

.container-subject {
    background-image: url("img/background.png");
    background-position: bottom;
    background-size: cover;
    min-height: 100vh;
    padding-top: 90px;
    position: relative;
}

.subject-content {
    margin: 60px auto;
    max-width: 80% !important;
    width: 80% !important;
}

.subject-content h2 {
    color: #FF0090;
    font-size: 1.7em;
    text-transform: uppercase;
}

.project-content h3 {
    font-size: 2.5em;
    line-height: 1.1em;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.project-content h4 {
    font-size: 1.2em;
    margin: 20px 0;
    text-transform: uppercase;
}

.project-description {
    border-left: 2px solid #8800FF;
    font-family: font-light;
    padding-left: 30px !important;
    z-index: 20;
}
.project-description p {
    margin-bottom: 1.5rem;
}
.project-details img:not(:last-child) {
    margin-bottom: 13px;
    /*max-width: 110px;*/
    max-width: 50%;
}

.img-astronaut {
    bottom: 0;
    position: absolute;
    right: 50px;
    width: 300px;
}

/*Responsive*/
@media(max-width: 1520px){
    .subject-content {
        max-width: 90% !important;
        width: 90% !important;
    }
}

@media(max-width: 1300px){
    .topics-list, .home-title-div {
        /*max-width: 80% !important;*/
    }

    /*.project-content  {*/
    /*    flex: none;*/
    /*    max-width: 40% !important;*/
    /*    width: 40% !important;*/
    /*}*/

    .project-content h3 {
        font-size: 3em;
    }

    /*.project-description {*/
    /*    flex: none;*/
    /*    max-width: 60% !important;*/
    /*    width: 60% !important;*/
    /*}*/

    .project-content .contact-item img , .contact-item-challenge img {
        max-height: 70px;
        max-width: 70px;
    }
}

@media(max-width: 1199px){
    .topics-list, .home-title-div, .topics-logo {
        max-width: 90% !important;
    }

    h1 {
        font-size: 5em !important;
    }

    .jury-section h2 {
        font-size: 2.8em !important;
        line-height: 34px;
    }

    /*.members-div, .contact-list{*/
    /*    width: 345px;*/
    /*}*/

    .members-list > div {
        height: 100px;
        width: 100px;
    }

    .sponsors > img {
        max-width: 70px;
    }

    .contact-item img, .contact-item-challenge img{
        max-height: 70px;
        max-width: 70px;
    }

    .timeline-point {
        font-size: 1.25em;
    }

    .timeline-point:nth-child(1) {
        left: calc(17% - 80px);
    }
}

@media(max-width: 991px){
    h1 {
        font-size: 4.5em !important;
    }

    .badge-primary {
        font-size: 1.4em !important;
    }

    .timeline-point{
        font-size: 1.1em;
        line-height: 18px;
        max-width: 170px;
    }

    .navbar, .navbar-collapse {
        background: rgba(0,0,0,0.5);
    }

    .navbar {
        height: 60px;
    }

    .navbar-collapse {
        justify-content: flex-end;
    }

    .container-fluid {
        height: 100%;
        margin-top: -60px;
    }

    .home-section, .container-subject {
        padding-top: 60px;
    }
}

@media(max-width: 767px){
    .about-content {
        width: 500px;
    }

    /*.members-div, .contact-list{*/
    /*    width: 90%;*/
    /*}*/

    .contact-list{
        margin-top: 50px;
    }

    .project-content h3 {
        font-size: 2em;
    }

    #timeline h3:not(.titlePreRegisterIndex) {
        font-size: 3em;
        line-height: 38px;
        margin-bottom: 58px;
        margin-top: 30px;
    }

    .timeline-image-div {
        display: none;
    }
}

@media(min-width: 768px){
    .timeline-div {
        display: none;
    }
}

@media (max-width: 900px){
    .timeline-point {
        font-size: 1em;
        line-height: 18px;
        max-width: 150px;
    }
}

@media(max-width: 650px){
    h1 {
        font-size: 3.5em !important;
    }

    .badge-primary {
        font-size: 1em !important;
    }

    .topic-title {
        font-size: 1.2em;
    }

    .slick-track{
        display: flex !important;
    }

    .topics-logo {
        flex-direction: row;
        text-align: center;
    }

    .topics-logo img{
        margin: 5px 0;
    }
}


@media(max-width: 650px){
    h1 {
        font-size: 2.3em !important;
    }

    .project-content,.project-description  {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .img-astronaut {
        display: none;
    }

    .contact-div {
        margin-bottom: 40px;
    }
}

@media(max-width: 600px){
    .about-content {
        width: 90%;
    }

}

@media(max-width: 570px){
    .about-content {
        width: 90%;
    }

    .left {
        padding-left: 0px;
    }

    .right {
        padding-right: 0px;
    }
    .pre-contact-section {
        margin-top: 0px !important;
    }
    .jury-section {
        padding-top: 15px !important;
    }
}
.footer-logo {
    font-size: 1.5rem;
}

.pre-contact-section {
    padding-bottom: 25px;
    /*margin-top: 130px;*/
}
.main-color {
    color: #FF0080 !important;
}

#addMemberTeam {
    margin-right: 15px;
    background-color: transparent;
    border: 1px solid #FF0090;
}


h3.h3big{
    font-size: 3.5em !important;
    line-height: 55px !important;
}
@media(max-width: 767px)  {
    h3.h3big {
        font-size: 2em !important;
        line-height: 38px;
    }
}
.image-prizes {
    width: auto !important;
    max-height: 75px;
}
.winners-title {
    text-shadow: black 1px 1px;

}
.winners-details .text-silver .m-0{
   font-size: 22px;
}
/*.project-description h2:not(:first-child) ~ *{*/
/*    color: transparent;*/
/*    text-shadow: 0px 0px 4px rgba(255,255,255,1);*/
/*}*/
/*.project-description h2:nth-of-type(2)  + p::first-line{*/
/*     color: white;*/
/*     text-shadow: none;*/
/*}*/

/*.project-description h2:not(:first-child){*/
/*    color: #FF0080 !important;*/
/*    text-shadow: none;*/
/*}*/

/*.project-description h2:nth-of-type(2) + p ~ *:not(.btn){*/
/*    display:none*/
/*}*/
@media
(-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .edition_description {
        margin-bottom: 250px;
    }
    .edition_description .row{
        margin-bottom: 25px;
        padding-bottom: 0 !important;
    }
}