@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
}
h1{
    font-family: 'Ubuntu',sans-serif;
    color: #d41319;
    font-weight: 700;
    font-size: 60px;
}
p{
    font-family: 'Ubuntu',sans-serif;
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 20px;
}
a{
    text-align: center;
    font-family: 'Ubuntu',sans-serif;
    font-weight: 700;
    font-size: 20px;
    border-radius: 3px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    margin-bottom: 20px;
    width: 350px;
    padding: 20px 30px;
    transition: 0.3s ease-in-out;
}
a:hover{
    border: 2px solid #fff;
    background-color: #fff;
    color: #d41319;
    transition: 0.3s;
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.backline-hero{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100vh;
}
.backline-hero img{
    width: 200px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}
.backline-hero h1{
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.backline-hero p{
    margin-bottom: 100px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

.backline-hero a{
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.8s;
}

.p-phone{
    display: none;
}



@media (min-width: 1024px){
.backline-security{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 0px 80px;
    background: url(./Images/Veiligheidsagent-Backline-events-scaled.jpg);
    background-size: cover;
    background-position: center;
    width: 50%;
    position: relative;
    transition: 0.4s ease-in-out;
    height: 100%;
}

.backline-security:hover{
    width: 60%;
}

/* Black background opacity "Backline security" */
.backline-security::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: 0.3s ease-in-out;
    pointer-events: none;
}
.backline-security:hover::before {
    background: rgba(0, 0, 0, 0.7);

}
.backline-security > * {
    position: relative;
    z-index: 1;
}

.backline-hospitality{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 0px 80px;
    background: url(./Images/home-backline-hospitality-host.jpg);
    background-size: cover;
    background-position: center;
    width: 50%;
    height: 100%;
    position: relative;
    transition: 0.4s ease-in-out;
}

.backline-hospitality:hover{
    width: 60%;
}

/* Black background opacity "Backline Hospitality" */
.backline-hospitality::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: 0.3s ease-in-out;
    pointer-events: none;
}
.backline-hospitality:hover::before {
    background: rgba(0, 0, 0, 0.7);

}
.backline-hospitality > * {
    position: relative;
    z-index: 1;
}
}

@media (max-width: 767px){
h1{
    font-size: 30px;
}
a{
    width: 100%;
    font-size: 16px;
    padding: 15px 5px;
    margin: 0px;
}
p{
    font-size: 16px;
    line-height: 15px;
    text-align: center;
}
.p-computer{
    display: none;
}
.p-phone{
    display: flex;
}
.backline-hero{
    flex-direction: column;
    width: 100%;
    height: 100vh;
}
.backline-security-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.backline-hospitality-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.backline-hero img{
    width: 130px;
}
.backline-hero h1{
    width: 100%;
    margin-top: 0px;
    margin-bottom: 20px;
    text-align: center;
}
.backline-hero p{
    width: 100%;
    margin-top: 0px;
    margin-bottom: 20px;
}
.backline-security{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient( rgba(0, 0, 0, 0.7) ),url(./Images/Veiligheidsagent-Backline-events-scaled.jpg);
    background-size: cover;
    background-position: center;
    padding: 20px 40px;
    height: 50%;
    
}
.backline-hospitality{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient( rgba(0, 0, 0, 0.7) ),url(./Images/home-backline-hospitality-host.jpg);
    background-size: cover;
    background-position: center;
    padding: 20px 40px;
    height: 50%;
}
}

@media (min-width: 768px) and (max-width: 1023px){
    h1{
    font-size: 42px;
}
a{
    margin-bottom: 20px;
    font-size: 18px;
    width: 350px;
    padding: 15px 10px;
}
p{
    font-size: 18px;
}
.backline-hero{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.backline-hero img{
    max-width: 150px;
}
.backline-hero h1{
    margin-bottom: 20px;
}
.backline-hero p{
    margin-bottom: 50px;
}
    .backline-security{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background: linear-gradient( rgba(0, 0, 0, 0.7) ),url(./Images/Veiligheidsagent-Backline-events-scaled.jpg);
    background-size: cover;
    background-position: center;
    padding: 0px  100px 20px 60px;
    height: 50%;
    
}
.backline-hospitality{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background: linear-gradient( rgba(0, 0, 0, 0.7) ),url(./Images/home-backline-hospitality-host.jpg);
    background-size: cover;
    background-position: center;
    padding: 0px  100px 20px 60px;
    height: 50%;
}
}
