*, *:before, *:after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html, body {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
}

body {
    background: #fff8f8;
    overflow: hidden;
    font-family: sans-serif;
}

.skillBar {
    margin-bottom: 26px;
}

.skillBarContainer {
    width: 100%;
    max-width: 350px;
    height: 20px;
    background: #FFFFFF;
    overflow: hidden;
    border-radius:5px;
}
.skillBarValue {
    height: 1.66em;
    float: left;
    background: #FFACE4;
}

/* Allowed values for the css skill bars */
.value-00  { width: 0;    }
.value-10  { width: 10%;  }
.value-20  { width: 20%;  }
.value-30  { width: 30%;  }
.value-40  { width: 40%;  }
.value-50  { width: 50%;  }
.value-60  { width: 60%;  }
.value-70  { width: 70%;  }
.value-80  { width: 80%;  }
.value-90  { width: 90%;  }
.value-100 { width: 100%; }

/*///////////////////////////////////////////////////
    // Animation \\
///////////////////////////////////////////////////*/
@-webkit-keyframes slideIn {
    0% { width: 0; }
    25% { width:100%; }
    100% { width: normal; }
}
@-moz-keyframes slideIn {
    0% { width: 0; }
    25% { width:100%; }
    100% { width: normal; }
}
@-ms-keyframes slideIn {
    0% { width: 0; }
    25% { width:100%; }
    100% { width: normal; }
}
@-o-keyframes slideIn {
    0% { width: 0; }
    25% { width:100%; }
    100% { width: normal; }
}
@keyframes slideIn {
    0% { width: 0; }
    25% { width:100%; }
    100% { width: normal; }
}
.skillBarValue {
    -webkit-animation: slideIn 2s;
    -moz-animation: slideIn 2s;
    -o-animation: slideIn 2s;
    animation: slideIn 2s;
}

.tinder {
    width: 100vw;
    height: calc(75vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
}

.loaded.tinder {
    opacity: 1;
}

.tinder--status {
    position: absolute;
    top: 50%;
    margin-top: -30px;
    z-index: 2;
    width: 100%;
    text-align: center;
    pointer-events: none;
}

.centered-heading {
    text-align: center;
    padding-top: 20px;  /* Adjust this value if you want more/less space at the top */
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.centered-heading h2 {
    color: grey;
    font-size: 20px;   /* Adjust as per preference */
    margin-bottom: 10px;
}

.centered-heading p {
    color: grey;
    font-size: 14px;   /* Adjust as per preference */
}

.tinder--status i {
    font-size: 100px;
    opacity: 0;
    transform: scale(0.3);
    transition: all 0.2s ease-in-out;
    position: absolute;
    width: 100px;
    margin-left: -50px;
}

.tinder_love .fa-heart {
    opacity: 0.7;
    transform: scale(1);
}

.tinder_nope .fa-remove {
    opacity: 0.7;
    transform: scale(1);
}

.disclaimer {
    color: grey;
    font-size: 12px;          /* Adjust size as per requirement */
    text-align: center;
    margin-top: 20px;        /* Space between the buttons and the disclaimer */
    width: 100%;
}

.tinder--cards {
    flex-grow: 1;
    padding-top: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 1;
}

.end-of-swipe-actions {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the element */
    text-align: center;
    z-index: 5; /* To ensure it appears above all other elements */
    width: 80vw; /* Give it a width so buttons inside can be centered easily */
    max-width: 250px; /* To match the width of the card */
}

.end-of-swipe-actions button {
    margin: 10px 0; /* Vertical spacing between the buttons */
    padding: 10px 20px; /* Adjust as needed */
    border: none;
    background-color: #FFFFFF; /* Changed to match the style of other buttons */
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 8px; /* Rounded corners to match the card */
    display: block; /* Display as block elements */
    color: #333; /* Font color, adjust as needed */
    width: 100%; /* Make buttons full width of their container */
    text-align: center; /* Center the text */
}

.end-of-swipe-actions button:hover {
    background-color: #ddd; /* Change to your preferred hover color */
}



.tinder--card {
    display: inline-block;
    width: 90vw;
    max-width: 250px;
    height: 60vh;
    background: #FFFFFF;
    padding-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    position: absolute;
    will-change: transform;
    transition: all 0.3s ease-in-out;
    cursor: -webkit-grab;
    cursor: -moz-grab;
    cursor: grab;
}

.moving.tinder--card {
    transition: none;
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
    cursor: grabbing;
}

.tinder--card img {
    max-width: 100%;
    pointer-events: none;
}

.tinder--card h3 {
    margin-top: 32px;
    font-size: 32px;
    padding: 0 16px;
    pointer-events: none;
}

.tinder--card p {
    margin-top: 24px;
    font-size: 20px;
    padding: 0 16px;
    pointer-events: none;
}

.tinder--buttons {
    flex: 0 0 100px;
    text-align: center;
    padding-top: 20px;
}

.tinder--buttons button {
    border-radius: 50%;
    line-height: 60px;
    width: 60px;
    border: 0;
    background: #FFFFFF;
    display: inline-block;
    margin: 0 8px;
}

.tinder--buttons button:focus {
    outline: 0;
}

.tinder--buttons i {
    font-size: 32px;
    vertical-align: middle;
}

.fa-heart {
    color: #FFACE4;
}

.fa-remove {
    color: #CDD6DD;
}


.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    position: relative;
    margin: 15% auto;
    padding: 20px;
    width: 40%;
    background-color: #fff;
    border-radius: 4px;
}

/* Add this media query at the end of your CSS */
@media screen and (max-width: 767px) {
    .modal-content {
        width: 100%; /* Full width */
        margin: 0; /* Reset margin */
        height: 100%; /* Optional: to make it full height too */
        border-radius: 0; /* Reset rounded corners for a more 'fullscreen' feel */
    }
}

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


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