@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    font-family: "Poppins", sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ffff;
    --secondary-color: #333;
    --main-color: #4e61d3;
}

.dark-mode {
    --primary-color: #333;
    --secondary-color: #fff;
}

body {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    overflow-x: hidden;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 7%;
    background: transparent;
    display: flex;
    z-index: 100;
    margin-top: 30px;
}

.logo {
    font-size: 25px;
    color: var(--main-color);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    margin-right: auto;
    /**end**/
    opacity: 0;
    animation: slideRight 1s ease forwards;
}

.nav a {
    position: relative;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    margin-right: 35px;
    /**end**/
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(0.2s *var(--i));
}

.nav a.active::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    background-color: #fff;
    height: 2px;
    width: 100%;
}

.toggle {
    display: flex;
    cursor: pointer;
    /**end**/
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 3.5s;
}

.toggle-icon {
    font-size: 24px;
    color: #fff;
}


/*home*/

.home {
    display: flex;
    align-items: center;
    height: 100vh;
    width: 100%;
    padding: 60px 7% 0;
}

.home-content {
    max-width: 440px;
    color: var(--secondary-color);
}

.home-content h3 {
    font-size: 32px;
    line-height: 0.3;
    /**end**/
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 0.7s;
}

.home-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 3px;
    width: 500px;
    /**end**/
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}

.home-content p {
    font-size: 16px;
    /**end**/
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--main-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    background-color: transparent;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    color: var(--main-color);
    margin: 25px 15px 30px 0px;
    /**end**/
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(0.2 *var(--i));
}

.social-media a:hover {
    background-color: var(--main-color);
    color: #fff;
    transition: all 0.5s ease;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--main-color);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    /**end**/
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 2s;
}

.btn:hover {
    background-color: transparent;
    color: var(--main-color);
    border-color: var(--main-color);
}


/**Pro Container**/

.pro-container {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 768px;
    width: 768px;
    overflow: hidden
}

.pro-box {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    /**end**/
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 2.5s;
    /**end**/
    opacity: 0;
    animation: slideLeft 1s ease forwards, proRotate 13s ease-out infinite;
    animation-delay: 3.5s;
}

.pro {
    position: absolute;
    left: 0;
    transform: rotate(calc(360deg / 4* var(--i)));
    transform-origin: 384px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--main-color);
    background: var(--primary-color);
    padding: 13px 0px;
}

.pro-box .pro:nth-child(1) {
    margin-right: 15px;
}

.pro-box .pro:nth-child(2) {
    margin-right: 20px;
}

.pro-box .pro:nth-child(3) {
    margin-right: 20px;
}

.pro i {
    font-size: 32px;
}

.pro h3 {
    font-size: 23px;
    line-height: 1;
    font-weight: 600;
}

.circle {
    width: 72%;
    height: 72%;
    border: 3px solid var(--main-color);
    border-radius: 50%
}

.overlay {
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    right: 0;
    border-top: 384px solid var(--main-color);
    border-right: 384px solid var(--main-color);
    border-bottom: 384px solid var(--main-color);
    border-left: 384px solid transparent;
    /**end**/
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1.5s;
}

.home-img img {
    position: absolute;
    bottom: 160px;
    right: 150px;
    width: 28%;
    pointer-events: none;
    border-radius: 50%;
    padding-left: 20px;
    /**end**/
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 2.8s;
}

@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes slideLeft {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes slideTop {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes proRotate {
    0%,
    20% {
        transform: rotate(0deg);
    }
    25%,
    40% {
        transform: rotate(-90deg);
    }
    50%,
    70% {
        transform: rotate(-180deg);
    }
    75%,
    95% {
        transform: rotate(-270deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}