@import url("https://use.typekit.net/onx5xzu.css");

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body{
    background-color: #1b2838;
    font-family: anisette-petite, sans-serif;
    font-weight: 300;
    font-style: normal;
    scroll-behavior: smooth;
}

h1{
    font-family: anisette-std-petite-2, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(3em, 5vw, 6em);
}

h2{
    font-family: anisette-std-petite-2, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(2em, 3vw, 4em);
}

h3{
    font-family: anisette-petite, sans-serif;
    font-weight: 400;
    font-style: normal;
}

header{
    background-color: whitesmoke;
    width: 100%;
    height: 60vh;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 3px solid #008cff;
    padding: 10px 0;
}

.header-banner{
    width: 40%;
    height: 100%;
    color: #1b2838;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.banner-text{
    text-align: center;
}

.banner-text p{
    font-size: clamp(2.3em, 4vw, 5em);
}

.mail-link{
    text-decoration: none;
    color: #1b2838;
    font-size: 2em;
    border: 3px solid #1b2838;
    border-radius: 40px;
    padding: 10px 20px;
}

.mail-link:hover{
    background-color: #1b2838;
    color: aliceblue;
}

.header-image{
    background-image: url('../img/banner_1920x1386-1.jpg');
    background-position: center;
    background-size: cover;
    width: 60%;
    height: 100%;
    border-radius: 4rem 0 0 4rem;
}

section, footer{
    width: 1200px;
    margin: 20px auto;
}

.home{
    color: aliceblue;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.home-text{
    width: 60%;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.home-img{
    width: 40%;
    background-color: aliceblue;
    padding: 10px;
    display: grid;
    grid-template-areas:
        'image-1 image-2'
        'image-3 image-3';
    gap: 10px;
    border-radius: 10px;
}

.image-1{
    grid-area: image-1;
    width: 100%;
    border-radius: 5px;
}

.image-2{
    grid-area: image-2;
    width: 100%;
    border-radius: 5px;
}

.image-3{
    grid-area: image-3;
    width: 100%;
    border-radius: 5px;
}

.info{
    background-color: aliceblue;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.info-img{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    margin: 20px 0;
}

.info-image{
    width: 30%;
    border-radius: 5px;
}

.info-terkep{
    margin-top: 20px;
}

.info-terkep-image{
    width: 100%;
    border-radius: 5px;
}

.connect{
    background-color: #008cff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
}
.mail-send{
    margin-top: 20px;
}

.cards{
    width: 100%;
}

.vizi-jarmu{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.vizi-jarmu label{
    width: 100px;
    height: 100px;
    /* margin: 0 1rem 1rem 1rem; */
    margin-bottom: 1rem;
}

.parti-and-motoros{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.parti-jarmu{
    width: 200px;
    height: 200px;
    margin-bottom: 1rem;
}

.motoros-hajo{
    width: 400px;
    height: 200px;
}

/* HIDE RADIO */
[type=radio] { 
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* IMAGE STYLES */
[type=radio] + img {
    cursor: pointer;
    border-radius: 10px;
    opacity: 90%;
    width: 100%;
    height: 100%;
}

/* CHECKED STYLES */
[type=radio]:checked + img {
    outline: 3px solid #1b2838;
     opacity: 100%;
}

.mailForm{
    width: 70%;
    text-align: left;
    margin-top: 1.5rem;
}

.mailForm input{
    width: 100%;
    margin-bottom: 20px;
    padding: 12px 20px;
}

.mailForm button{
    color: #1b2838;
    background-color:aliceblue;
    font-size: 1em;
    border: 3px solid #1b2838;
    border-radius: 40px;
    padding: 10px 20px;
}

.mailForm button:hover{
    background-color: #1b2838;
    color: aliceblue;
}

footer{
    background-color: aliceblue;
    color: #1b2838;
    padding: 20px 30px;
    text-align: center;
    border-radius: 10px;
}

footer h3{
    margin-bottom: 1rem;
}

footer ul{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

footer ul li{
    padding: 0.5rem 1rem;
}

footer ul li a{
    color: #008cff;
    text-decoration: none;
}

footer ul li a:hover{
    color: #1b2838;
}

@media screen and (max-width: 1200px){
    section, footer{
        width: 100%;
        margin: 10px 0;
    } 
}

@media screen and (max-width: 900px){
    header{
        height: 100vh;
        display: flex;
        flex-wrap: wrap;
        border-bottom: 3px solid #008cff;
        padding: 0;
    }
    .header-banner{
        width: 100%;
        height: 40%;
    }
    .header-image{
        width: 100%;
        height: 60%;
        border-radius: 4rem 4rem 0 0;
    }
    .mail-link{
        font-size: 1.5em;
        border: 2px solid #1b2838;
    }
  
    .home-text{
        width: 100%;
        text-align: center;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
    }
    
    .home-img{
        width: 100%;
        background-color: aliceblue;
        padding: 10px;
        display: grid;
        grid-template-areas:
            'image-1 image-2'
            'image-3 image-3';
        gap: 10px;
        border-radius: 0;
    }
    .info{
        border-radius: 0;
    }
    .connect{
        border-radius: 0;
    }
    .parti-jarmu{
        width: 150px;
        height: 150px;
    }
    .mailForm{
        width: 100%;
    }
    footer{
        border-radius: 0;
    }
}