.main-section {
    position: relative;
    z-index: -1;
    margin: 0;
    padding: 0;
    height: 400px;
    width: 100%;
    background: url("images/shooter-1a.jpg");
    background-repeat: no-repeat;
    background-size:cover;
    background-position:center;
    box-shadow: inset -1px -1px 10px rgba(0, 0, 0, 0.801);
    
}

.main-section > h1 {
    position: absolute;
    bottom: 3%;
    width: fit-content;
    margin: 0rem 0rem 0rem 0.4rem;
    padding: 0;
    color: white;
    padding: 0.5rem;
    background: rgba(0,0,0,0.4);
    border-radius: 8px;
}

.types-of-shooting__items {
    padding-bottom: 1.2rem;
}

.types-of-shooting__items > h1 {
    margin-top: 0;
    padding-top: 1.2rem;
    font-size: 2rem;
    text-align: center;
}


.types-of-shooting__item{
    width: 100%;
    max-width: 90rem;
    margin: 0 auto 2.2rem auto;
    display: flex;
    gap: 2rem;
}

.types-of-shooting__item h1 {
    padding: 0.2rem 0.5rem;
    max-width: 500px;
    color: rgb(0, 0, 0);
    font-size: 2rem;
    margin: 0 auto 0.5rem auto;
    text-align: center;
}

.types-of-shooting__item h2 {
    padding: 0.5rem;
    max-width: 500px;
    font-size: 1.2rem;
    margin: 0px auto;
    text-align: center;
}

.types-of-shooting__item p {
    font-size: 1rem;
    padding: 0.5rem;
    max-width: 500px;
    margin: 0.5rem auto;
    letter-spacing: 1px;
    /* line-height: 1.2rem;  */  
}

.types-of-shooting__description {
    vertical-align: middle;
    width: 40%;
    background: rgba(255, 255, 255, 0.835);
    border-radius: 8px;
    margin: auto;
}

.types-of-shooting__image {
    margin: auto 0;
    width: 50%;
}

.ft-image,
.hft-image,
.pistol-image,
.plinking-image {
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    border-radius: 16px;
}

.hft-image{
    transform: rotate(-15deg);
}

.ft-image{
    transform: rotate(8deg);
}


.button {
    font-family: BebasNeue-Regular;
    font-size: 1rem;
    letter-spacing: 1px;
    color: black;
    margin: auto;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    cursor: pointer;
    background-color: yellow;
    border: 2px solid yellow;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.753);
    border-radius: 8px;
}

.button:hover,
.button:active {
    background: rgb(0, 0, 0);
    color: yellow;
    border: 2px solid yellow;
    border-radius: 8px;
}

.slide-left{
    transform: translateX(-12rem);
    opacity: 0;
    transition: all 0.5s ease-in;
}

.slide-right{
    transform: translateX(12rem);
    opacity: 0;
    transition: all 0.5s ease-in;
}

.appear{
    transform: translateX(0);
    opacity: 1;
}

@media (max-width: 650px) {

    .types-of-shooting__item {
        display: block;

    }
    
    .types-of-shooting__image {
        display: block;
        margin: auto;
        width: 95%;
    }

    .types-of-shooting__description {
        display: block;
        width: 100%;
        padding-bottom: 1rem;
        margin-top: 0.5rem;
    }
    
}