@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --main-color: #60a0d7;
    --bg-color: #ebebf0;
    --black-color: #1d1d1f;
    --white-color: #fff;
    --whitesmoke-color: whitesmoke;
    --gray-color: #393939;
    --gray1-color: #969696;
    --btn-color: linear-gradient(90deg, rgba(30,144,255,1) 0%, rgba(74,168,255,1) 50%, rgba(133,198,255,1) 100%);
    --border-black-color: #424952;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    list-style: none;
}

body {
    min-height: 100vh;
    background: var(--bg-color);
    color: var(--black-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

/**************************************
			   1. POPUP
***************************************/
.info-msg,
.success-msg,
.warning-msg,
.error-msg {
    margin: 10px 0;
    padding: 10px;
    border-radius: 3px 3px 3px 3px;
    font-size: 15px;
    text-align: center;
    z-index: 1;
}

.info-msg {
    color: #059;
    background-color: #BEF;
}

.success-msg {
    color: #270;
    background-color: #DFF2BF;
}

.warning-msg {
    color: #9F6000;
    background-color: #FEEFB3;
}

.error-msg {
    color: #D8000C;
    background-color: #FFBABA;
}


/**************************************
			   2. LOADER
***************************************/
.loader-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--bg-color);
}

.loader {
    transform: rotateZ(45deg);
    perspective: 1000px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: var(--main-color);
    position: relative;
}

.loaderUpload {
    transform: rotateZ(45deg);
    perspective: 1000px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: var(--main-color);
    position: relative;
    display: none;
}

.loader:before,
.loader:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    transform: rotateX(70deg);
    animation: 1s spin linear infinite;
}
.loader:after {
    color: var(--main-color);
    transform: rotateY(70deg);
    animation-delay: .4s;
}

.loaderUpload:before,
.loaderUpload:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    transform: rotateX(70deg);
    animation: 1s spin linear infinite;
}
.loaderUpload:after {
    color: var(--main-color);
    transform: rotateY(70deg);
    animation-delay: .4s;
}

@keyframes spin {
    0%, 100% {
        box-shadow: .2em 0 0 0 currentcolor;
    }
    12% {
        box-shadow: .2em .2em 0 0 currentcolor;
    }
    25% {
        box-shadow: 0 .2em 0 0 currentcolor;
    }
    37% {
        box-shadow: -.2em .2em 0 0 currentcolor;
    }
    50% {
        box-shadow: -.2em 0 0 0 currentcolor;
    }
    62% {
        box-shadow: -.2em -.2em 0 0 currentcolor;
    }
    75% {
        box-shadow: 0 -.2em 0 0 currentcolor;
    }
    87% {
        box-shadow: .2em -.2em 0 0 currentcolor;
    }
}

.typewriter h1 {
    overflow: hidden;
    font-weight: 300;
    white-space: nowrap;
    margin: 20px auto 0; /* Space below the loader */
    letter-spacing: .15em;
}

.typewriter h1 span {
    color: var(--main-color)
}


.progress-bar {
    width: 100%;
    background-color: #fad0d0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
    display: none; /* Hide by default */
}
.progress-bar-fill {
    height: 20px;
    background-color: #4caf50;
    width: 0;
    transition: width 0.25s;
}

.file-size-warning {
    color: red;
    display: none;
}

/* Start Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 85px;
    display: none;
    overflow-x: hidden;
    flex-direction: column;
    background: var(--black-color);
    padding: 25px 20px;
    transition: all 0.4s ease;
    z-index: 100;
}
.sidebar:hover {
    width: 260px;
}
.sidebar .sidebar-header {
    display: flex;
    align-items: center;
}
.sidebar .sidebar-header img {
    width: 42px;
}
.sidebar .sidebar-header h2 {
    color: var(--white-color);
    font-size: 1.25rem;
    font-weight: 300;
    white-space: nowrap;
    margin-left: 23px;
}
.sidebar .sidebar-header h2 span{
    color: var(--main-color);
}
.sidebar-links h4 {
    color: var(--main-color);
    font-size: .75rem;
    font-weight: 100;
    white-space: nowrap;
    margin: 10px 0;
    position: relative;
}
.sidebar-links h4 span {
    opacity: 0;
}
.sidebar:hover .sidebar-links h4 span {
    opacity: 1;
}
.sidebar-links .menu-separator {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    transform: scaleX(1);
    transform: translateY(-50%);
    background: var(--main-color);
    transform-origin: right;
    transition-delay: 0.2s;
}
.sidebar:hover .sidebar-links .menu-separator {
    transition-delay: 0s;
    transform: scaleX(0);
}
.sidebar-links {
    list-style: none;
    margin-top: 20px;
    height: 80%;
    overflow-y: auto;
    scrollbar-width: none;
}
.sidebar-links::-webkit-scrollbar {
    display: none;
}
.sidebar-links li a {
    display: flex;
    align-items: center;
    gap: 0 20px;
    color: var(--white-color);
    font-weight: 500;
    white-space: nowrap;
    padding: 15px 10px;
    text-decoration: none;
    transition: 0.2s ease;
}
.sidebar-links li a:hover {
    background: var(--gray-color);
    border-radius: 4px;
}

.sidebar-links li a:hover span {
    color: var(--main-color);
}
.user-account {
    margin-top: auto;
    padding: 12px 10px;
    margin-left: -10px;
}
.user-profile {
    display: flex;
    align-items: center;
    color: var(--white-color);
}
.user-profile img {
    width: 42px;
    border-radius: 50%;
    border: 2px solid var(--white-color);
}
.user-profile h3 {
    font-size: 1rem;
    font-weight: 500;
}
.user-profile a {
    font-size: 0.775rem;
    font-weight: 300;
    color: var(--main-color);
    text-decoration: underline;
}
.user-detail {
    margin-left: 23px;
    white-space: nowrap;
}
.sidebar:hover .user-account {
    background: var(--gray-color);
    border-radius: 4px;
}
/* End Sidebar */

/* Start Bottombar */
.bottom-bar{
    position: fixed;
    bottom: 0;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    margin-top: 20em;
    width: 100%;
    border-radius: 20px 20px 0 0;
    background: var(--black-color);
    z-index: 100;
}
.bottom-bar .icon{
    font-size: 1.1em;
    padding: .5em;
    margin: .5em;
    margin-top: 0;
    transition: .5s ease-in-out;
    border-radius: 100%;
    color: var(--white-color);
    border: 7px solid var(--black-color);
}
.bottom-bar .active{
    transform: scale(1.25) translateY(-1em);
    background: var(--btn-color);
    border: 7px solid var( --border-black-color);
    color: var(--white-color);
}
/* End Bottombar */

/* Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 100px;
    padding: 20px;
}

.container {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.slide, .container-content {
    min-width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
    padding: 20px;
}

/* Navigation Buttons */
.prev-btn, .next-btn {
    background: var(--btn-color);
    color: var(--white-color);
    border: none;
    border-radius: 80px;
    font-size: 20px;
    padding: 12px;
    cursor: pointer;
}

.next-btn {
    margin-left: 10px;
}

.arrow-slide {
    display: flex;
    justify-content: end;
    margin-right: 20px;
    margin-bottom: 50px;
}

/* Header Section */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header a {
    padding: 10px;
    border-radius: 100%;
    font-size: 24px;
    color: var(--black-color);
    background: var(--white-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-size: 18px;
    font-weight: 500;
}

.profile, .add-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    padding: 20px;
    border-radius: 20px;
    background: var(--white-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.profile-info, .card-info {
    display: flex;
    justify-content: space-between;
    text-align: center;
    width: 100%;
}

.profile .info h4 {
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 500;
    font-size: 10px;
}

.interaction a {
    background: var(--bg-color);
    color: var(--black-color);
    font-size: 15px;
    padding: 10px;
    border-radius: 25px;
    margin: 0 8px;
}


.add-card .info h4 {
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: bold;
    font-size: 18px;
}

.profile-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.profile-name {
    margin: 10px 0 20px;
    text-align: center;
}

.profile-name h2 {
    font-family: "Montserrat Alternates", sans-serif;
    font-size: 23px;
    font-weight: 600;
}

.profile-name p {
    margin-top: 5px;
    font-size: 13px;
    color: var(--gray1-color);
}

.card-image {
    background-size: cover; /* L'image couvre entièrement le conteneur */
    background-position: center; /* Centre l'image de fond dans le conteneur */
    margin-top: 20px;
    width: 100%;
    height: 350px; /* Hauteur automatique pour maintenir les proportions */
    text-align: center;
    border-radius: 10px;
    box-sizing: border-box; /* Inclut les bordures et les marges dans le calcul de la largeur */
}

.connections {
    text-align: right;
}

.connections i {
    padding: 8px;
    background: var(--whitesmoke-color);
    border-radius: 50px;
}

.connections span {
    font-size: 30px;
    font-weight: 500;
}

.connections p {
    font-size: 10px;
    color: var(--gray1-color);
}

/* Links Section */
.links {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.links span, .links span a {
    font-family: "Montserrat Alternates", sans-serif;
    font-size: 12px;
    color: var(--gray1-color);
}

.links span a {
    color: var(--main-color);
}

.links span a:hover {
    color: var(--gray1-color);
}


.add-icon {
    width: 100%;
    height: auto;
    text-align: right;
}

.add-icon .indicator {
    position: absolute;
    margin-top: -100px;
    right: 40px;
    background: #fff;
    padding: 60px;
    border-radius: 60px 0px 10px 0px;
}

.add-icon a .add-sharp {
    position: absolute;
    margin-top: -80px;
    margin-left: -80px;
    background: var(--white-color);
    color: var(--black-color);
    font-size: 30px;
    padding: 10px;
    border-radius: 50px;
    border: 15px solid var(--whitesmoke-color);
    transition: ease .5s;
}

.add-icon a .add-sharp:hover {
    border: 15px solid var(--gray-color);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

/* Toggle Switch */
.switch {
    position: relative;
    display: flex;
    width: 40px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.56);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background: var(--btn-color);
}

input:checked + .slider:before {
    transform: translateX(14px);
}

/* Social Content */
.social-content {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.social-links {
    background: var(--white-color);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-right: 10px;
}

.social-links.onecard-page {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

.social-img {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-img img {
    width: 25px;
    height: 25px;
    margin-right: -5px;
}

.social-links p {
    margin-top: 10px;
    font-size: 25px;
    font-weight: 600;
    color: var(--black-color);
}

.social-links p span {
    font-size: 11px;
    font-weight: normal;
    color: var(--gray1-color);
}

.shop {
    margin-top: 10px;
    background: var(--btn-color);
    color: var(--white-color);
    border: none;
    border-radius: 50px;
    padding: 10px;
    font-size: 20px;
}


.no-profile {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    margin-top: 20px;
    width: 100%;
}
.add-profile-btn {
    display: inline-block;
    background: linear-gradient(90deg, rgba(30,144,255,1) 0%, rgba(74,168,255,1) 50%, rgba(133,198,255,1) 100%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
}
.add-profile-btn:hover {
    background: linear-gradient(90deg, rgba(30,144,255,1) 0%, rgba(74,168,255,1) 50%, rgba(133,198,255,1) 100%);
}

/* Recent Connections */
.recent-connections {
    width: 100%;
    background: var(--white-color);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: none;
}

.recent-connections h4 {
    font-size: 12px;
    font-weight: bolder;
}

.connection {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.connection img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.connection p {
    font-size: 11px;
}

.form {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-top: 20px;
}
.form-container {
    margin: 10px;
    width: 100%;
    position: relative;
}
.form-header {
    display: flex;
    align-items: center;
}

.form-content {
    background: var(--white-color);
    border-radius: 20px;
    padding: 20px;
}

.back-button {
    margin-right: 10px;
    cursor: pointer;
}

.back-button .icon-return {
    background: var(--white-color);
    color: var(--black-color);
    padding: 10px;
    border-radius: 50px;
    font-size: 1rem;
}

.form-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
}
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}
.step {
    width: 30%;
    height: 4px;
    margin: 0 10px;
    border-radius: 20px;
    background-color: var(--whitesmoke-color);
}
.step.active {
    background-color: var(--black-color);
}
.form-step {
    display: none;
}
.form-step.active {
    display: block;
}

.form-title {
    margin: 10px 0 30px;
}

.form-title h3 {
    font-size: 15px;
    font-weight: 500;
}

.input-data {
    position: relative;
    margin-bottom: 20px;
}
.input-data input, .input-data textarea {
    width: calc(100% - 20px);
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--whitesmoke-color);
    outline: none;
}
.input-data label {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(20px);
    color: var(--gray1-color);
    transition: all 0.3s ease;
    pointer-events: none;
}
.input-data input:focus ~ label, .input-data input:valid ~ label,
.input-data textarea:focus ~ label, .input-data textarea:valid ~ label {
    transform: translateY(-10px);
    font-size: 0.6rem;
    color: var(--main-color);
}
.input-data .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--main-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.input-data input:valid, .input-data textarea:valid {
    font-size: 15px;
    padding-top: 15px;
    padding-bottom: 0;
}

.input-data .icon {
    right: 0;
    cursor: pointer;
    color: #aaa;
}

.input-data .icon i {
    font-size: 15px;
    padding: 5px;
    border: 1px solid #aaa;
    border-radius: 50px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.platform-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.modal-input {
    margin-bottom: 20px;
}

.modal-input label {
    text-align: left;
    font-size: 15px;
}

.modal-input input, .modal-input select {
    width: calc(100% - 20px);
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

.save-link-btn {
    background: var(--black-color);
    color: white;
    border: none;
    margin-top: 10px;
    width: 100%;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
}

.remove-link-btn {
    border: none;
    background: transparent;
}

.remove-link-btn i{
    font-size: 15px;
    color: var(--gray-color);
    padding: 5px;
    border: 1px solid var(--whitesmoke-color);
    border-radius: 5px;
}

#socialLinksContainer {
    margin-top: 10px;
}

.social-link-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.social-link-item:last-child {
    margin-bottom: 15px;
}

.social-link-item img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 50%;
}

.social-link-item span {
    flex-grow: 1;
    font-size: 10px;
}

.form-navigation {
    position: relative;
    display: flex;
    justify-content: space-between;
    bottom: 0;
    text-align: center;
    margin: 10px;
}

.form-btn {
    width: 100%;
}

button.form-btn {
    background: var(--black-color);
    color: var(--white-color);
    border: none;
    margin: 0 5px;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}
button.form-btn:disabled {
    background: var(--gray1-color);
    cursor: not-allowed;
}

.upload-section {
    margin: 20px 0;
    text-align: center;
}
.upload-label {
    display: block;
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}
.upload-label:hover {
    border-color: #3498db;
}
.upload-icon {
    position: relative;
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 10px;
}
.upload-plus {
    font-size: 1rem;
    position: absolute;
    top: 5px;
    right: -10px;
    color: #3498db;
}
.upload-text {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}
.upload-subtext {
    font-size: 0.8rem;
    color: #999;
}
input[type="file"] {
    display: none;
}

.upload-preview {
    display: block;
    max-width: 100%;
    max-height: 200px;
    margin: 0 auto 10px auto;
    border-radius: 10px;
    object-fit: cover;
}


.preview-profile-container {
    width: 100%;
    overflow: hidden;
}

.preview-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 0 30px 30px;
}

.preview-profile-info {
    text-align: center;
    padding: 20px;
}

.preview-profile-pic img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-top: -100px;
    border: 5px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.preview-profile-info h1 {
    font-size: 1.5rem;
    margin: 10px 0 10px 0;
}

.preview-profile-info h2 {
    font-size: 1rem;
    color: #777;
    margin-bottom: 15px;
    font-weight: normal;
}

.preview-profile-info p {
    font-size: .9rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
}

.preview-profile-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.preview-btn {
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.preview-primary-btn {
    background: var(--btn-color);
    color: var(--white-color);
}

.preview-secondary-btn {
    background-color: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
}

.preview-portfolio-section, .preview-social-media-section, .preview-contact-info {
    padding: 20px;
    text-align: center;
}

.preview-portfolio-items img {
    width: 200px;
    height: auto;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.preview-social-media-section {
    text-align: left;
}

.preview-profile-container h3 {
    color: var(--main-color);
}
.preview-social-media-section h3 {
    margin-bottom: 30px;
}

.preview-social-icons a {
    width: 100%;
}

.preview-social-icons a i{
    background: #fff;
    color: #333;
    padding: 10px 12px;
    font-size: 1.3rem;
    border-radius: 40px;
    margin: 15px 5px 15px;
}

.preview-contact-info {
    text-align: left;
}

.preview-contact-info .preview-contact-item {
    display: flex;
    align-items: center;
    margin: 20px 0;
    background: var(--white-color);
    padding: 20px;
    border-radius: 20px;
}

.preview-contact-info .preview-contact-item i {
    font-size: 1.5rem;
    margin-right: 20px;
    padding: 20px;
    background: var(--bg-color);
    color: var(--main-color);
    border-radius: 10px;
}

.preview-contact-info .preview-contact-item div {
    text-align: left;
}

.preview-contact-info .preview-contact-item div h4 {
    margin: 0;
    font-size: 1rem;
}

.preview-contact-info .preview-contact-item div p, .preview-contact-info .preview-contact-item div a {
    margin: 5px 0 0 0;
    color: #555;
    font-size: 0.85rem;
}

/* Styles pour la modale */
.preview-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.preview-modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.preview-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.preview-modal-content, .preview-caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0.1)}
    to {transform:scale(1)}
}

/* Le bouton pour fermer la modale */
.preview-close {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.preview-close:hover,
.preview-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


@media (max-width: 510px) {
    .preview-social-icons a i{
        padding: 5px 7px;
        margin: 10px 5px 0;
        font-size: 1rem;
    }

    .preview-profile-buttons {
        flex-direction: column;
    }
}


@media (max-width: 415px) {
    .carousel-container {
        margin-bottom: 100px;
    }
    .social-content {
        display: block;
    }

    .interaction {
        margin: 15px 0 10px;
        display: flex;
        justify-content: space-between;
    }

    .shop {
        display: flex;
        justify-content: center;
    }

    .recent-connections {
        margin-top: 10px;
    }
}

@media (min-width: 800px) {
    .carousel-container {
        padding-left: 105px;

    }

    .bottom-bar {
        display: none;
    }

    .sidebar {
        display: flex;
    }
}