@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: white;
}

.image-slider {
    width: 100%;
    height: 520px; 
    overflow: hidden;
    position: relative;
}

.image-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white; 
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 50px;            
}

        .slider-content h1 {
            font-size: 48px;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            white-space: nowrap;
        }

        .slider-content p {
            font-size: 18px;
            margin-bottom: 30px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .slider-content .btn {
            display: inline-block;
            padding: 10px 20px;
            font-size: 16px;
            color: white;
            background-color: #8D493A;
            border: none;
            border-radius: 5px;
            text-decoration: none;
            margin: 0 10px;
            transition: background-color 0.3s ease-in-out;
        }

.slider-content .btn:hover {
background-color: #34495e;
}

.btn-go-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  padding: 10px 20px;
  background-color: red;
  color: #fff;
  border: none;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-go-to-top:hover {
  background-color: red;
  cursor: pointer;
}


@media (max-width: 768px) and (max-width: 1080px) {
    .image-slider {
        height: 300px;
        width: 100%;
        overflow: hidden;
        position: relative;
    }

    .image-slider img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    } 

    .slider-content {
        padding: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .slider-content h1 {
        font-size: 28px;
    }

    .slider-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .slider-content .btn {
        padding: 6px 12px;
        font-size: 12px;
        margin: 5px;
    }
}


@media (max-width: 480px) {
    .image-slider {
        height: 300px;
        width: 100%;
        overflow: hidden;
        position: relative;
    }

    .image-slider img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    } 

    .slider-content {
        padding: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .slider-content h1 {
        font-size: 28px;
    }

    .slider-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .slider-content .btn {
        padding: 6px 12px;
        font-size: 12px;
        margin: 5px;
    }
}