* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.wrap {
    min-height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.47);
    background-image: url(picture.jpg);
    background-size: 100% 100%;
    background-blend-mode: darken;
    display: grid;
    grid-template-columns: 70% 30%;
    align-items: center;
}

.only {
    height: auto;
    width: 100%;
    /* background-color: green; */
    color: white;
    padding-left: 80px;
}

.welcome {
    font-size: clamp(1rem, 4vw, 1.5rem);
    font-weight: bold;
    color: red;
}

.home {
    margin-top: 10px;
    font-size: clamp(1rem, 4vw, 2.5rem);
}

.homer {
    width: 60%;
    font-size: clamp(1rem, 4vw, 1.5rem);
    margin-top: 20px;
}

.Btn {
    width: fit-content;
    align-self: flex-start;
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    background-color: brown;
    color: white;
    font-size: large;
    margin-top: 80px;
    border-radius: 10px;

}

.Btn:hover {
    background-color: rgb(2, 2, 19);
    color: white;
    transition: 0.7s;
}

.first {
    /* background-color: orange; */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden
}

.first img {
    height: auto;
    max-height: 350px;
    width: auto;
    animation-name: row;
    animation-duration: 6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes row {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

@media screen and (min-width:768px) and (max-width:1024px) {
    .wrap {
        grid-template-columns: 70% 30%;
    }

    .only {
        padding-left: 40px;
    }

}

@media screen and (max-width:767px) {
    .wrap {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .only {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 30px;
        padding-top: 20px;
    }

    .first {
        flex: 1;
        width: 100%;
        padding: 40px 0;
    }

    .first img {
        height: auto;
        max-width: 280px;
    }
}