@charset "UTF-8";

body {
  margin: 0;
  padding: 0;
  background-image: url('../img/bg-texture.jpg'); 
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  font-family: "Times New Roman", serif;
  color: #5a5240;
  height: 100vh;
  overflow-x: hidden;
}


.wrapper{
    position: relative;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    text-align: center;
}

.profile-label{
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 20px;
    color: #7a6f60;
}

.seal{
    width: 50%;
    max-width: 180px;
    aspect-ratio: 1/1;
    margin: 80px auto 8px;
    background-image: url('img/seal.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.seal img{
    position: relative;
    margin: 20px auto;
    width: 80%;
}

.card{
    position: relative;
    width: 86%;
    max-width: 360px;
    margin: -20px auto;
}

.card img{
    height: auto;
    width: 100%;
    display: block;
}

.card-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #f4eecb;
    text-align: center;
    font-family: "Times New Roman" ,serif;
    width: 90%;
    box-sizing: border-box;
}

.card-text h1{
    font-size: 25px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.card-text p{
    font-size: 14px;
    opacity: 0.9;
}

.pen{
    position: absolute;
    right: -8%;
    top: -20%;
    width: 14px;
    max-width: 72px;
    height: auto;
}

.ribbon{
    width: 32px;
    height: 44px;
    position: relative;
}

.ribbon img{
    width: 100%;
    height: auto;
}

.ribbon .icon{
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 14px;
    height: auto;
}

.ribbon-menu{
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 30px 0 90px;
    padding: 0;
    list-style: none;
}

.ribbon-menu li{
    position: relative;
}

.ribbon-menu li img{
    display: block;
    width: 40px;
    height: auto;
}

.ribbon-menu .icon{
    position: absolute;
    top: 20%;
    left: 50%;
    width: 20px;
    transform: translate(-50%, 0);
}

.botton-nav{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #999;
    display: flex;
    justify-content: space-around;
    align-content: center;
    padding: 10px 0;
    list-style: none;
    z-index: 500;
}

.botton-nav li{
    display: flex;
    justify-content: center;
    align-items: center;
}

.botton-nav li img{
    width: 36px;
    height: auto;
    opacity: 0.9;
    transition: 0.2s;
}

.botton-nav li img:hover{
    opacity: 1;
    transform: scale(1.1);
}

.botton-nav li img{width: 36px;}

.botton-nav .nav-owl img{width: 40px;}
.botton-nav .nav-hat img{width: 48px;}

img{
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1000;
}

.overlay img{
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
}

.overlay.show{
    opacity: 1;
    visibility: visible;
}