﻿:root {
    /* ===== Colors ===== */
    --primary-color: #186A3B;
    --secundary-color: #124d87;
    --panel-color: #FFF;
    --text-color: white;
    --black-light-color: #707070;
    --border-color: #e6e5e5;
    --toggle-color: #DDD;
    --box1-color: #07a866;
    --box2-color: #07a866;
    --box3-color: #07a866;
    --title-icon-color: #fff;
    /* ====== Transition ====== */
    --tran-05: all 0.5s ease;
    --tran-03: all 0.3s ease;
    --tran-03: all 0.2s ease;
}

/* ======= Boxes =======*/
.boxes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
}

    .boxes .doublebox {
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 12px;
        width: calc(100%/2 - 15px);
        padding: 15px 20px;
        background-color: #07a866;
        transition: var(--tran-05);
    }

    .boxes .box {
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 12px;
        width: 100%;
        padding: 15px 20px;
        background-color: var(--box1-color);
        transition: var(--tran-05);
    }

        .boxes .box i,
        .boxes .doublebox i {
            font-size: 35px;
            color: var(--text-color);
        }

        .boxes .box .text {
            font-size: 14px;
            font-weight: bold;
            color: var(--text-color);
            text-align: center;
        }

    .boxes .doublebox .text {
        font-size: 18px;
        font-weight: 500;
        color: var(--text-color);
        text-align: center;
    }

    .boxes .box .number,
    .boxes .doublebox .number {
        font-size: 32px;
        font-weight: bold;
        color: var(--text-color);
    }

    .boxes .box.box2,
    .boxes .doublebox.box2 {
        background-color: var(--box3-color);
    }

    .boxes .box.box3,
    .boxes .doublebox.box3 {
        background-color: var(--box2-color);
    }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: baseline;
    justify-content: center;
    padding: 5px;
}

    section .alterImg {
        height: inherit;
        transition: all 0.3s ease-in-out;
    }

    section .profile {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        width: 25%;
    }

    section .bigprofile {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        width: 50%;
    }

    section.show .profile {
        display: none;
    }

    section.show .bigprofile {
        display: none;
    }

    section.show .alterImg {
        display: none;
        transition: all 0.3s ease-in-out;
    }

    section .profile .profile-img {
        height: 100px;
        width: 100px;
        border-radius: 50%;
        background: #4070f4;
        padding: 2px;
        margin-bottom: 10px;
    }

.profile .subtitle,
.bigprofile .subtitle {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    position: relative;
    border-radius: 10px;
    background: var(--secundary-color);
    color: white;
    width: 95%;
}

.profile .name,
.profile .profession {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.profile .profession {
    font-weight: 400;
    margin-top: -6px;
}

.profile .button {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: #4070f4;
    margin-top: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .profile .button:hover {
        background: #275df1;
    }

    .profile .button i {
        color: #fff;
        font-size: 18px;
        margin-right: 5px;
    }

    .profile .button button {
        background: none;
        outline: none;
        border: none;
        font-size: 16px;
        color: #fff;
        pointer-events: none;
    }

section .popup-outer {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50%;
    width: 50%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    transform: scale(1.2);
    transition: all 0.3s ease-in-out;
}

section.show .popup-outer {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

section .popup-box {
       position: relative;
    padding: 30px;
    max-width: 35%;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    height: 40%;
    overflow: auto;
}

.popup-box .close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 24px;
    color: #b4b4b4;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .popup-box .close:hover {
        color: #333;
    }

section .popup-box .profile-text {
    display: flex;
    align-items: center;
}

section .popup-box img {

    object-fit: cover;
    border-radius: 0%;
}

.profile-text .text {
    display: flex;
    flex-direction: column;
    margin-left: 15px;
}

    .profile-text .text .name {
        font-size: 18px;
        font-weight: bold;
    }

    .profile-text .text .profession {
        font-size: 16px;
        font-weight: 600;
    }

section .popup-box textarea {
    min-height: 140px;
    width: 100%;
    margin-top: 20px;
    outline: none;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 6px;
    resize: none;
    font-size: 14px;
    font-weight: 400;
    background: #f3f3f3;
}

section .popup-box .button {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.popup-box .button button {
    outline: none;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    background: #6f93f6;
    margin-left: 8px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button button.cancel {
    background: #f082ac;
}

    .button button.cancel:hover {
        background: #ec5f95;
    }

.button button.send:hover {
    background: #275df1;
}
