@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');          
  
/*** The new CSS Reset - version 1.4.2 (last updated 30.11.2021) ***/

/*
    Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
    - The "symbol *" part is to solve Firefox SVG sprite bug
 */
 *:where(:not(iframe, canvas, img, svg, video):not(svg *, symbol *)) {
    all: unset;
    display: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove list styles (bullets/numbers) */
ol, ul, menu {
    list-style: none;
}

/* For images to not be able to exceed their container */
img {
    max-width: 100%;
}

/* removes spacing between cells in tables */
table {
    border-collapse: collapse;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
    white-space: revert;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly. */
:where([contenteditable]){
    -moz-user-modify: read-write;
    -webkit-user-modify: read-write;
    overflow-wrap: break-word;
    -webkit-line-break: after-white-space;
}











html { 
    background-color: #fff;
    text-align:center;
    font-family: Raleway, 'sans serif';
    color:#252839;
    letter-spacing: 0.025em;
}

body {
    display:flex;
    flex-direction: column;
    min-height:100vh; 
}

a {
    cursor:pointer;
}

i {font-style:italic}

main {
    flex-grow:1;
}
#top {
    background-color: #252839;
    color:#fff;
    font-size: 16px;
    text-transform: uppercase;
    padding: 0.8rem 2rem;
    text-align:right;

}
#top span {
    color:#D18816;
}

.title {
    background-color: #D18816;
    display:flex;
    padding:1rem 2rem;
    align-items: center;
    justify-content: space-between;
}

.footer {
    background-color: #252839;
    color:#fff;
    font-size: 14px;
    padding: 1rem 2rem; 
    display:flex;
    justify-content: space-between;
    align-items: flex-end;
 /*   padding-bottom: 1rem;
    padding-top: 1rem;*/
}

.footer__logoArea span {
    text-align: left;
    display: block;
    margin-bottom:1rem;
   
}

.footer__logosWrapper {
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap:2rem;
}

.title-container {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-left: 1rem;
}
h1{ 
    color:#252839;
    font-family: Raleway;
    font-weight: 300;
    font-size: 38px;
    line-height: 33px;
    text-align: center;
    
}

h5{ 
    color:#252839;
    font-family: Raleway;
    font-weight: 300;
    font-size: 20px;
    line-height: 33px;
    text-align: center;
    
}

.item {
    width:100%;
    padding:2rem;
    margin:1rem;
    margin-top:2rem;
    border-radius: 8px;
    position:relative;
    transition:all .3s ease-in-out;
}

.item--link {
    position:absolute;
    /*width:100%;*/
    top:0;
    bottom:0;
    left:0;
    right:0;
    height:100%;
}

.item:hover   {
    background-color: #dcdee99a;
    cursor:pointer;
    transform:translate3d(0,-8px,0);

}


.link:hover   {
    text-decoration:underline;
    cursor:pointer;
    color:#D18816;

}

.responsive-image {
    max-width: 100%;
    height: 310px;
    object-fit: scale-down;
    object-position: center;
}

h2, .item-title {
    font-size:16px;
    font-weight:600;
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
    gap: 0.5rem;
}


#model {
    width: 70%; 
    height: 600px;    
    background-color: transparent;
    margin-bottom:5rem;
}
/*
#default-progress-bar > .mask {

    background-color:#D18816!important;
}
#default-progress-bar > .bar {
    background-color:#D18816!important;
}
*/

.flex {
    display:flex;
}



.descriptif {
    width:30%;
    background-color: #252839;
    color:white;
    padding:2rem;
    font-size:16px;
    line-height: 28px;
    border-radius: 8px;
    margin-top:2rem;
    margin-right:2rem;
    margin-bottom:2rem;
    text-align: justify;
    align-self:center;
}

.descriptif p {
    margin-bottom:1.5rem; 
}

.dimension {
    margin-top:1rem;
    font-size:12px;
    display:flex;
    gap:.8rem;
}

p.dimension {
    margin-bottom:1rem;
}

.bibliografia {
    padding-top:2rem;
    font-size:12px;
}

.bibliografia h3 {
    font-size: 16px;
    padding-bottom:1rem;
    color:#D18816;
}

.bibliografia h4 {
    font-size: 13px;
    padding-bottom:1rem;
    color:white;
}


.icon-info {
   /* color: #030303; */
    font-size: 48px;
}

.link-info {
    position: absolute;
    bottom: 2rem;
    left: 1rem;
    z-index: 1;
    color:#252839;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.link-info:hover .icon-info  {
    color: #D18816; 
    transition:color 0.3s ease-in-out;
}

.cat_text {
    color: black;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.wrapper {
  display: inline-block;
}










@media screen and (max-width: 800px) { 
    .title {
        padding:1rem;
    }
    
    h1{ 
        font-size: 24px;
        line-height: 33px;
        text-align: justify;
    }
    
    .flex {
        display:flex;
        flex-direction: column;
    }

    .item {
       /* width:100%;*/
        width:auto;
        position: relative;
    }

    .responsive-image {
      /*  max-width: 100%;*/
      /*  height: auto;*/
       /* object-fit: cover;
        object-position: center;*/
    }

    
    .info {
        display:block;
    }
    .descriptif {
        width:80%;
        text-justify: distribute ;
        text-align: justify;
        margin:0 auto;
        margin-top:1rem;
        margin-bottom:2rem;
    }

    #model {
    width: 100%; 
    height: 600px;    
    background-color: transparent;
    margin-bottom:1rem;
}
    .dimension {
        margin-top:2rem;
        font-size:12px;
        display:flex;
        justify-content: center;
        gap:.8rem;
    }


}


.feature {
display: flex;
    gap: 1rem;
}

.feature svg {width: 25px;}

figure {display:inline-block;text-align:center;}
figcaption { font-size:12px;}

#model {
--progress-bar-color : #D18816;
}


.modaal-close {

    z-index:1;
    position: fixed;
    right: 20px;
    top: 20px;
    color: #fff;
    cursor: pointer;
    opacity: 1;
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0);
    border-radius: 100%;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    background: #252839;
    right: 1rem;
    top: 1rem;
}

.modaal-close.hidden {
    transform:translateY(-100px);
    transition:transform .35s ease-in-out;
}

.modaal-close:after {
    -webkit-transform: rotate(
45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(
45deg);
}
.modaal-close:before {
    -webkit-transform: rotate(
-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(
-45deg);
}
.modaal-close:after, .modaal-close:before {
    display: block;
    content: " ";
    position: absolute;
    top: 14px;
    left: 23px;
    width: 4px;
    height: 22px;
    border-radius: 4px;
    background: white;
    -webkit-transition: background .2s ease-in-out;
    transition: background .2s ease-in-out;
}

.modaal-close span {
    position: absolute!important;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px,1px,1px,1px);
    padding: 0!important;
    border: 0!important;
    height: 1px!important;
    width: 1px!important;
    overflow: hidden;
}

.modaal-close:focus, .modaal-close:hover {
    background: #D18816;
}

.download-poster {
    position: absolute;
    top: 2rem;
    left: 2rem;
    border:1px solid #252839;
    padding:.5rem;
    border-radius: 3px;
    -webkit-transition: background .2s ease-in-out;
    transition: background .2s ease-in-out;
}
.download-poster:hover {
    background-color: rgb(233, 233, 233);
    cursor:pointer;
}