@import url('https://fonts.google.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quattrocento:wght@400;700&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #051622;
    color: #ededed;
    margin-bottom: 50px;
}

.header1 {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10px;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    padding: 0 10%;
    margin: 20px 0;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #051622;
    animation: showRight 1s ease forwards;
    animation-delay: 3s;
    z-index: 2;
}

.logo {
    position: relative;
    font-size: 25px;
    color: #ededed;
    text-decoration: none;
    font-weight: 600;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #051622;
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
}

.navbar a {
    font-size: 18px;
    color: #ededed;
    font-weight: 500;
    text-decoration: none;
    margin-left: 35px;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color: #deb992;
}


.home {
    height: 100vh;
    /* background: url('home.jpg') no-repeat;
    background-size: cover;
    background-position: center; */
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.home-content {
    max-width: 600px;
}

.home-content h1 {
    position: relative;
    font-size: 56px;
    font-weight: 700;
    color: #deb992;
    line-height: 1.2;
}

.home-content h1::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #051622;
    animation: showRight 1s ease forwards;
    animation-delay: 1s;
}

.home-content p {
    position: relative;
    font-size: 16px;
    margin: 20px 0 40px;
    color: #ededed;
}

.home-content p::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #051622;
    animation: showRight 1s ease forwards;
    animation-delay: 1.3s;
}

.home-content .btn-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 345px;
    height: 50px;
}

.home-content .btn-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #051622;
    animation: showRight 1s ease forwards;
    animation-delay: 1.9s;
    z-index: 2;
}

.btn-box a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: #00abf0;
    border: 2px solid #00abf0;
    border-radius: 8px;
    font-size: 19px;
    color: #081b29;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.btn-box a:hover {
    color: #00abf0;
}

.btn-box a:nth-child(2) {
    background: transparent;
    color: #00abf0;
}

.btn-box a:nth-child(2):hover {
    color: #081b29;
}

.btn-box a:nth-child(2)::before {
    background: #00abf0;
}

.btn-box a::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #081b29;
    z-index: -1;
    transition: .5s;
}

.btn-box a:hover::before {
    width: 100%;
}

.home-sci {
    position: absolute;
    bottom: 40px;
    width: 170px;
    display: flex;
    justify-content: space-between;
}

.home-sci::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #051622;
    animation: showRight 1s ease forwards;
    animation-delay: 2.4s;
    z-index: 2;
}

.home-sci a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #00abf0;
    border-radius: 50%;
    font-size: 20px;
    color: #00abf0;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.home-sci a:hover {
    color: #081b29;
}

.home-sci a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #00abf0;
    z-index: -1;
    transition: .5s;
}

.home-sci a:hover::before {
    width: 100%;
}

.home-imgHover {
    position: absolute;
    top: 0;
    right: 70px;
    width: 600px;
    height: 100%;
    background: transparent;
    border: 2px solid transparent;
    transition: 2s;
    animation: manipActiveHover .1s forwards;
    animation-delay: 3s;
    pointer-events: none;
}

.home-imgHover:hover {
    background: #051622;
    opacity: .8;
}

.home-imgHover::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #051622;
    animation: showRight 1s ease forwards;
    animation-delay: 4s;
    z-index: 2;
}

.main-image {
    object-fit: cover;
    position: absolute;
    top: 10rem;
    right: 70px;
    width: 600px;
    height: 60%;
    background: transparent;
    border: 2px solid #deb992;
    border-radius: 50%;
}

.hover-instruction {
    display: block;
    margin-top: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #00abf0;
}


@keyframes showRight {
    100% {
        width: 0;
    }
}

@keyframes manipActiveHover {
    100% {
        pointer-events: auto;
    }
}

/* PAINTING SECTION */


.frame {
    border: 50px solid black;
    width: 640px;
    margin: 100px 0 100px 10%;
    padding: 20px;
    border-radius: 50px;
}

.canvas {
    width: 500px;
    height: 600px;
    background-color: #4d0f00;
    overflow: hidden;
    filter:blur(1px);
}

.painting-one {
    width: 400px;
    height: 100px;
    background-color: #efb762;
    margin: 20px auto;
    filter: blur(2px);
    border-radius: 20px;
    transform: rotate(-0.6deg);
    box-shadow: 0 0 3px 3px #efb762;
}

.painting-two {
    width: 460px;
    height: 40%;
    background-color: #8f0401;
    margin: 20px auto;
    border-radius: 20px;
    transform: rotate(0.6deg);
    filter: blur(2px);
    box-shadow: 0 0 3px 3px #8f0401;
}

.painting-three {
    width: 91%;
  height: 28%;
  background-color: #b20403;
  margin: auto;
  filter: blur(2px);
  box-shadow: 0 0 5px 5px #b20403;
  border-radius: 30px 25px 60px 12px;
  transform: rotate(-0.7deg);
}

.painting-heading {
    margin-left: 10%;
}


/* CAT GALLERY */

.header2 {
    text-align: center;
    text-transform: uppercase;
    background-color:darkblue;
    color:white;
    padding: 20px;
    border-bottom: 10px solid #fdb347;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    padding: 20px 10px;
    max-width:1400px;
    margin: 0 auto;
    gap: 16px;
}

.cat-gallery img {
    width: 100%;
    max-width: 350px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    
}

.gallery::after {
    content:"";
    width: 350px;
}

/* MARKERS */

h1 {
    text-align: center;
    padding-bottom: 20px;
}
.marker {
    width: 200px;
    height:30px;
    margin: auto;
}

.one {
    background: linear-gradient(180deg, rgb(122, 74, 14), rgb(245, 62, 113), rgb(162, 27, 27));
    box-shadow: 0 0 20px 4px rgba(83, 14, 14, 0.8);
    margin-bottom: 40px;
}

.two {
    background: linear-gradient(#55680D, #71F53E, #116C31);
    box-shadow: 0 0 20px 4px #3B7E20CC;
    margin-bottom: 40px;
}

.three {
    background: linear-gradient(hsl(186, 76%, 16%), hsl(223, 90%, 60%), hsl(240, 56%, 42%));
    box-shadow: 0 0 20px 4px hsla(223,59%,31%, 0.8);
  }

.mainBody {
    background: rgba(255, 255, 255, 50%);
    width: 120px;
    height: 30px;
    border-left: 10px double rgba(0,0,0, 75%);
}

.cap {
    height: 30px;
    width: 50px;
}

.cap, .mainBody {
    display: inline-block;
}

.container {
    padding: 10px 0px;
}

    /* LOADING SCREEN */

.main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background-color: #333;
}

.loading-text {
    display: flex;
    gap: 1.5vw;
    color: white;
    font-size: 1.8vw;
    font-family: 'Quattrocento', sans-serif;
}

.loading-text span:nth-child(1) {
    animation: blur-text 1s 0s infinite linear alternate;
}

.loading-text span:nth-child(2) {
    animation: blur-text 1s 0.2s infinite linear alternate;
}

.loading-text span:nth-child(3) {
    animation: blur-text 1s 0.4s infinite linear alternate;
}

.loading-text span:nth-child(4) {
    animation: blur-text 1s 0.6s infinite linear alternate;
}

.loading-text span:nth-child(5) {
    animation: blur-text 1s 0.8s infinite linear alternate;
}

.loading-text span:nth-child(6) {
    animation: blur-text 1s 1.0s infinite linear alternate;
}

.loading-text span:nth-child(7) {
    animation: blur-text 1s 1.20s infinite linear alternate;
}

@keyframes blur-text {
    from{
        filter: blur(0);
    }
    to{
        filter:blur(2px);
        color: black;
    }
}
