body {
  overflow-x: hidden; 
}

.bemutatkozas{
    width: 75%;
    margin: auto;
    margin-top: 3.35%;
    text-align: center;
    padding-top: 10px;
    background-color: rgba(105, 177, 219, 0.165);
    border-radius: 10px;
    margin-bottom: 3%;
    box-sizing: border-box;
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
    transition: 0.3s;
}
.bem_start p{
    text-align: center;
    font-size: 15px;
}
.bemutatkozas:hover{
    transform: scale(1.03);
    background-color: rgba(105, 177, 219, 0.1);
}

h1{
    font-size: 50px;  
    font-weight: 500; 
}
p{
    color: rgb(105, 104, 104);
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    padding: 7px;
    text-align: left;
    padding-left: 2%;
    padding-right: 2%;
}
.bemutatkozas:hover p{
    font-size: 20;
    color: rgb(78, 78, 78);
}

#index_szinkeveres {
  background-image: url(../bg/pexels-magda-ehlers-1279813.jpg);
  position: relative; 
}

#index_szinkeveres::after {
  content: ""; 
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: black;
}
  #index_szinkeveres h1{
    text-align:center; color:white; padding-top: 1%;
  }

  .sor_sz{
    margin-top: 3%;
    display: flex;
    justify-content: space-between;
  }

.szolgaltatas-oszlop{
    flex-basis: 25%;
    border-radius: 25px;
    margin-bottom: 4%;
    margin-top: 1%;
    box-sizing: border-box;
    transition: 0.5s;
    margin-left: 12%;
    margin-right: 12%;
    position: relative;
    display: inline-block;
}

.container {
  position: relative;
  width: 100%;
  transform: scale(1.5);
  transform-origin: center;
  margin-bottom: 15%;
}

.image {
  display: block;
  height: auto;
  width: 100%;
  border-radius: 10px;
}

.sz_logo{
  position: relative;
  width: 200px; 
  height: 250px;
  margin-top: -6%;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #008bba9f;
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
  border-radius: 10px;
}

.container:hover .overlay {
  height: 100%;
}

.text {
  color: white;
  font-size: 25px;
  position: absolute;
  font-weight: 400;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.sor{
  margin-top: 3%;
  margin-left: 10%;
  margin-right: 10%;
  display: flex;
  justify-content: space-between;
}

#akcio{
    width: 100%;
    margin: auto;
    text-align: center;
    background-color: rgb(85, 85, 85);
}

#akcio p{
    color: black;
    font-weight: 500;
}

#akcio h2{
    color: black;
    font-size: 65px;  
    font-weight: 600; 
}

.akcio-oszlop{
    flex-basis: 25%;
    width: 300px;
    height: 450px;
    background-color:#929292;
    border-radius: 25px;
    margin-bottom: 2%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    transition: 0.5s;
    margin-left: 10px;
    margin-right: 10px;
    position: relative;
    display: inline-block;
    transition: 0.5s;
}

.akcio-oszlop img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
}

#akcio p {
    color: black;
    font-weight: 500;
}

#akcio h3{
    font-size: 30px;
    font-weight: 600;
    color: red;
    margin: 0;
    position: absolute; 
    bottom: 10px; 
    left: 50%; 
    transform: translateX(-50%); 
}

#akcio h4{
    font-size: 20px;
}

.akcio-oszlop:hover {
    transform: scale(1.1);
}

.tovabbi {
  margin: auto;
  margin-top: 3%;
  max-width: 900px;
  max-height: 150px;
  border-radius: 30px;
  background-color: rgb(255, 59, 59);
  transition: 0.5s;
  border: 3px solid transparent;
  white-space: nowrap;
}

.tovabbi h5{
  font-size: 3em;
  color: white;
}

.tovabbi:hover {
  transform: scale(1.01);
  border: 3px solid rgb(102, 102, 102); /* Add a light gray border on hover */
}

.-oszlop:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
    background:rgba(108, 250, 255, 0.295);
}

.footer{
    padding-bottom: 1%;
    padding-top: 1%;
    border: transparent;
    border-top: black;
    border-width: 5px;
    border-style: solid;
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.footer p{
    text-align: center;
    font-weight: 500;
    font-size: 17px;
    padding: 1px;
    font-style: justify;
    letter-spacing: 1.5px;
    color: rgb(0, 0, 0);
    filter: opacity(2);
}

@media(max-width: 1220px){
  .sor_sz {
    display: block; 
    margin-top: 10px;
  }
  
  .sz_logo{display: none};

  .container img{
    width: 70%;
    margin: auto;
    margin-bottom: 5%;
    border-radius: 5%;
  }

  .image{
    width: 80%;
    margin: auto;
  }

  .container{
    transform: none;
  }

  .container .overlay {
    width: 80%;
    height: 100%;
    margin: auto;
    background-color: rgba(230, 230, 230, 0.281);
  }

  .text{
    color: black;
    font-weight: 600;
    font-size: 20px;
  }

  .akcio-oszlop:hover {
    transform: none;
  }
  
  .sor {
    display: block; 
    margin-top: 10px;
  }

  .tovabbi h5{
    font-size: 3em;
  }
}

@media(max-width: 720px){
  .tovabbi h5{
    font-size: 2em;
  }

  .bemutatkozas{
    width: 90%;
  }
}