#sf-main {
    padding-bottom: 0px;
    margin-top: -70px;
  }

#sf-slideshow-title,
#sf-slideshow-details {
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: calc(2rem + 2vw);
    color: var(--color-red);
    text-align: center;
    font-family: "Bernard MT Std";
}

#sf-slideshow-subtitle {
    font-size: calc(2rem + 1vw);
}

#sf-slideshow-details {
    top: 90%;
    font-size: calc(1rem + 0.8vw);
}

#sf-slideshow img {
    height: calc(100vh - 50px);
    margin-top: 50px;
    width: 100%;
    object-fit: cover;
}

@media (min-width: 1200px){
    #sf-home-section article:nth-child(even) .sf-article-img {
        order: 2;
    }
}

#sf-home-section {
    padding: 5vw 10vw;
}
/*
#sf-home-section article:nth-child(even) .sf-article-content{
    border-left: 1px solid var(--bg-red);
    border-radius:  5px 0 0 5px ;
}

#sf-home-section article:nth-child(odd) .sf-article-content{
    border-right: 1px solid var(--bg-red);
    border-radius: 0 5px 5px 0;
}
*/
#sf-home-section article {
    margin-bottom: calc(5vh + 60px);
}

.sf-article-content {
    margin: 0 -3vw;
    padding: 10px calc(20px + 1vw );
    /*background: linear-gradient(180deg, var(--bg-red-opacity) 80%, var(--bg-black-opacity));*/
    box-shadow: rgb(255 255 255 / 11%) 0px 5px 35px, rgb(0 0 0 / 22%) 0px 15px 12px;
    z-index: 1;
 }

 .sf-article-content h2 {
    text-shadow: var(--txt-shadow);
 }

 .sf-article-content .sf-resume {
    font-weight: 600;
 }

 .sf-article-content > *:not(:last-child) {
     margin: 0 0 10px;
 }

.sf-article-img img {
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

/* Bloc liens bas de page */

#sf-home-links {
    min-height: 30vh;
    background: var(--bg-sand);
    border-top: 1px solid var(--bg-red);
    position: relative;
}

#sf-home-links .sf-shadow-container {
    position: absolute;
    top: 50%;
}

.sf-left, .sf-right {
    width: calc(50% - 2px);
    overflow: hidden;
    display: inline-block;
}

.sf-left {
    color:var(--color-red);
    transform: skew(0deg, -15deg);
    border-right: 1px solid var(--bg-secondary);
}

.sf-right {
    color: var(--color-white);
    transform: skew(0deg, 15deg);
    border-left: 1px solid var(--bg-secondary);
}

.sf-left div {
    transform: translate(50%);
}

.sf-right div {
    transform: translate(-50%);
}

.sf-line-text {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 2rem;
    letter-spacing: 7px;
    text-transform: uppercase;
    line-height: .8;
    transition: ease-out .6s;
    background: #0202010d;
    padding: 10px;
    border-bottom: 3px solid;
}

.sf-left .sf-line-text {
    background: var(--bg-quaternary);
    border-bottom-color: var(--bg-red);
}

.sf-right .sf-line-text {
    background: var(--bg-red);
    border-bottom-color: var(--bg-quaternary);
}

#sf-home-links > div {
    margin: 0 0 120px;
}

.sf-home-link {
    background: linear-gradient(115deg, var(--bg-terciary) 0%, var(--bg-terciary) 10%, var(--bg-secondary) calc(10% + 1px), var(--bg-red) 20%, var(--bg-blue) calc(20% + 2px), var(--bg-blue) 30%, rgb(219 218 213) calc(30% + 1px), rgb(236 231 202) 100%);
    background: linear-gradient(-45deg, var(--bg-primary) 10%, var(--bg-secondary) 50%, var(--bg-primary) 90%);
    background: linear-gradient(-45deg, #fff 10%, #586174 50%, #080e38 120%);
    background: linear-gradient(-45deg, #586174 50%, #131628 120%);
    background: #d1b69e;
    background: linear-gradient(-45deg, #586174 50%, #5A3A31 120%);
    background-size: 400%;
    box-shadow: var(--shadow);
    min-height: 100px;
    padding: 15px;
    width: 50%;
    margin: -60px auto 0;
    text-align: center;
    position: relative;
    border: 2px solid #fff;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    max-width: 250px;
}

.sf-home-link:hover {
    transition-delay: 0.2s;
    text-decoration: none;
}

.sf-home-link::before {
    content: "";
    position: absolute;
    top: -16px;
    left: -16px;
    background: #000000b3;
    height: 32px;
    width: 32px;
    border-radius: 32px;
    transform: scale(1);
    transform-origin: 50% 50%;
}

.sf-home-link:hover::before {
    height: 100%;
    width: 100%;
}

.sf-link-img {
    height: 128px; 
    z-index: 2;
    margin: auto 0 auto auto;
}

.sf-home-link:hover .sf-link-img {
    transform: translate(-40px, 0);
}

.sf-link-img img{
    height: 128px; 
    width: auto; 
    position: relative; 
    overflow: hidden; 
    max-width: 128px;
    object-fit: cover;
    text-align: center;
}

.sf-home-link svg {
    filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
}

.sf-home-link:hover .sf-link-img svg {
    width: 80%;
}

.sf-home-link .sf-link-img svg path {
    fill: #F3EFF5!important;
}

.sf-home-link:hover .sf-link-img svg path {
    fill: var(--bg-terciary)!important;
    
}

.sf-home-link:hover .sf-link-img svg path {
    fill: var(--color-red)!important; 
}


@keyframes fill {
	0% {
		fill: var(--bg-terciary)!important;
	}
	50% {
		fill: var(--bg-quaternary)!important;
	}
	100% {
		fill: var(--bg-terciary)!important;
	}
}


.sf-home-link .sf-vertical-link{
    color: #F3EFF5;
    font-weight: 600;
    font-family: "Bernard MT Std";
    z-index: 2;
    margin: auto 0 auto auto;
    text-shadow: 2px 2px 2px rgb(0 0 0 / 70%);
    line-height: 16px
 }

 .sf-home-link .sf-vertical-link{
    color: #F3EFF5;
    font-weight: 600;
    font-family: "Bernard MT Std";
    z-index: 2;
    margin: auto 0 auto auto;
    text-shadow: 2px 2px 2px rgb(0 0 0 / 70%);
    line-height: 16px
 }
 
.sf-home-link:hover .sf-vertical-link{
    transform: translate(-50px, -5px);
    color: var(--color-red);
    text-shadow: var(--txt-shadow);
}

.sf-home-link .sf-vertical-link::after {
    content: '';
    background-image: url(../../icons/right-arrow.png);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: 50%;
    display: block;
    width: 24px;
    height: 24px;
    transition: 0.3s;
    position: absolute;
    top: calc(50% - 6px);
    right: -50px;
    transform: scaleX(-1);
}

.sf-home-link,
.sf-home-link::before,
.sf-link-img,
.sf-link-img img,
.sf-link-img svg,
.sf-link-img svg path,
.sf-home-link .sf-vertical-link{
    transition: 0.5s;
}


/* RESPONSIVE */
@media (max-width: 1200px) {
    #sf-home-links .sf-shadow-container{
      top: 75%;
    }
  }