body{
    margin: 0px;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: rgb(255,255,255);
}


/*Header Section Styles*/

header{
    background-color: #f06449;
    padding: 9px;
    box-shadow: 0px 4px 16px 0px rgba(123,122,122,0.39);
}

.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar-link{
    color: white;
    text-decoration:none;
    display: inline;
    margin: 8px;
}
.navbar-link:hover{
    text-decoration:underline;
}

/*Main Content Area Styles*/

@media (max-width: 850px) {
    .jumbotron {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 550px) {
    .jumbotron {
        padding: 20px 10px 10px !important;
    }
}
.jumbotron{
    position: relative;
    background-position: 0 -5px;
    padding: 50px 20px;
    margin: 0 0 20px;
    /* border-bottom: 20px solid white; */
    text-align: center;
}
.jumbotron h1{
    margin: 10px 0px;
}


/* DIV */
.container{
    width: 93vw;
    margin: 2rem 0;
    position: relative;
    padding: 0 2rem;
}
.wrap{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-evenly;
    position: relative;
}
.center{
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
}
.grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    align-items: start;
    justify-items: center;
    grid-gap: 3rem 3rem;
}
.gridItem{
    display: grid;
    grid:
        "preview" minmax(56.25%, auto)
        "content" auto / minmax(0, 100%);
    position: relative;
    width: 100%;
    height: 100%;
    /* z-index: 1; */
}
.row-inline{
    display:flex;
    flex-wrap:wrap;
    align-items: flex-end;
    gap: 9px;
    justify-content: space-between;
}
.col-50{
    width: 48%;
    display: flex;
    margin: 3px;
    /* align-items: center; */
}
.col-40{
    width: 40%;
    display: flex;
    margin: 3px;
    align-items: center;
}


/* Modal Styles */
.modal { 
    display: none;/* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    animation: fadeIn 0.3s ease-out; /* Fade in animation */
}

  /* Fade in animation */
@keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
}
@keyframes fadeOut {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
}

.modal-dialog{
    top: -40px;
    position: relative;
}

  /* Modal Content/Box */
  .modal-content {
    border-radius: 12px;
    background-color: white;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #7b7a7a;
    width: 80%; /* Could be more or less, depending on screen size */
  }
  .modal-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
  .modal-footer{
    display: flex;
    justify-content: end;
    gap: .5rem;
}
  

/* CARD */
.card{
    border-radius: 10px;
    overflow: hidden;
    transition: clip-path .3s ease .1s;
    padding: 9px;
    /* box-shadow: 0px 5px 15px 0px #EFEFEF; */
    /* border: 1px solid #cfcfcf; */
}
.card:hover{
    cursor: pointer;
    background-color: #EFEFEF;
}
.card-img-top{
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    display: grid;
    align-items: stretch;
    object-fit: cover;
    height: 15rem;
    width: 100%;
    margin-bottom: 6px;
}
.card-body{
    padding: 3px 6px;
}
.card-title{
    color:black;
    font-weight: bolder;
    margin: 6px 0;
}


/* p, span */
p{
    margin: 3px 0;
}
.text-uppercase{
    text-transform:uppercase!important
}
.text-lowkey{
    color: #474747;
    font-size: small;
}
.text-primary{
    color: #f06449;
    margin: 9px 0px;
    padding: 6px 0px;
    font-weight: 600;
    font-size: larger;
}
.section-title{
    margin: 6px 0px;
    padding: 6px 0px;
    font-weight: 600;
    /* font-size: large; */
    /* color: #474747; */
}

a {
    text-decoration: none;
}
.text-URL{
    color: #033860;
    font-size: large;
    font-weight: 600;
    font-style: italic;
}
.text-URL:hover{
    text-decoration: underline;
}
.about{
    margin: 1rem 0px;
}


/* FORM */
*:focus{outline: none}
.div-responsive{
    width: 40vw;
    max-width: 400px;
    align-self: center;
    min-width: 200px;
}
.form-input{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    /* border: 1px solid #EFEFEF; */
    border-radius: 6px;
}
.input-group{
    display: flex;
    flex-direction: column;
    color: #474747;
    position: relative;
}
.input-item{
    padding: 9px 12px;
    margin: 3px;
    border-radius: 3px;
    border: none;
    background-color: #EFEFEF;
    flex-grow: 1;
}
.input-item:focus{
    border: 1px solid #f06449;
}
.input-group .input-label{
    position: absolute;
    top: 9px;
    left: 12px;
    transition: all 0.2s ease-out;
    pointer-events: none;
    color: #7b7a7a;
    cursor: text;
    /* font-size: 14px; */
    font-weight: 300; 
/* } */
}

.input-group input:focus + .input-label,
.input-group input:valid + .input-label{
    top: -16px;
    left: 3px;
    font-size: 11px;
    transition: all .3s ease;
    font-weight: normal;
}
.input-group input:focus + .input-label{
    color: #f06449;
}
textarea{
    font-family: inherit;
}

#imagePreviewContainer{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-between;
    gap: 9px;
}
.imgSelect-box{
    color: #474747;
    border: 1px solid #474747;
    border-radius: 6px;
    height: 192px;
}
.imgSelect-box:hover{
    color: #f06449;
    border: 1px solid #f06449;
}
.fileSelector-input{
    position: absolute;
    opacity: 0;
    display: block;
    width: 10rem;
    height: 192px;
    z-index: 1;
}
.selectBox-content{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    justify-content: center;
    padding: .5rem;
    height: 10rem;
}
.inputFile-container{
    display: flex;
    align-items: center;
    flex-direction: column;
    border: 2px dashed #7b7a7a;
    border-radius: 3px;
}
.addPhoto-icon{
    width: 75%;
    height: 75%;
}

/* BUTTON */
.btn{
    padding: 9px 12px;
    border-radius: 6px;
    border: none;
}

.btn-form{
    background-color: #033860;
    color:#EFEFEF;
}
.btn-form:hover{
    background-color: #022641;
    cursor: pointer;
}
.btn-lowkey{
    background-color: #7b7a7a;
    color:#EFEFEF;
}
.btn-lowkey:hover{
    background-color: #474747;
    cursor: pointer;
}
.btn-primary{
    background-color: #f06449;
    color: white;
}
.btn-primary:hover{
    background-color: #b2402a;
    cursor: pointer;
}
.btn-close {
    color: #7b7a7a;
    float: right;
    height: 16px;
    width: 16px;
    margin: 6px;
    border: none;
    border-radius: 3px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237b7a7a'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
}
.btn-close:hover,
.btn-close:focus {
    cursor: pointer;
    background-color: #EFEFEF;
}
.btn-outline{
    background-color: white;
    /* border-color: white; */
    color: #f06449;
}
.btn-outline:hover{
    cursor: pointer;
    background-color: #EFEFEF;
}
.btn-outline-danger{
    color: crimson;
    border: 1px solid crimson;
    background-color: white;
}
.btn-outline-danger:hover{
    color: white;
    background-color: crimson;
    cursor: pointer;
}



.slideshow-container {
    position: relative;
    margin: auto;
    display: flex;
    justify-content: center;
}
.slide-number {
    color: #EFEFEF;
    background-color: rgba(71, 71, 71, 0.8);
    margin: 12px 12px;
    padding: 6px 9px;
    border-radius: 12px;
    position: absolute;
    top: 0;
    right: 0;
}
.slider-img{
    object-fit: contain; 
    max-width: 100%; 
    height: 80vh;
}


.connexion-form{
    width: 50%;
    display: flex;
    flex-direction: column;
}




.border-dashed-grey{
    border: 1px dashed #474747;
}

.btn-pointer {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 3px;
    user-select: none;
    color: #f06449;
}
.btn-pointer:hover {
    /* color: #EFEFEF; */
    background-color: rgba(240, 100, 73, 0.3);
}


.link{
    color: #033860;
}
.link:hover{
    text-decoration: underline;
}



footer{
    margin-top: 1rem;
    background-color: #EFEFEF;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
footer form{
    /* display: grid; */
    gap: 1rem;
}
footer .contact-input:focus {
    outline: none;
    border-bottom: 2.5px solid #f06449;
}
footer .contact-input:focus + .input-label,
footer .contact-input:valid + .input-label {
    top: -0.5rem;
    font-size: 0.75rem;
    color: #f06449;
}
/* footer .contact-input:invalid + .input-label{
    color: crimson;
    top: -0.5rem;
    font-size: 0.75rem;
} */

footer .contact-input {
    display: flex;
    flex-direction: column;
    padding: 9px 12px;
    border: none;
    border-bottom: 1px solid #474747;
    background-color: #EFEFEF;
}

footer textarea{
    width: 100%; 
    margin-top: 9px; 
    border: 1px solid #474747;
    border-radius: 6px;
    font-size: 15px;
    padding: 6px 3px;
}
footer textarea:focus{
    border-color: #f06449;
}


.inputFile-container.dragging {
    opacity: 0.5;
}
