@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    font-family: "Quicksand", sans-serif;
    font-weight: 500;
}

.announcements{
    width: 100%;
    background-color: #111;
    color: white;
    text-align: center;
    padding: 15px;
}

h1, h2, h3{
    font-weight: 700;
}

a{
    text-decoration: none;
}

.hero{
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 15%;
    padding-right: 15%;
}

.hero .center{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero .center a{
    color: white;
    border-radius: 500px;
    margin-top: 20px;
    background-color: #111;
    padding: 10px;
    padding-left: 30px;
    padding-right: 30px;
    font-weight: 600;
    font-size: 17px;
    border: 3px solid var(--color);
    transition-duration: 0.3s;
}

.hero .center a:hover{
    transform: scale(1.1);
}

.hero img{
    width: 200px;
    height: 170px;
    object-fit: contain;
    cursor: pointer;
    transition-duration: 0.3s;
}

.hero img:hover{
    transform: scale(1.1);
}

.hero .left{
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition-duration: 0.3s;
}

.hero .right{
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: right;
    transition-duration: 0.3s;
}

.hero .right:hover{
    transform: scale(1.1);
}

.hero .left:hover{
    transform: scale(1.1);
}

.hero i{
    font-size: 70px;
}

.hero p{
    font-size: 15px;
    color: #dedede;
    font-weight: 600;
}

.hero h6{
    font-size: 25px;
    color: white;
    font-weight: 600;
}

nav{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    padding-left: 15%;
    padding-right: 15%;
    background-color: #111;
    color: white;
    position: relative;
}

nav a{
    color: white;
    padding: 20px;
    font-weight: 600;
    font-size: 18px;
}

nav a:hover{
    text-decoration: underline;
}

.home{
    width: 100%;
    padding-left: 15%;
    padding-right: 15%;
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin-top: 50px;
    gap: 20px;
}

.home-left{
    width: 70%;
    display: flex;
    flex-direction: column;
}

.haber{
    width: 100%;
    display: flex;
    background-color: #111;
    overflow: hidden;
    border-radius: 20px;
    color: white;
    position: relative;
    height: 350px;
    margin-top: 20px;
}

.haber img{
    width: 40%;
    height: 350px;
    object-fit: cover;
}

.haber div{
    margin: 20px;
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    gap: 20px;
}

.haber h3{
    font-size: 25px;
}

.haber p{
    color: #dedede;
}
.home h2{
    font-size: 30px;
    color: white;
}

.haber a{
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: white;
    background-color: var(--color);
    padding: 10px;
    border-radius: 10px;
}

.home-right{
    width: 30%;
    display: flex;
    flex-direction: column;
}

.home-right iframe{
    margin-top: 20px;
    width: 100%;
}

footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 15%;
    padding-right: 15%;
    background-color: #111;
    border-top: 1px solid #2222;
    color: white;
    padding: 20px;
    margin-top: 50px;
}

footer a{
    color: white;
    text-decoration: underline;
}

.categories {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding-left: 15%;
    padding-right: 15%;
    margin-top: 50px;
    width: 100%;
}

.category {
    background-color: #111;
    text-align: center;
    font-weight: bold;
    border-radius: 8px;
    border: 2px solid #222;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.category:hover {
    border-color: var(--color);
}

.category img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category p{
    font-size: 20px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
}

.destekler{
    padding-left: 15%;
    padding-right: 15%;
    color: white;
    display: flex;
    flex-direction: column;
    margin-top: 50px;
}

.destekler img{
    width: 100%;
    margin-bottom: 20px;
    border-radius: 20px;
    height: 500px;
    object-fit: cover;
}

.category span{
    background-color: red;
    color: white;
    font-weight: 600;
    padding: 5px;
    line-height: 10px;
    border-radius: 5px;
    position: absolute;
    top: 0;
    right: 0;
}

.urun{
    width: 100%;
    padding-left: 15%;
    padding-right: 15%;
    display: flex;
    margin-top: 50px;
    align-items: start;
    justify-content: space-between;
    gap: 30px;
    color: white;
}

.urun-left{
    width: 50%;
}

.urun-left img{
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

.urun-right{
    width: 50%;
}

.urun-right h1{
    font-size: 40px;
    margin-top: 20px;
}

.urun-right form{
    display: flex;
    flex-direction: column;
    gap: 0;
}

.urun-right input[type="submit"]{
    background-color: var(--color);
    color: white;
    padding: 15px;
    line-height: 10px;
    border-radius: 20px;
    width: 200px;
    font-weight: 600;
    margin-top: 20px;
    cursor: pointer;
    font-size: 20px;
}

.urun-right input[type="text"]{
    background-color: #333;
    color: white;
    padding: 10px;
    border-radius: 20px;
    width: 100%;
    font-weight: 600;
    margin-top: 20px;
    font-size: 20px;
}

.urun-right input[type="submit"]:hover{
    opacity: 0.7;
}

.urun-right span{
    background-color: red;
    color: white;
    font-weight: 600;
    padding: 5px;
    line-height: 10px;
    border-radius: 500px;
}
.card-expiration {
  display: flex;
  gap: 10px;
}

.card-expiration input {
  flex: 1;
}

.green{
    font-size: 50px;
    color: green;
    margin-bottom: 20px;
}

.red{
    font-size: 50px;
    color: red;
    margin-bottom: 20px;
}

@media (max-width: 1400px) {
    .home{
        padding-left: 2%;
        padding-right: 2%;
    }
    nav{
        padding-left: 2%;
        padding-right: 2%;
    }
    .hero{
        padding-left: 2%;
        padding-right: 2%;
    }
    .urun{
        padding-left: 2%;
        padding-right: 2%;
    }
    .destekler{
        padding-left: 2%;
        padding-right: 2%;
    }
}

@media (max-width: 992px) {
    .categories {
        grid-template-columns: repeat(4, 1fr);
        padding-left: 10%;
        padding-right: 10%;
    }
    .home{
        flex-direction: column;
    }
    .home-left{
        width: 100%;
        margin-bottom: 20px;
    }
    .home-right{
        width: 100%;
    }
}

@media (max-width: 768px) {
    .categories {
        grid-template-columns: repeat(2, 1fr);
        padding-left: 5%;
        padding-right: 5%;
    }
    .urun{
        flex-direction: column;
    }
    .urun-left{
        width: 100%;
    }
    .urun-right{
        width: 100%;
        height: auto;
    }
    .urun-right input{
        width: 100% !important;
    }
}

@media (max-width: 650px) {
    .hero{
        justify-content: center;
    }
    .hero .right{
        display: none;
    }
    .hero .left{
        display: none;
    }
}

@media (max-width: 480px) {
    .categories {
        grid-template-columns: 1fr;
    }
    .haber{
        flex-direction: column;
        height: 700px;
    }
    .haber img{
        width: 100%;
    }
    nav{
        flex-wrap: wrap;
    }
}