@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');



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: "poppins";
}

.container {
    max-width: 100%;
    width: 95%;
    margin: 0 auto;
}

html {
    overflow: hidden;
}

body {
    transition: 0.3s;
    background: white;
    color: #616161;
    background-image: url(./images/iMac\ -\ 1.png);
    background-repeat: no-repeat;
    background-size: cover;
    transition: 300ms all ease;
}


body.dark {
    color: #616161;
    background-image: url(./images/iMac\ -\ 1.png);
    background-repeat: no-repeat;
    background-size: cover;
    backdrop-filter: brightness(90px);
    transition: 300ms all ease;

}

body.dark::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
    pointer-events: none;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}


.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    border: 2px solid #5671A6;
    border-radius: 34px;
    transition: 0.4s;
}

.slider:hover {
    color: #B3CBD9;
    transition: 300ms all ease;
}

.slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    top: 1.2px;
    bottom: 2.5px;
    background-color: #5671A6;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.slider:hover {
    color: #B3CBD9;
    transition: 300ms all ease;
}

input:checked+.slider::before {
    transform: translateX(24px);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.header {
    border-bottom: 1px solid #6D8093;
    padding: 15px 0;
}

.header-logo {
    color: #5671A6;
    font-weight: 600;
    font-size: 36px;
}

.header-link {
    color: #5671A6;
    font-weight: 600;
    font-size: 16px;
    position: relative;
}

.header-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #b3cbd9c5;
    transform: scaleX(0);
    transform-origin: left;
    transition: 300ms all ease;
}

.header-link:hover::after {
    transform: scaleX(1);
}

.header-link:hover {

    color: #b3cbd9c9;

}
.header-list {
    display: flex;
    gap: 47px;
    align-items: center;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 100px;
}

.main-1-about-me-box {
    border-right: 1px solid #6D8093;
    width: 271px;
    height: 645px;
    position: relative;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.main-1-about-me-img {
    width: 163px;
    margin: 0 auto;
}

.about-item-1 {
    font-weight: 600;
    font-size: 24px;
    background: linear-gradient(90deg, #5671A6, #B2CAD8);
    background-clip: content-box;
    -webkit-background-clip: text;
    color: transparent;
    margin: 0 auto;
    text-align: center;
}

.about-item-2 {
    font-weight: 600;
    font-size: 16px;
    color: #383838;
    text-align: center;
}

.about-text {
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    width: 179px;
    margin: 0 auto;
}

.socials-box {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 170px;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
}

.about-btn {
    width: 164px;
    height: 44px;
    border: none;
    border-radius: 100px;
    background-color: #5671A6;
    font-weight: 600;
    font-size: 16px;
    color: white;
    margin: 0 auto;
    transition: 300ms all ease;

}

.about-btn:hover {
    background: transparent;
    border: 3px solid #5671A6;
    color: #5671A6;
    transition: 300ms all ease;
}



.main-1-right-item {
    color: #5671A6;
    font-weight: 600;
    font-size: 32px;
}

.main-1-right-text {
    font-weight: 500;
    font-size: 14px;
    color: #616161;
    width: 593px;
    text-align: start;
}

.main-wrapper-1 {
    display: flex;
    gap: 50px;
}

.main-1-right {
    display: flex;
    flex-direction: column;
}

.cards-1-text-1 {
    font-weight: 500;
    font-size: 14px;
    width: 78px;
    text-align: start;
    color: #383838;
    padding-left: 10px;
    position: relative;
}

.cards-1-text-2 {
    font-weight: 600;
    font-size: 50px;
    color: #383838;
}

.cards-1-text-box {
    display: flex;
    gap: 30px;
    align-items: center;
}

.cards-1 {
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
    width: 150px;
    height: 150px;
    transition: 400ms all ease;
    border-radius: 10px;
}

.cards-1:hover {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 4px #00000025;
    gap: 70px;
    transform: translateY(-5px);
    transition: 400ms all ease;
}

body.dark .cards-1:hover {

    background-color: rgb(64, 62, 62);
    border-radius: 10px;
    box-shadow: 0 4px 4px #00000025;
    gap: 70px;
    transition: 300ms all ease;
    transition: 300ms all ease;

}

.cards-1:hover .cards-1-text-2 {
    display: none;
    transition: 300ms all ease;

}

.cards-1:hover .cards-1-img-bg-1 {
    display: block;
    transition: 300ms all ease;

}

.cards-1:hover .cards-1-img-bg-2 {
    display: block;
    transition: 300ms all ease;

}

.cards-1:hover .cards-1-img-bg-3 {
    display: block;
    transition: 300ms all ease;

}

.cards-1:hover .cards-1-img {
    color: #5671A6;
    transition: 300ms all ease;

}

.cards-1:hover .cards-1-text-1 {
    color: #5671A6;
    transition: 300ms all ease;

}



.cards-1-img-bg-1 {
    position: absolute;
    width: 80px;
    right: 0;
    top: 0;
    display: none;
}

.cards-1-img-bg-2 {
    position: absolute;
    right: 0;
    display: none;
}

.cards-1-img-bg-3 {
    position: absolute;
    right: 0;
    display: none;
}


.cards-1-img {
    color: #383838;
    margin-left: 10px;
    width: 20px;
    position: relative;
    top: 5px;
}



.main-1-right-cards-box-1 {
    display: flex;
    align-items: center;
    gap: 80px;
    padding-top: 50px;
}

.main-1-right-item-2 {
    color: #5671A6;
    font-weight: 600;
    font-size: 32px;
}

.main-1-right-item-text-2 {
    font-weight: 500;
    font-size: 12px;
    color: #616161;
}

.main-1-right-item-box-2 {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
}

body.dark .cards-1-text-2 {
    color: #616161;
}

body.dark .about-item-2 {
    color: #616161;
}

body.dark .cards-1-text-1 {
    color: #616161;
}

body.dark .cards-1-img {
    color: #616161;
}


.main-3-box-3-item {
    font-weight: 600;
    font-size: 16px;
    color: #383838;
}

.main-r-box-3-item-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-1-right-item-box-3 {
    display: flex;
    align-items: center;
    gap: 125px;
}

.main-r-box-3-item-svg {
    color: #383838;
}

body.dark .main-r-box-3-item-svg {
    color: #616161;
}

body.dark .main-3-box-3-item {
    color: #616161;
}

.main-right-line {
    width: 902px;
    height: 2px;
    background-color: #dbdbdb;
    margin-top: 30px;
}

.cards-2 {
    width: 200px;
    height: 150px;
    border: 2px solid #DBDBDB;
    border-radius: 10px;
    padding-top: 14.5px;
    padding-left: 10px;
    transition: 300ms all ease;
}

.cards-2:hover {
    transition: 300ms all ease;
    background-color: white;
    transform: translateY(-5px);
}

.cards-2:hover .cards-2-item {
    color: #5671A6;
    font-size: 20px;
    transition: 300ms all ease;
    padding-bottom: 10px;
}

body.dark .cards-2:hover {
    background-color: rgb(64, 62, 62);
}

.cards-2-item {
    font-weight: 600;
    font-size: 14px;
    color: #383838;
    width: 73px;
    padding-bottom: 35px;
    transition: 300ms all ease;

}



.cards-2-item-2 {
    font-weight: 500;
    font-size: 14px;
    color: #000000;
}

.cards-2-data-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 5px;
}

.cards-2-data-text {
    font-weight: 400;
    font-size: 12px;
    color: #616161;
}

.cards-2-img {
    color: #616161;
}

.main-right-cards-box-2 {
    display: flex;
    align-items: center;
    gap: 37px;
    padding-top: 40px;
}

body.dark .cards-2-item {
    color: #616161;
}

body.dark .cards-2-item-2 {
    color: #000000;
}

body.dark .cards-2-data-text {
    color: #616161;
}

body.dark .cards-2-img {

    color: #616161;

}