body{
    font-family: Impact;
    color: #C5161D;
    text-align: center;
    margin: 0;
}

h1{
    font-size: 60px;
}

h2{
    font-size: 40px;
    margin: 0;
}

select{
    height: 40px;
    width: 210px;
    margin-bottom: 40px;
    border: 2px solid #C5161D;
    border-radius: 10px;
}

select:focus-visible{
    outline: none;
}



.header img{
    width: 100%;
    height: auto;
    margin-bottom: -4px;
}

.main{
    width: 100%;
    background-size: 100%;
    background-image: url("pictures/háttér_kép.jpg");
    background-repeat: no-repeat;
    padding-top: 40px;
    box-shadow: inset 0px 25px 10px -15px #C5161D;
    background-position-x: center;
}

.wrap{
    padding: 35px 35px 150px 35px;
}

.background{
    max-width: 850px;
    height: 900px;
    border: 2px solid #C5161D;
    border-radius: 10px;
    background-color: rgba(255,255,255,0.6);
    margin: auto;
}

.contact{
    margin: 20px 0;
}

.btn{
    margin: auto;
    width: 300px;
    height: 45px;
    background-color: #C5161D;
    color: white;
    box-shadow: inset 0px 0px 10px 1px black;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 25px;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.btn:hover{
    cursor: pointer;
    box-shadow: inset 0px 0px 20px 1px black;
}

@media only screen and (max-width: 980px) {
    .main{    
        background-size: 128%;
    }
}

@media only screen and (max-width: 768px) {
    h1{
        font-size: 35px;
    }
    
    h2{
        font-size: 24px;
    }
    
    .background{
        height: 560px;
    }
    
    .btn{
        width: 210px;
    }
    
    .main{    
        background-size: 157%;
    }
    
}

@media only screen and (max-width: 430px) {
    .main{    
        background-size: 214%;
    }
}

@media only screen and (max-width: 390px) {
    h2{    
        font-size: 21px;
    }
}