
#border {
    width: 1100px;
    min-height: 300px;
    margin: 50px auto;
    display: flex;
    justify-content: left;
    gap: 50px;
    flex-wrap: wrap;
}

.main {
    width: 333px;
    height: 410px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border: 5px solid #dbe0ff;
    box-sizing: border-box;
    position: relative;
     -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.main::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 5, 30, 0.6);
    border-radius: 5px;
}
.main:hover{
	
	 opacity: 0.8;
}
.main_title {
    font-family: "Regular2";
    color: #fff;
    position: relative; /* აქ ვცვლით absolute-ს relative-ზე, რათა ::before მიმართოს ამ ელემენტს */
    width: 320px;
    text-align: center;
    margin-top: 270px;
    border-radius: 10px;
    margin-left: -20px;
    z-index: 99;
    
}

.main_title::before {
    content: "";
    position: absolute;
    bottom: -10px; /* main_title-ის ქვემოდან გამოჩნდეს */
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    height: 4px;
    width: 60px;
    border-radius: 10px;
}

.main p {
    width: 110%;
    padding: 5px;
    font-size: 12px;
    color: #919297;
     margin-top: 195px;
    font-weight: normal;
    margin-left: -17px !important;
    font-family: "Regular";
    margin-left: 5px;
    line-height: 16px;
    display: none;
}
.main pre {
    font-family: 'bpg_nino_medium_capsregular';
    font-weight: bold;
    color: #ffff;
    font-size: 14px;
    text-align: left;
    font-weight: bold;
    padding: 7px 0px;
    margin-top:210px;
    width: 100px;
    background-color: var(--primary-color);
    text-align: center;
    border-radius: 20px;
    margin-left: 80px;
    position: absolute;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    z-index: 999;
}
.main pre:hover{
	background-color: var(--primary-hover-color);
}