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

html,
body {
    width: 100%;
    height: 100%;
    background-color: #ffffff;


}

main {
    padding: 20px 50px 10px 50px;
    height: 100vh;
    display: grid;
    grid-template-columns: 35% 5% 20% 5% 20% 5% 10%;
    grid-template-rows: 20% 50% 5% 25%;

    grid-template-areas: "profile . . . . . ."
        "profile . flamingo flamingo flamingo . projects-and-awards"
        "profile . . . . . ."
        "profile . clients . global-design global-design global-design";
}


.profile {

  
    grid-area: profile;
}


.flamingo {

    grid-area: flamingo;
}

.projects-and-awards {

    grid-area: projects-and-awards;
}

.clients {

    grid-area: clients;
}

.global-design {
    background-color: rgb(0, 0, 0);
    grid-area: global-design;
}


.border {
    border-radius: 20px;

}


/* projects-and-awards border  */

.projects-and-awards {
    background: linear-gradient(to bottom,
            rgb(169, 217, 215) 0%,
            rgb(169, 217, 215) 50%,
            rgb(142, 111, 191) 50%,
            rgb(142, 111, 191) 100%);
}

.projects-and-awards .box1 {
    position: relative;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-left: 20px;

}

.projects-and-awards .box2 {
    color: white;
    height: 50%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-left: 20px;

}

.projects-and-awards p {
    font-size: 35px;
    font-weight: 900;
}

.projects-and-awards h5 {
    font-size: 22px;
    font-weight: 400;
}

.corner {
    position: absolute;
    border-top: 2px solid black;
    border-right: 2px solid black;
    width: 10px;
    height: 10px;
    top: 15px;
    right: 18px;
}


/* flamingo video */
.flamingo {
    background-image: url(./assets/images/flamingo.jpg);
    background-size: contain;
    position: relative;
    overflow: hidden;

}

.flamingo .video {
    width: 100%;
    height: 100%;

}

.video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;

}

.video video.playing

/* here it means inside .video div select that video that has .playing class */
    {
    opacity: 1;
}


.video-button {
    border: none;
    background-color: white;
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    cursor: pointer;
    opacity: 0;
    transition: 0.3s;
}

/* clients  */
.clients {
    position: relative;
    background-color: rgb(88, 88, 88);
    color: white;
    font-size: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.clients p {
    font-size: 20px;
    color: rgb(204, 197, 197);
}


/* .global-design  */
.global-design {
    position: relative;
    overflow: hidden;
    display: flex;

}

.sphere {
    width: 50%;
    height: 100%;

}

.sphere img {
    width: 100%;
    height: 100%;
}

.no {
    border-radius: 15px;
    background-color: rgb(254, 194, 103);
    width: 50%;
    height: 100%;
    color: rgb(0, 0, 0);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 40px;


}

.no p {
    font-size: 35px;
    font-weight: 900;
}

.no h5 {
    font-size: 20px;
    font-weight: 400;
}


/* profile  */
.profile {
    background-color: #8581db;
    position: relative;
    overflow: hidden;
}

/* top white corner */
.about-tag {
    position: absolute;
    top: 0;
    left: 0;

    width: 180px;
    height: 60px;

    background-color: white;

    display: flex;
    align-items: center;
    gap: 10px;

    padding-left: 15px;

    border-bottom-right-radius: 30px;

    clip-path: polygon(0 0,
            100% 0,
            78% 100%,
            0 100%);
}

.about-tag i {
    font-size: 18px;
}

.about-tag p {
    font-size: 16px;
    font-weight: 700;
}

/* circles */
.circle {
    width: 260px;
    height: 260px;
    border: 8px solid white;
    border-radius: 50%;

    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);

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

.inner-circle {
    width: 210px;
    height: 210px;
    background-color: #e7a8ff;
    border-radius: 50%;
}

/* image */
.profile-img {
    position: absolute;
    width: 250px;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

/* intro text */
.intro {
    position: absolute;
    left: 30px;
    bottom: 80px;
}

.intro h2 {
    color: white;
    font-size: 50px;
    line-height: 60px;
    font-weight: 300;
}

.intro h1 {
    color: white;
    font-size: 50px;
    line-height: 50px;
    font-weight: 700;
}

/* email */
.email {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: #ececec;
    font-size: 16px;
}

.line {
    width: 220px;
    border-bottom: 2px dotted #d8d8d8;
    margin-top: 10px;
}

/* badge */
.badge {
    position: absolute;
    right: 30px;
    bottom: 30px;

    width: 100px;
    height: 100px;
    background-color: black;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 4px solid #1b1b1b;
}


.badge-inner {
    width: 18px;
    height: 18px;
    background-color: white;
    border-radius: 50%;
}

.portfolio {
    width: fit-content;

    position: absolute;
    top: 3px;
    right: 265px;
}

.portfolio h1 {
    font-size: 100px;
    letter-spacing: 5px;
}

.port {
    width: 20px;
    height: 20px;
    top: 30px;
    right: 3px;
    border-top: 6px solid black;
    border-right: 6px solid black;
}

a {
    text-decoration: none;
    color: black;
}

.know-more {
    position: absolute;
    top: 360px;
    left: -150px;
    display: flex;
    align-items: center;
    gap: 40px;
    font-weight: 400;
    transform: rotate(-90deg);
    z-index: 10;
}