My css code isn't responsive

Hello everyone
I’m new here
My code isn’t responsive
I know it’s very bad coding but someone please tell me the problem.
Here is my code:

root{
    --bs-background:rgb(229, 227, 212);
    --bs--primary:rgb(154, 191, 128);
    --bs--secondary: rgb(106, 102, 157);
    --bs--details:rgb(28, 50, 91); 
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: YekanBakh;
}

html ,.container , body{
    height: 100%;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:var(--bs--secondary);
}

.container{
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bs-background);
    gap: 50px;
}

.top-square {
    height: 200px;
    aspect-ratio: 1;
    border: solid var(--bs--details);
    border-width: 5px 10px 5px 5px;
    position: relative;
}
.top-circle , .middle-circle , .bottom-circle {
    font-weight: 700;
    color: var(--bs--details);
    background-color: var(--bs--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: solid 5px var(--bs--details);
}
.top-circle {
    position: absolute;
    top: -30px;
    right: -30px;
}
.middle-square {
    height: 200px;
    aspect-ratio: 1;
    border: solid var(--bs--details);
    border-width: 0 10px 5px 5px;
    border-top: none;
    position: relative;
}
.middle-circle {
    position: absolute;
    top: -30px;
    right: -30px;
}
.bottom-circle {
    position: absolute;
    bottom: -30px;
    right: -30px;
}

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

 .bascule , .evacuation{
    font-weight: 700;
    color: var(--bs--details);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    aspect-ratio: 2;
    background-color: var(--bs--primary);
    border:5px solid var(--bs--details);
    border-radius: 10px;
    position: relative;
 }

 .container .cards .bascule::after {
    content: "";
    display: block;
    width: 55px;
    height: 2px;
    background-color: var(--bs--details);
    position: absolute;
    left: 195px;
 }

 .container .cards .evacuation::after {
    content: "";
    display: block;
    width: 55px;
    height: 2px;
    background-color: var(--bs--details);
    position: absolute;
    left: 195px;
 }

your html is also needed