* {
    margin: 0;
    box-sizing: border-box;
}

/*************** MAIN BLOCKS ************/
body {
    font-family: 'Poppins', sans-serif;
    height: 100%;
    overflow: hidden;
    touch-action: none;
    -ms-touch-action: none;
}

body:has(.requires-no-scroll) {
    overflow: hidden;
  }

.container {
    margin: 0 auto;
    background-color: #FFF;
    box-shadow: 0px 0px 20px 10px #b8b8b8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

header {
    width: 100%;
    height: 7%;
    max-height: 80px;
    min-height: 49px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 18px;
}

main {
    flex-grow: 1;
    padding: 0 8px;
    width: 100%;
    display: flex;
}

.action-buttons {
    height: 15%;
    width: 100%;
    display: flex;
    justify-content: center;
}

.dog-container {
    position: relative;
    flex-grow: 1;
    border-radius: 15px;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 12px;
    transform: translate(0, 0);
    overflow: hidden;
}

/*************** HEADER ************/
.profile-icon,
.app-icon,
.chat-icon {
    display: block;
}

.app-icon {
    height: 38px;
    width: 76px;
}

.profile-icon,
.chat-icon {
    width: 30px;
    height: 30px;
}

.message {
    text-align: center;
    font-size: 24px;
    position: relative;
    top: 20%;
}

/*************** PHOTO AREA ************/
.badge {
    display: block;
    width: 200px;
    transform-origin: 200px;
    transform: rotate(-30deg);
    z-index: 10;
}

#previous,
#next { 
    display:block; 
    width: 50%;
    position: absolute;
    height: 100%;
    top: 0;
}

#previous {
    left:0px;
}

#next { 
    left:50%;
}


/*************** ACTION BUTTONS ************/
.dislike-btn,
.like-btn {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: none;
    background-color: #FFF;
    box-shadow: 0px 10px 20px #E9E9EA;
    background-repeat: no-repeat;
    background-position: center;
    transition: 0.3s;
    margin: 20px 40px;
}

.like-btn {
    background-image: url(/images/icon-heart.png);
    background-size: auto;
}
.dislike-btn {
    background-image: url(/images/icon-cross.png);
}

.like-btn:enabled:hover,
.like-btn:enabled:focus {
    background-color: #DBFFF4;
    box-shadow: 0px 10px 20px #CCF1E6;
}

.dislike-btn:enabled:hover,
.dislike-btn:enabled:focus {
    background-color: #FFE7EF;
    box-shadow: 0px 10px 20px #EDD9DF;
}

.like-btn:enabled:active,
.dislike-btn:enabled:active {
    position: relative;
    top: 2px;
}

.like-btn:disabled,
.dislike-btn:disabled {
    filter: grayscale(100%);
}

/*************** FONTS ************/
h2 {
    font-weight: 600;
    font-size: 32px;
    color: #F8F8F8;
    margin-bottom: 8px;
}

h3 {
    font-weight: 400;
    font-size: 24px;
    color: #B7B7B7;
}

/****************** LANDSCAPE ***************/
@media screen and (orientation: landscape) {
    .container {
        width: 100%;
        margin: 0;
        flex-direction: row;
    }
    header {
        width: 100px;
        height: 100%;
        max-height: none;
        max-width: none;
        flex-direction: column;
        justify-content: space-around;
        padding: 10px;
    }

    main {
        height: 90%;
        width: 100%;
    }
    
    .action-buttons {
        height: 100%;
        max-height: 100%;
        width: 130px;
        flex-direction: column;
    }
    
    .dog-container {
        height: 100%;
    }
    .dislike-btn,
    .like-btn {
        margin: 30px 50px 40px 20px;
    }
    .badge {
        width: 230px;
    }
}

@media only screen and (min-width: 1200px)  {
    .container {
        width: 1200px;
        margin: 0 auto;
    }
}


.radio {
    display: none;
}

.dots {
    margin-top: 20px;
    width: 100%;
    bottom: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dots label {
    width: 15px;
    height: 15px;
    background: #FFF;
    margin: 0 10px;
    border-radius: 50%;
    opacity: 0.3;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.dots label.active {
    opacity: 1;
}