@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
    color: rgba(0, 0, 0, 0.82);
}

main {
    position: relative;
    width: 100%;
    height: 100vh;
}

.container {
    position: absolute;
    width: 100%;
    height: 75vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card-container {
    position: relative;
}
/* Profile Card */
.card {
    width: 315px;
    min-width: 315px;
    margin: 0 auto;
    padding-bottom: .5rem;
    overflow: hidden;
    border: none;
    border-radius: 5px;
    box-shadow: 1px 3px 6px 0px rgba(85,85,85,0.75);
    -webkit-box-shadow: 1px 3px 6px 0px rgba(85,85,85,0.75);
    -moz-box-shadow: 1px 3px 6px 0px rgba(85,85,85,0.75);
}

/* Card Header */
.card-header {
    position: relative;
    width: 100%;
    height: 9.5rem;
    overflow: hidden;
}
.card-header-bg {
    width: 100%;
    height: 12rem;
    object-fit: fill;
}
.overlay-dark {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.card-body {
    color: #000000;
    position: relative;
}

/* Card Avatar */
.card-avatar {
    position: absolute;
    width: 110px;
    height: 110px;
    top: -1.8rem;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    border-radius: 100%;
    border: 2.8px rgba(148,135,135,0.75) solid;
    object-fit: cover;
    zoom: 1;
}

/* Info */
.profile-info {
    text-align: center;
    padding-top: 1rem;
}
.profile-info h2 {
    font-weight: 400;
    font-size: 1.8rem;
}
.profile-info h3 {
    font-weight: 100;
    font-size: 1rem;
}

/* Socials */
.socials {
    padding: 0.3rem 0;
    /* margin-bottom: -0.3rem; */
    margin: 1rem 0 0.1rem 0;
}
.socials a {
    margin: 0 5px;
}
.socials a i {
    font-size: 1.3rem;
    transition: all .5s ease-in-out;
    color: rgba(0, 0, 0, 0.74);
}
.socials a:hover i {
    color: rgba(0, 0, 0, 0.82);
}

/* Bio */
.profile-bio {
    text-align: center;
    padding: .7rem 1rem;
    margin-top: .5rem;
    font-weight: 100;
    font-size: .8rem;
}

/* Contact */
.profile-contact {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}
.profile-contact button {
    padding: .4rem .5rem;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    transition: all .5s ease-in-out;
}
.profile-contact button:hover {
    cursor: pointer;
}
.profile-contact button:nth-child(1) {
    background: rgba(0, 0, 0, 0.82);
    color: #ffff;
    border-radius: 3px;
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.profile-contact button:nth-child(2) {
    color: rgba(0, 0, 0, 0.82);
    background: none;
    border: rgba(0, 0, 0, 0.50) 1px solid;
    border-radius: 3px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.profile-contact button:nth-child(2):hover {
    border: rgba(0, 0, 0, 0.82) 1px solid;
}

/* Skills */
.profile-skills {
    color: rgba(0, 0, 0, 0.747);
    font-size: .8rem;
    padding: 1rem 1rem;
}
.skills-set {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    padding-top: 4px;
}
.skills-set p {
    padding: .2rem;
    font-size: .7rem;
    color: rgba(0, 0, 0, 0.603);
    margin: .2rem .2rem;
    border: 1px rgba(0, 0, 0, 0.4) solid;
    border-width: thin;
    border-radius: 2px;
}
.skills-set p:hover {
    cursor: pointer;
}

/* Modal */
.modal {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
    opacity: 0;
    transition: all .5s ease-in-out;
}
.form {
    position: relative;
    width: 350px;
    padding: 1rem;
    background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    border-radius: 3px;
    transition: all .5s ease-in-out;
}
.form-header {
    margin-top: 1.3rem;
    padding: .5rem 0 1rem 0;
    text-align: center;
}
.form-header h3 {
    color: rgb(77, 76, 76);
    font-size: 1.3rem;
    font-weight: 700;
}

/* Form Input */
.form-input .user-input {
    border: 1px rgba(0, 0, 0, 0.39) solid;
    margin: .5rem 0 1.2rem 0;
    border-radius: 3px;
}
.form-input label {
    color: rgb(77, 76, 76);
    font-size: 0.9rem;
}
.form-input .user-input input {
    color: rgb(77, 76, 76);
    width: 100%;
    height: 2rem;
    padding: 0 .5rem;
    border: none;
    background: none;
}
.form-input .user-input textarea {
    color: rgb(77, 76, 76);
    width: 100%;
    height: 5rem;
    resize: none;
    padding: .5rem .5rem;
    border: none;
    background: none;
}
.form-input .user-input input:focus, textarea:focus {
    outline: none;
}

/* Modal Close Button */
.form .modal-close {
    position: absolute;
    top: 0;
    right: 0;
    margin: .5rem .9rem 0 0;
    border: none;
    background: none;
    font-size: 1.3rem;
}
.form .modal-close i {
    color: rgba(77, 76, 76, 0.315);
    transition: all .5s ease-in-out;
}
.form .modal-close:hover i {
    cursor: pointer;
    color: rgba(77, 76, 76, 0.74);
}

/* Modal Submit Button */
.form-input button {
    padding: .5rem 1rem;
    border: #00A99A 1px solid;
    border-radius: 3px;
    color: #00A99A;
    transition: all .5s ease-in-out;
}
.form-input button:hover {
    cursor: pointer;
    background: #00A99A;
    color: #ffffff;
}

@media (max-width: 555.98px) {
    main {
    width: 100%;
    height: 100vh;
}
.modal {
    width: 100%;
    height: 100%;
}
}

