@import url('https://fonts.googleapis.com/css2?family=Averia+Libre&display=swap');

#container {
    display: flex;
}


#about, #hire{
    width: 50vw;
    height: fit-content;
    border-radius: 30px;
    display: block;
    font-family: 'Averia Libre';
    position: relative;
    background-color: #298EB9;
    color:whitesmoke;
    text-align: center;
}
#about{
    order: 1;
    float: left;
    margin-left: 2em;
}
#hire{
    order: 3;
    float: right;
    margin-right: 2em;
}

#about p, #hire p, #connect p:nth-child(1){
    padding: 25px;
    line-height: 1.5;
}

#mix {
    order: 2;
    margin-left: 2em;
    margin-right: 2em;
    width: min-content;
}

#avatar{
    width: 15em;
    height:15em;
    border-radius: 30px;
    display: block;
    background-image: url(images/avatar2.png);
    background-size: cover;
    margin:auto;
}

#connect{
    display: block;
    width:15em;
    height:15em;
    border-radius: 30px;
    margin:auto;
    background-color: #E4EFF7;
    color: #2758d2;
    margin-top:2em;
    font-family: 'Averia Libre';
    text-align: center;
}

#connect p{
    padding-bottom: 0;
    margin-bottom: 0;
}
.contactspow, .resumepow{
    text-decoration: none;
    color: #2758d2;
    display: flex;
    align-items: center;
}
.contactspow img, .resumepow img{
    width: 3em;
    height: 3em;
}

.contactspow p,
.resumepow p {
    margin: 0;
}

span {
    display: inline-block;
}

#why-hire h2{
    font-family: 'Averia Libre';
    color: #0500FF;
}

.hire{
    margin:auto;
}

.open{
    font-size: 1.5em;
    text-align: center;
}

#hiring {
    display: none;
    width: 15em;
    height: 15em;
    border-radius: 30px;
    background-color: #298EB9;
    color: whitesmoke;
    margin-top: 2em;
    font-family: 'Averia Libre';
    text-align: center;
    box-shadow: 2px 2px 4px #FFFFFF;
    margin-left: 2em;
}

.modal {
    display: none;
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #298EB9;
    overflow: auto;
}

.modal-content {
    background-color: #EEF8FF;
    border-radius: 10px;
    text-align: center;
    display: block;
    color: #298EB9;
    font-family: 'Averia Libre';
    font-size: calc(2vw + 1vh);
}
.modal-content p{
    padding: 15px;
}

.modal-header {
    margin-bottom: 20px;
    text-align: left;
}

.cloned-element {
    margin-bottom: 20px;
    overflow: hidden;
    width: 100% !important;
    height: 50vh !important;
    margin:0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: fixed;
    z-index: 10;
    display: inline;
    background-color: rgba(140, 140, 140, 0.58);
    padding: 0px 10px;
    border-radius: 100px;
    margin: 10px;
}

#reactpanel{
    display: none;
    font-family: 'Averia Libre';
    align-items: center;
    justify-content: space-between;
    width: 80vw;
    position: relative;
    margin:auto;
}

#reactpanel img{
    width: 35px;
    height: 35px;
}

#savehire{
    background-color: #298EB9;
    padding: 10px;
    border-radius: 30px;
    color: whitesmoke;
    margin-bottom: 0.5em;
}

#heartGif{
    position: absolute;
    top: 0px;
}

@media screen and (max-width: 800px) {
    #about {
        display: none;
    }

    #avatar,
    #connect {
        display: inline-block;
        margin-left: 2em;
    }

    #hire {
        font-size: calc(1vw + 1vh);
    }
    #connect{
        margin-right: 2em;
    }
    .cloned-element{
        width: 15em !important;
    }
}

@media screen and (max-width: 500px) {
    #hire {
        display: none;
    }

    #hiring {
        display: inline-block;
        align-content: center;
        align-self: flex-end;
    }

    #row {
        display: flex;
        gap: 1em;
        justify-content: center;
        width: 100%;
    }
    #mix{
        justify-items: center;
        margin:auto;
    }
    #hiring,#connect{
        width: 40vw;
        font-size: calc(1vw + 1vh);
        line-height: 1;
    }

    #connect p:nth-child(1){
        padding: 10px;
    }
    #avatar{
        margin: auto;
    }

    .cloned-element{
        width: 100% !important;
    }
}
