.button {
    &.alternative {
        --color:#fff;
        background: url("../images/Icone-etudiant-fond-rouge.png");
        background-repeat: no-repeat;
        //background-position: 48% 30%;
        background-size: 100%;
        
        font-size: 140%;
        width:125%;
        height:30%;
 
    }
    &.alternative2 {
        --color: #fff;
        background: url("../images/icone_enseignant_fond_rouge.png");
        background-repeat: no-repeat;
        //background-position: 52% 30%;
        background-size: 100%;
        font-size: 140%;
        width:125%;
        height:30%;
    }
    &.retour {
        background: url("../images/fleche_retour_accueil.png");
        background-repeat: no-repeat;
        background-size: 100%;
        font-size: 140%;
        width:125%;
        height:30%;
    }
    &.accueil1 {
        --background-hover: opacity : 0.5;
        background: url("../images/icone_etudiant_accueil.png");
        background-repeat: no-repeat;
        background-size: 100%;
        width:400px;
        height:520px;
    }
    &.accueil2 {
        --background-hover: opacity : 0.5;
        background: url("../images/Icone-enseignant-accueil.png");
        background-repeat: no-repeat;
        background-size: 100%;
        width:400px;
        height:520px;
    }
    &.active
    {
        --background: #314372;
        --color: white;
        font-size: 140%;
        width:125%;
        height:30%;
    }
    &.simple {
        
    }
}

.button {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    line-height: 24px;
    //font-size: 14px;
    padding-top: 120%;
    padding-left: 42%;
    //font-weight: 600;
    letter-spacing: .02em;
    border-color: black;
    border-width: 0.1em;
    outline: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    color: var(--c, var(--color));
    background: var(--b, var(--background));
    transition: color .2s linear var(--c-d, .2s), background .3s linear var(--b-d, .2s);
    &:not(.simple) {
        &:before,
        &:after {
            content: '';
            position: absolute;
            background: var(--pb, var(--hover-back));
            top: 0;
            left: 0;
            right: 0;
            height: 200%;
            border-radius: var(--br, 0%);
            transform: translateY(var(--y, 50%));
            transition: transform var(--d, .4s) ease-in var(--d-d, 0s), border-radius .5s ease var(--br-d, .08s);

        }
        &:after {
            --pb: var(--hover-front);
            --d: .44s;
        }
    }
    div {
        z-index: 1;
        position: relative;
        display: flex;
        span {
            display: block;
            backface-visibility: hidden;
            transform: translateZ(0);
            animation: var(--name, none) .7s linear forwards .18s;
        }
    }
    &.in {
        --name: move;
        &:not(.out) {
            --c: var(--color-hover);
            --b: var(--background-hover);
            &:before,
            &:after {
                --y: 0;
                --br: 0%;
            }
            &:after {
                --br: 0%;
                --d-d: .02s;
            }
        }
        &.out {
            --name: move-out;
            &:before {
                --d-d: .06s;
            }
        }
    }
}

@keyframes move {
    30%,
    36% {
        transform: translateY(calc(-6px * var(--move))) translateZ(0) rotate(calc(-13deg * var(--rotate) * var(--part)));
    }
    50% {
        transform: translateY(calc(3px * var(--move))) translateZ(0) rotate(calc(6deg * var(--rotate) * var(--part)));
    }
    70% {
        transform: translateY(calc(-2px * var(--move))) translateZ(0) rotate(calc(-3deg * var(--rotate) * var(--part)));
    }
}

@keyframes move-out {
    30%,
    36% {
        transform: translateY(calc(6px * var(--move))) translateZ(0) rotate(calc(13deg * var(--rotate) * var(--part)));
    }
    50% {
        transform: translateY(calc(-3px * var(--move))) translateZ(0) rotate(calc(-6deg * var(--rotate) * var(--part)));
    }
    70% {
        transform: translateY(calc(2px * var(--move))) translateZ(0) rotate(calc(3deg * var(--rotate) * var(--part)));
    }
}

html {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

* {
    box-sizing: inherit;
    &:before,
    &:after {
        box-sizing: inherit;
    }
}

// Center & dribbble
body {
    /*min-height: 100vh;
    display: flex;
    font-family: 'Inter UI', 'Inter', Arial;
    justify-content: center;
    align-items: center;
    background: #E1E6F9;
    @media(max-width: 440px) {
        flex-direction: column;
    }*/

    margin:0;
    padding:0;
    background-size: cover;
    background-image: url('images/CommunauteIsat.png');
    overflow-x: hidden;

    .button {
        display: block;
        margin: 0 8px;
        &:first-child {
            margin-left: 0;
        }
        &:last-child {
            margin-right: 0;
        }
        @media(max-width: 440px) {
            margin: 8px 0;
        }
    }
    .dribbble {
        position: fixed;
        display: block;
        right: 20px;
        bottom: 20px;
        img {
            display: block;
            height: 28px;
        }
    }
    .twitter {
        position: fixed;
        display: block;
        right: 64px;
        bottom: 14px;
        svg {
            width: 32px;
            height: 32px;
            fill: #1da1f2;
        }
    }
}

#foot a {
	color: white;
}

#foot {
	position: fixed;
	color: #ffffff;
	height: 30px;
	width: 100%;
	bottom:0%;
	margin-right:0px;
	font-size: 80%;
	-moz-box-shadow: 0px 0px 10px #343434;
	-webkit-box-shadow: 0px 0px 10px #343434;
	-o-box-shadow: 0px 0px 10px #343434;
	box-shadow: 0px 0px 10px #343434;
	border: 1px solid #656565;
	background: #761A1A;
  text-align:center;
	/*uniquement en mode linear*/
}

.overlay {
	background: transparent url(../images/overlay.png) repeat top
		left;
	position: fixed;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	z-index: 100;
}

.box {
	position: fixed;
	top: -200px;
	left: 30%;
	right: 30%;
	background-color: #fff;
	color: #7F7F7F;
	padding: 20px;
	border: 2px solid #ccc;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	-khtml-border-radius: 20px;
	-moz-box-shadow: 0 1px 5px #333;
	-webkit-box-shadow: 0 1px 5px #333;
	z-index: 101;
}

a.boxclose {
	float: right;
	width: 26px;
	height: 26px;
	background: transparent url(../images/cancel.png) repeat top
		left;
	margin-top: -35px;
	margin-right: -35px;
	cursor: pointer;
}

.box h1 {
	border-bottom: 1px dashed #7F7F7F;
	margin: -20px -20px 0px -20px;
	padding: 10px;
	background-color: #FFEFEF;
	color: #EF7777;
	-moz-border-radius: 20px 20px 0px 0px;
	-webkit-border-top-left-radius: 20px;
	-webkit-border-top-right-radius: 20px;
	-khtml-border-top-left-radius: 20px;
	-khtml-border-top-right-radius: 20px;
}

/*********************CSS UBE********************/

.fragment-heading-text-colored a {
    color: inherit;
}
img {
    //vertical-align: middle;
}
.col-xl, .col-xl-auto, .col-xl-12, .col-xl-11, .col-xl-10, .col-xl-9, .col-xl-8, .col-xl-7, .col-xl-6, .col-xl-5, .col-xl-4, .col-xl-3, .col-xl-2, .col-xl-1, .col-lg, .col-lg-auto, .col-lg-12, .col-lg-11, .col-lg-10, .col-lg-9, .col-lg-8, .col-lg-7, .col-lg-6, .col-lg-5, .col-lg-4, .col-lg-3, .col-lg-2, .col-lg-1, .col-md, .col-md-auto, .col-md-12, .col-md-11, .col-md-10, .col-md-9, .col-md-8, .col-md-7, .col-md-6, .col-md-5, .col-md-4, .col-md-3, .col-md-2, .col-md-1, .col-sm, .col-sm-auto, .col-sm-12, .col-sm-11, .col-sm-10, .col-sm-9, .col-sm-8, .col-sm-7, .col-sm-6, .col-sm-5, .col-sm-4, .col-sm-3, .col-sm-2, .col-sm-1, .col, .col-auto, .col-12, .col-11, .col-10, .col-9, .col-8, .col-7, .col-6, .col-5, .col-4, .col-3, .col-2, .col-1 {
    padding-left: 12px;
    padding-right: 12px;
    position: relative;
    width: 100%;
    padding-top: 12px;
}
.w-100 {
    width: 100% !important;
}
.text-break {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
}
.mb-0, .my-0 {
    margin-bottom: var(--spacer-0, 0) !important;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Along Sans s2', sans-serif;
    text-transform: uppercase;
}
.lfr-layout-structure-item-4f8da126-ad40-e387-f1de-5ae8dce90021 {
    background-color: #69656B !important;
    max-height: 0.2em !important;
    /*width: 100% !important;*/
}
.pt-1, .py-1 {
    padding-top: var(--spacer-1, 0.25rem) !important;
}
.lfr-layout-structure-item-7050753a-a222-2072-b582-ca422418b99b {
    padding-bottom: var(--spacer-3,1rem) !important;
    padding-left: var(--spacer-3,1rem) !important;
    padding-right: var(--spacer-3,1rem) !important;
    width: 80em !important;
}
.lfr-layout-structure-item-row {
    overflow: hidden;
}
.flex-lg-row {
    flex-direction: row !important;
}
.align-items-lg-start {
    align-items: flex-start !important;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}
@media (min-width: 992px) {
    .col-lg-2 {
    flex: 0 0 calc(2 / 12 * 100%);
    max-width: calc(2 / 12 * 100%);
    }
}
.lfr-layout-structure-item-d6e0baa8-6258-3662-8924-f33965c1cda2 {
    
}
.fragment_133 {
    /* Animation fluide */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /*background-color: #F7F2EF;*/
    width:180px;
    height:210px;
}

.img{ 
    //padding : 15px;
}

@media (min-width: 0px) {
    .fragment_133:hover {
        /* Légère augmentation de la taille lors du survol */
        transform: scale(1.05);
        /* Ombre avec des valeurs relatives */
        box-shadow: 0 0.4em 1.5em rgba(0, 0, 0, 0.2);
        /*border : solid 0.1em;
        border-radius : 0.4em;
        border-color : #A1192E;*/
    }
}


/* Styles supplémentaires pour la responsivité */

/* Pour les petits écrans (smartphones) */


@media (min-width: 2100px) {
    .lfr-layout-structure-margin-top
    {
        margin-top:5%;
        margin-left:10%;
    }
}

@media (max-width: 2100px) {
    .lfr-layout-structure-margin-top
    {
        margin-top:-1%;
        margin-left:10%;
    }
}

/*************************************CSS MENU HORIZONTAL*****************************************/
@media (max-width: 954px) {
    #ex2 .nav {
    //border: 1px solid #333;
    border-top-color: rgb(51, 51, 51);
    border-top-color: #ffffff;
    background-color: #ffffff;
    background: -moz-linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
    background: -webkit-linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
    background: -ms-linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
    background: -o-linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
    background: linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
    text-align: center;
    height: 110px;
    -webkit-box-shadow: 0 1px 3px #999;
    -moz-box-shadow: 0 1px 3px #999;
    box-shadow: 0 1px 3px #999;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    }
    #ex2 .nav a {
    height: 110px;
    margin: 0;
    padding: 23px 35px;
    //line-height: 72px;
    border-left: 1px solid #555;
    //border-right: 1px solid #888;
    text-decoration: none;
    color: black;
    font-family: 'Along Sans s2', sans-serif;
    text-transform: uppercase;
    font-size: 1.2em;
    font-weight: Semi Bold;
    }
}

@media (max-width: 438px) {
    #ex2 .nav {
    //border: 1px solid #333;
    border-top-color: rgb(51, 51, 51);
    border-top-color: #ffffff;
    background-color: #ffffff;
    background: -moz-linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
    background: -webkit-linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
    background: -ms-linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
    background: -o-linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
    background: linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
    text-align: center;
    height: 110px;
    -webkit-box-shadow: 0 1px 3px #999;
    -moz-box-shadow: 0 1px 3px #999;
    box-shadow: 0 1px 3px #999;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    }
    #ex2 .nav a {
    height: 110px;
    margin: 0;
    padding: 23px 35px;
    //line-height: 72px;
    border-left: 1px solid #555;
    //border-right: 1px solid #888;
    text-decoration: none;
    color: black;
    font-family: 'Along Sans s2', sans-serif;
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: Semi Bold;
    }
}

@media (min-width: 955px) {
    #ex2 .nav {
    //border: 1px solid #333;
    border-top-color: rgb(51, 51, 51);
    border-top-color: #ffffff;
    background-color: #ffffff;
    background: -moz-linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
    background: -webkit-linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
    background: -ms-linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
    background: -o-linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
    background: linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
    text-align: center;
    height: 110px;
    -webkit-box-shadow: 0 1px 3px #999;
    -moz-box-shadow: 0 1px 3px #999;
    box-shadow: 0 1px 3px #999;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    }
    #ex2 .nav a {
    height: 110px;
    margin: 0;
    padding: 12 35px;
    //line-height: 72px;
    border-left: 1px solid #555;
    //border-right: 1px solid #888;
    text-decoration: none;
    color: black;
    font-family: 'Along Sans s2', sans-serif;
    text-transform: uppercase;
    font-size: 1.6em;
    font-weight: Semi Bold;
    }
}

.nav {
  padding: 0;
  text-align: center;
}

.nav a {
    display: inline-block;
    margin: 0 0;
    width:46%;
}
.nav li {
  display: inline;
  list-style: none;
  color: black;
  font-family: 'Along Sans s2', sans-serif;
  text-transform: uppercase;
  font-size: 1.2em;
  font-weight: Semi Bold;
}
#ex2 .nav :first-child a {
  border-left: 0;
}
#ex2 .nav :last-child a {
  border-right: 0;
}
/*#ex2 .nav a:hover,
	#ex2 .nav a:focus {
		background-color: #ffffff;
		background: -moz-linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
		background: -webkit-linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
		background: -ms-linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
		background: -o-linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
		background: linear-gradient(bottom , #ffffff 0pt, #ffffff 50%, #ffffff 51%, #ffffff 100%) repeat scroll 0 0 transparent;
		text-shadow: -1px -1px 0 #000;
    }*/
.ad {
	position: fixed;
	padding: 10px;
	width: 125px; height: 260px;
	bottom: 15px; right: 15px;
}	
@media (max-width: 500px) {
.logo {
  width:100%;
}
.profil {
  border:0px;
  width:250%;
  border-radius:20px;
}
.utilisateur {
  border:0px;
  width:250%;
}
.prof {
  float:left;
  margin-left:28%;
  margin-top:50%;
  width:15%;
}
.etudiant {
  float:left;
  margin-left:10%;
  margin-top:50%;
  width:15%;
}
p {
  color: black;
  font-family: 'Along Sans s2', sans-serif;
  text-transform: uppercase;
  font-weight: Semi Bold;
  font-size:14px;
}
}
@media (min-width: 501px) {
.logo {
  height:80%;
}
.profil {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border:0px;
  width:100%;
  border-radius:10px;
}
.utilisateur {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border:0px;
  width:100%;
}
.prof {
  float:left;
  margin-left:9.7%;
  margin-top:5%;
  width:15%;
}
.etudiant {
  float:left;
  margin-left:30%;
  margin-top:5%;
  width:15%;
}
p {
  color: black;
  font-family: 'Along Sans s2', sans-serif;
  text-transform: uppercase;
  font-weight: Semi Bold;
  font-size:40px;
}
}
.utilisateur:hover {
  transform: scale(1.01);
  /* Ombre avec des valeurs relatives */
  box-shadow: 0 0.4em 1.5em rgba(0, 0, 0, 0.5);
}
.profil:hover {
  transform: scale(1.05);
  /* Ombre avec des valeurs relatives */
  box-shadow: 0 0.4em 1.5em rgba(0, 0, 0, 0.5);
}
.accueil {
  float:center;
  text-align:center;
  margin-top:150px;
  width:100%;
  
}
.isat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 25px 28px;

  background: #ffffff;
  border-bottom: 1px solid #e9ecef;

  font-family: Arial, sans-serif;
  position: relative;
  flex-wrap: wrap;
}
.isat-header__left {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}
.isat-logo {
  height: 75px;
  width: auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top:-4px;
}
.isat-title {
  display: flex;
  flex-direction: column;
  align-items: left;
  text-align: left;
}

.isat-title__main {
  font-size: 25px;
  font-weight: 700;
  color: #1A1A1A;
}

.isat-title__sub {
  font-size: 16px;
  color: #6c757d;
}
.isat-header__right {
  z-index: 2;
}
.isat-profile {
  font-size: 16px;
  font-weight: 500;

  color: #1A1A1A;
  text-decoration: none;

  padding: 8px 12px;
  border-radius: 6px;

  background: #f5f5f5;
  border: 1px solid #e9ecef;

  transition: all 0.2s ease;
}
.isat-profile:hover {
  background: rgba(200, 16, 46, 0.08);
  border-color: rgba(200, 16, 46, 0.2);
  color: #C8102E;
}
.isat-header {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

@media (max-width: 768px) {

  .isat-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
  }

  /* titre revient dans le flux normal */
  .isat-title {
    position: static;
    transform: none;
    align-items: flex-start;
    text-align: left;
  }

  .isat-title__main {
    font-size: 20px;
  }

  .isat-title__sub {
    font-size: 13px;
  }

  .isat-logo {
    height: 55px;
  }

  .isat-header__right {
    width: 100%;
    padding-top:30px;
  }

  .isat-profile {
    padding-top: ;
    width: 100%;
    text-align: center;
    display: block;
  }
}