*{

    font-family: 'roboto', sans-serif;
    font-weight: 600;
}

main{

        background-color: #2c3c53;
}

html{

    scroll-behavior: smooth;
    background-color: #2c3c53;
    box-sizing: border-box;
}

nav{

    background-color: #142338;
    font-weight: bold;
}

nav a:hover{

    color: yellow !important;
    transform: scale(1.1);
    transition: transform 0.4s ease;
}

.hambi{

    color: white !important;
    border: white !important;
}



#kezdo{

    height: 100vh;
    width: 100%;
    background-image: url(/pic/pexels-jeshoots-com-147458-834892.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#kezdo img{

    width: 30%;
}

#rolunk{

    height: 130vh;
    width: 100%;
    display: flex;
}


#pic1 {
  width: 50%;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2c3c53;
}

.image-group {
  position: relative;
  width: 60%;
  aspect-ratio: 1/1;
}

#pictures1,
#pictures2 {
  position: absolute;
  width: 100%;
  border: 5px solid rgb(254, 254, 95);
  object-fit: cover;
}


#pictures1 {
  top: 0;
  left: -30%;
}

#pictures2 {
  top: 50%;
  left: 30%;
  z-index: 1;
}


#cim{

    width: 100%;
    height: auto;
    color: #243957;

}

#cim h1{

    margin-bottom: 2%;
}

#cim h2{
    
    margin-left: 30%;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 2s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


#about{

    width: 50%;
    height: 100vh;
    color: white;
    background-color: #2c3c53;

}

.doboz{

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: auto;
}


#text1{

    margin-top: 5%;
    padding: 5%;
    font-size: 20px;


}

#text2{

    padding: 5%;
    font-size: 20px;


}

#text3{

    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;


}

.icons{

    height: 100%;
    width: 33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

}

i{

    color: rgb(254, 254, 95);
    font-size: 50px;
}

i:hover{

    color: yellow;
    transform: scale(1.1);
    transition: transform 0.4s ease;
}


.icons:hover{


    transform: scale(1.1);
    transition: transform 0.4s ease;
}


#szolg{
  
    position: relative;
    min-height: 100vh;
    width: 100%;
    background-image: url(/pic/deckhtt.avif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* középre rendezi a sorokat */
    gap: 1.5rem;
    padding: 5rem;
}

#szolg .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(146, 145, 145, 0.75);
  z-index: 1; /* overlay a háttér fölött */
}

#szolg .card {
  flex: 0 0 18rem;
  max-height: 20rem;
  background: none;
  position: relative;
  z-index: 2; 
  overflow: hidden;
  text-align: center;
  color: white;
  border: none;
}

#szolg .card-img-top {

  border: solid 3px rgb(254, 254, 95) ;
  height: 70%;
  object-fit: cover;
  flex-shrink: 0;
}

#szolg .card:hover{

    border-color: yellow;
    transform: scale(1.1);
    transition: transform 0.4s ease;
}


#contact{

    height: 100vh;
    width: 100%;
    background-color: #2c3c53;
    display: flex;
}

#address{

    width: 50%;
    height: 100vh;
    border-left: 3px solid rgb(254, 254, 95) ;
}

#address iframe{

    width: 100%;
    height: 100%;
}

#contactcard{

    width: 50%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 32px;
    color: white;
}


#contactcard a{

    color: white;
    text-decoration: none;
    margin-top: 3%;

}

#contactcard h3{

    font-size: 42px;
    border-bottom: 3px solid rgb(254, 254, 95);
}

footer{
    background-color:black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 40px;
}

@media screen and (max-width: 1070px){

    #kezdo img{

        width: 60%;
    }

    #rolunk{

        flex-direction: column;
        height: auto;
        
    }

    #about{

        width: 100%;
    }

    #pic1{

        width: 100%;
        margin-bottom: 10%;
    }

    #contact{

        flex-direction: column;
        height: auto;
    }

    #contactcard{

        width: 100%;
        font-size: 20px;
    }

    #address{

        width: 100%;
    }

    #text1{

    font-size: 16px;


}

#text2{

    font-size: 16px;
}
}

@media screen and (max-width: 600px){

        #pic1{

       width: 100%;
       height: 60vh;
    }

     #kezdo img{

        width: 80%;
    }


}

@media screen and (max-width: 420px){


    #rolunk{

        height: 200vh;
    }

    
    #pic1{

       width: 100%;
       height: 60vh;
       margin-top: 70%;
    }
}