@tailwind base;
@tailwind components;
@tailwind utilities;

html{
   width: 100vw;
   overflow-x: hidden;
}

body{
   font-family: 'Lora', serif;
   font-weight: 300;
   width: 100vw;
   overflow-x: hidden;
   scroll-behavior: smooth;
}

main{
   width: 100vw;
   overflow-x: hidden;
   scroll-behavior: smooth;

}

section{
    width: calc(100vw - 32px);
}


.menu-mobile{
    position: absolute;
    top: 80px;
    left: 0px;
    width: 100vw;

background-color: #595959;
height: auto;
border-top: white 1px solid;
border-bottom: white 1px solid;

}

.menu-mobile li{
    position: relative;
margin-left: 0px !important;

}

.menu-mobile a{
    display: inline-block;
    height: 60px;
    width: 100%;
    line-height: 60px;
    padding-left: 16px;
}

a:hover{
    opacity: 0.7;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* 设置背景层的透明度 */
  z-index: 1; /* 确保背景层位于其他元素之上 */
  display: none; /* 初始状态下隐藏背景层 */
}
.partnership-wrapper{
    position: relative;
}
.partnership-wrapper>a {
    position: relative;
}
.partnership-wrapper>a::after {
    content: '';
    position: absolute;
    right: 0;
    top: 30%;
    bottom: 0;
    height: 70%;

    border-right: 1px dotted #ccc;
}

@media (min-width: 1023px) {
    .partnership-wrapper>a:nth-child(4n)::after {
        border-right: 1px dotted #ccc;
    }

    .partnership-wrapper>a:nth-child(4n)::after {
        border-right: none;
    }
}

@media (min-width: 751px) and (max-width: 1023px) {
    .partnership-wrapper>a:nth-child(3n)::after {
        border-right: 1px dotted #ccc;
    }

    .partnership-wrapper>a:nth-child(3n)::after {
        border-right: none;
    }
}
@media (max-width: 750px) {
    .partnership-wrapper>a:nth-child(2n)::after {
        border-right: 1px dotted #ccc;
    }

    .partnership-wrapper>a:nth-child(2n)::after {
        border-right: none;
    }
}
