@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap');

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

.profile img {
    height: 400px;
}
.rightsection img {
/*     transform: scale(0.4); */
    max-width: 70%;
    max-height: 60%;
}
#about {
    margin-top: 10px;
}

body {
    background-color: rgb(20, 50, 70);
    color: white;
}

h1 {
    font-size: 1.3em;
}

.max-width {
    max-width: 100%;
    /* background-color: red;
     */
    padding: 20px 58px 20px 70px;

}

.divide {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 30px;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    color: white;
    z-index: 2;
    line-height: 2.4em;
    /* position: sticky; */
    top: 0%;
    transition: all 1s ease;
}

.nav-bar .fa-bars {
    display: none;
}

.nav-bar .fa-xmark {
    display: none;
}

p {
    font-size: 1.1em;
}

.main-text {
    font-size: 2.1em;
    margin: auto;
}

ul li {
    display: inline-block;
    list-style: none;
    margin: 0px 20px;
}

ul li a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul li a:hover {
    font-size: 1.1em;
    color: rgb(119, 119, 216);
    transform: translateY(-3px);
    border-radius: 5px;
}

section {
    min-height: 94vh;
    padding-top: 80px;
}

.leftsection {
    display: flex;
    flex-direction: column;
    flex: 1;
    font-size: 1.5em;
    justify-content: center;
}

.align-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-about {
    margin: 50px;
    font-size: 2em;
}

.text-center {
    text-align: center;
}

.scrolled {
    position: fixed;
    width: 100%;
    justify-content: space-between;
    background-color: rgb(20, 50, 150);
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.primary-btn {
    padding: 10px;
    background-color: rgb(45, 45, 170);
    font-size: 1.2em;
    color: white;
    border-radius: 8px;
    transition: all 0.5s ease;
    text-decoration: none;
}

.primary-btn:hover {
    box-sizing: border-box;
    background-color: white;
    color: blue;
    font-weight: 800;
    cursor: pointer;
}

.line {
    position: relative;
}

.line::before {
    content: "";
    width: 100px;
    height: 2px;
    background-color: rgb(12, 129, 240);
    position: absolute;
    top: 55%;
    transform: translateX(-100%);
}

.line::after {
    content: "";
    width: 100px;
    height: 2px;
    background-color: rgb(12, 129, 240);
    position: absolute;
    top: 55%;
}

.line span {
    background-color: rgb(20, 50, 70);
    color: blue;
    font-size: 0.8em;
}

.column-gap {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.card {
    min-height: 400px;
    flex-basis: 25%;
    padding: 0px 15px;
    background-color: rgb(40, 40, 85);
    transition: all 0.6s ease;
}

.card:hover {
    background-color: blue;
    cursor: pointer;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.gap {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    gap: 50px;
}

.contact-gap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

input {
    padding: 10px;
    border-radius: 8px;
    border: none;
}

footer {
    background-color: black;
    width: 100%;
    height: 40px;
}

a img {
    width: 30px;
}

.links {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.container {
    width: 100%;
    border-radius: 6px;
    padding: 15px 20px;
}

.container .title {
    font-weight: 500;
    color: black;
    font-family: 'Segoe UI';
}

.skill-bar {
    background-color: rgb(191, 199, 227);
    width: 100%;
    height: 9px;
    border-radius: 6px;
}

.skill-per {
    display: block;
    position: relative;
    border-radius: 6px;
    height: 100%;
    width: 90%;
    background-color: blue;
    animation: progress 0.3s ease forwards;
}

.tooltip {
    position: absolute;
    right: -22px;
    top: -35px;
    background-color: blue;
    padding: 4px;
    font-size: 0.8em;
    border-radius: 5px;
    color: rgb(210, 210, 216);
}

@keyframes progress {
    from {
        width: 0px;
    }
}

.tooltip ::before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    background-color: blue;
    bottom: -3px;
    transform: rotate(45deg);
}

.skill-progress {
    flex-basis: 50%;
}

.skills-content {
    flex-basis: 45%;
}

.contact-location {
    display: flex;
    align-items: center;
    gap: 30px;
}
