* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif
}

.container {
    position: relative;
    display: flex;
    min-height: 100vh
}

.main-content {
    width: 60%;
    min-height: 100vh;
    position: relative;
    min-height: 660px;
}

.bg {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    background-color: rgba(64, 99, 122, 0.8);
    width: 100%;
    top: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.overlay h1{
    color: white;
    margin-top: 30px;
    font-size: 30px;
    text-transform: uppercase;
    text-align: center;
   
}

.overlay div {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.side-content {
    width: 40%;
    background-color:  rgb(51, 53, 61);
    display: flex;
    flex-direction: column;
    padding-top: 60px;
    align-items: center;
    min-height: 660px;
}

.maintenance {
    width: 60px;
}

.profile-container {
    width: 100px;
    height: 100px;
    position: relative;
    border-radius: 200px;
    overflow: hidden;
}

.profile-container img{
    position: absolute;
    width: 100%;
    border-radius: 200px;
    overflow: hidden;
}

.profile-title h3{
    color: white;
    margin-top: 15px;
    text-align: center;
}

.profile-title h5 {
    text-align: center;
    color: white;
    margin-top: 5px;
    width: 250px;
}

.profile-content {
    margin-top: 40px;
    position: relative;
    width: 70%
}

.profile-content p {
    color: white;
    text-align: center;
}

.profile-content h4 {
    text-align: center;
    color: white
}

.contact {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
}

.onsite {
    margin-top: 50px;
    color: white;
    margin-bottom: 30px;
}

.contact span {
    color: white;
    text-align: center;
}

.contact p {
    margin-top: 30px;
}

.note-container {
    margin-top: 40px;
}

.note {
    color: white;
}

@media screen and (max-width: 828px) {
    .overlay h1 {
        font-size: 20px;
    }
    .note {
        margin-top: 0;
    }
}
@media screen and (max-width: 669px) {
    .profile-title h5 {
      
        width: 150px;
    }
}


@media screen and (max-width: 574px) {
    .profile-title h3 {
        font-size: 14px;
    }
    .profile-title h5 {
        font-size: 12px;
    }
    .profile-content p {
        font-size: 12px;
    }
    .contact span {
        font-size: 12px;
    }
    .note {
        font-size: 10px;
    }
    .note-container h4 {
        font-size: 12px
    }
}

@media screen and (max-width: 500px) {
    .container {
        flex-direction: column;
    }

    .main-content, .side-content, .overlay {
        width: 100%;
    }

    .main-content {
        height: 30%;
        min-height: 260px;
    }
    .side-content {
        padding-top: 30px;
        min-height: 460px;
    }
    .profile-container {
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width: 316px) {
    .maintenance {
        width: 20px;
    }
    .overlay h1 {
        font-size: 15px;
        margin-top: 10px;
    }
}
