* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

:root {
    --primary-color: rgb(255, 72, 0);
    --secondary-color: rgb(49, 49, 49);
}

header {
    background: var(--secondary-color);
    height: 15vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo {
    font-size: 1.7em;
    color: white;
    font-weight: 900;
}

.head {
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 40px;
    align-items: center;
}

nav ul li a {
    color: white;
    font-weight: 300;
    font-size: 0.8em;
}

.btn {
    background: var(--primary-color);
    width: 140px;
    height: 46px;
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: 400;
    transition: .4s;
}

.btn:hover {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

.topic {
    height: 40vh;
    background: linear-gradient(rgba(0, 0, 0, 0.788), rgba(0, 0, 0, 0.576), rgba(0, 0, 0, 0.274)), url(img/alexander-shatov-mr4JG4SYOF8-unsplash.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.topic h1 {
    color: white;
    font-size: 3.6em;
}

.work {
    height: auto;
    padding: 10dvh 0 10dvh 0;
}

.work1 {
    height: 30vh;
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 100px;
}

.semi {
    height: 270px;
    width: 320px;
    border-radius: 20px;
    background: rgb(207, 206, 206);
    padding: 15px;
    text-align: center;
}

.semi img {
    width: 280px;
    height: 170px;
    border-radius: 20px;
    object-fit: cover;
    transition: transform .5s ease-in-out;

}

.semi img:hover{
    transform: scale(1.1);
}

.semi h5 {
    text-align: left;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.semi p {
    text-align: left;
}
.test{
    height: auto;
    padding: 0 0 10vh 0;
text-align: center;
}
.test h3{
    font-size: 2.3em;
    font-weight: 800;
}

.test1{
    height: 30vh;
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
    
}
.test1{
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 100px;
    margin-bottom: 100px;
}
.child{
    height: auto;
    padding: 25px;
    width: 320px;
    border: none;
    background: linear-gradient(rgb(0, 0, 0),rgba(0, 0, 0, 0.805),rgba(0, 0, 0, 0.325));
    text-align: left;
    color: white;
    border-radius: 20px;
}
.child img{
    height: 90px;
    width: 90px;
    border-radius: 50%;
    margin-bottom: 20px;
}
.child h4{
    font-size: 1.1em;
    font-weight: 500;
}
.child h5{
    font-size: 0.9em;
    font-weight: 600;
}
.child p{
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.btn1 {
    background: var(--primary-color);
    width: 140px;
    height: 46px;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 400;
    transition: .4s;
}

footer {
    height: auto;
    padding: 5vh 0 10vh 0;
    background: var(--secondary-color);
}

.footer {
    height: 40vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    background: var(--secondary-color);
}

.link1 p {
    color: white;
    width: 250px;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.link2 h6 {
    color: white;
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 15px;
}

.link2 ul li {
    margin-bottom: 10px;
}

.link2 ul li a {
    color: white;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
}

.link {
    display: flex;
    gap: 10px;

}

.link img {
    height: 20px;
}

.link3 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.link3 h6 {
    font-size: 1.2em;
    font-weight: 600;
    color: white;
}

.link p {
    color: white;
    font-size: 0.9em;
}

@media screen and (max-width:1019px) {
    .work{
        margin-top: 100px;
        margin-bottom: 200px;
        padding: 20dvh 0 30dvh 0;
    }
    .test{
      
        margin-bottom: 200px;
        padding: 20dvh 0 30dvh 0;
    }

}
@media screen and (max-width:744px) {
    .logo{
        font-size: 1.3em;
    }
    .footer {
        text-align: center;
        justify-content: center;
        gap: 20px;
        height: 80vh;
    }
}
@media screen and (max-width:670px) {
.topic h1{
    font-size: 1.2em;
}
    nav ul {
        position: absolute;
        top: 70px;
        right: 0;
        background: teal;
        width: 100%;
        height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: center;
        transition: height 0.3s ease-in-out;
        gap: 20px;
    }

    nav ul.active {
        height: 260px;
    }

    .hamburger {
        display: flex;
    }
    .work{
        padding: 0 0 30vh 0;
        margin-bottom: 500px;
    }
    .test{
        margin-bottom: 600px;
    }
}
@media screen and (max-width:410px) {
    .footer {
        height: 120vh;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}