:root {
  --theme-bg-color: #E2DED8;
  --primary-color: #46423A;
  --polaroid-box-color: #EFEDE9;
}

@font-face {
  font-family: headerFont;
  src: url("../font/PermanentMarker-Regular.ttf");
}
@font-face {
  font-family: mainFont;
  src: url("../font/MsMadi-Regular.ttf");
}

#polaroid-theme {
    min-height: 100vh;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "mainFont";
    color: var(--primary-color);
    position: relative;
}

.bg {
    position: absolute;
    top: 0px; left: 0px;
    width: 100%; height: 100%;
    z-index: -1;
    background-color: var(--theme-bg-color);
    background: url("../img/polaroid-theme/bg3.jpg");
    background-size: 100% auto;
    background-repeat: repeat-y;
}
.bg::after {
    content: "";
    position: absolute;
    top: 0px; left: 0px;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}

.intro {
    position: relative;
    width: 100%;
    min-height: 300px;
    aspect-ratio: 5/4;
    padding-top: 5%;
    padding-bottom: 20%;
}
.polaroid-box {
    background-color: var(--polaroid-box-color);
    width: 45%;
    aspect-ratio: 2/3;
    box-sizing: border-box;
    border-radius: 3px;
    box-shadow: rgba(50, 50, 93, 0.35) 0px 2px 5px -1px, rgba(0, 0, 0, 0.4) 0px 1px 3px -1px;
}
.polaroid-photo {
    overflow: hidden;
    width: 88%;
    aspect-ratio: 4/5;
    margin: 6%;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0px;
}
.polaroid-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.polaroid-text {
    width: 100%;
    font-size: 1.5rem;
    text-align: center;
    height: 22%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-weight: bold;
}


.header {
    position: relative;
    width: 100%;
    font-size: 3rem;
    font-family: headerFont;
    text-align: center;
    padding: 10% 5%;
    box-sizing: border-box;
    color: var(--theme-bg-color);
    text-shadow:   0px -6px 0 #212121,  
                 0px -6px 0 #212121,
                 0px  6px 0 #212121,
                 0px  6px 0 #212121,
                -6px  0px 0 #212121,  
                 6px  0px 0 #212121,
                -6px  0px 0 #212121,
                 6px  0px 0 #212121,
                -6px -6px 0 #212121,  
                 6px -6px 0 #212121,
                -6px  6px 0 #212121,
                 6px  6px 0 #212121,
                -6px  8px 0 #212121,
                 0px  8px 0 #212121,
                 6px  8px 0 #212121;
}
.intro .polaroid-box {
    position: absolute;
    top: 10%; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
#polaroid-box1::after {
    content: "";
    width: 40%;
    aspect-ratio: 5/2;
    background-image: url("../img/polaroid-theme/tape1.png");
    background-size: 100% 100%;
    z-index: 4;
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-50%, -50%) rotateZ(5deg);
}
#polaroid-box2 {
    width: 25%;
    transform: translate(70%, 25%) rotateZ(-10deg);
    z-index: 3;
}
#polaroid-box2::after {
    content: "";
    width: 30%;
    min-height: 25px;
    aspect-ratio: 5/2;
    background-image: url("../img/polaroid-theme/tape2.png");
    background-size: 100% 100%;
    z-index: 4;
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-80%, -50%) rotateZ(80deg);
}
#polaroid-box3 {
    width: 30%;
    z-index: 1;
    transform: translate(-160%, 25%);
}
#polaroid-box3::after {
    content: "";
    width: 40%;
    aspect-ratio: 5/2;
    min-height: 25px;
    background-image: url("../img/polaroid-theme/tape3.png");
    background-size: 100% 100%;
    z-index: 4;
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-30%, -50%) rotateZ(3deg);
}

.reels {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding-bottom: 25%;
}
.reel {
    width: 40%;
    transform: rotateZ(-3deg);
}
.reeldd::after {
    content: "";
    width: 35%;
    aspect-ratio: 5/2;
    min-height: 25px;
    background-image: url("../img/polaroid-theme/tape4.png");
    background-size: 100% 100%;
    z-index: 4;
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-50%, -50%) rotateZ(3deg);
}

.paper {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 5%;
    padding-top: 0;
    padding-bottom: 25%;
    display: flex;
    justify-content: center;
}
.tornPaper {
    width: 100%;
    font-size: 1.5rem;
    background-color: var(--polaroid-box-color);
    background: url("../img/polaroid-theme/tornPaper.png");
    background-size: 100% 100%;
    box-sizing: border-box;
    padding: 10%;
    padding-bottom: 15%;
}
.tornPaper::after {
    content: "";
    width: 25%;
    aspect-ratio: 5/2;
    min-height: 25px;
    background-image: url("../img/polaroid-theme/tape3.png");
    background-size: 100% 100%;
    z-index: 4;
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-50%, -40%) rotateZ(3deg);
}


.collage {
    position: relative;
    width: 100%;
    min-height: 300px;
    aspect-ratio: 2/3;
    padding-bottom: 15%;
}
.collage .polaroid-box {
    position: absolute;
    top: 0%; left: 50%;
    width: 45%;
}
#polaroid-box4 {
    transform: translate(-100%, 0%) rotateZ(-2deg);
}
#polaroid-box5 {
    transform: translate(0%, 0%) rotateZ(3deg);
}
#polaroid-box6 {
    transform: translate(-100%, 103%) rotateZ(4deg);
}
#polaroid-box7 {
    transform: translate(0%, 103%) rotateZ(-8deg);
}
#polaroid-box4::after, #polaroid-box5::after, #polaroid-box6::after, #polaroid-box7::after {
    content: "";
    width: 50%;
    aspect-ratio: 7/2;
    background-image: url("../img/polaroid-theme/tape4.png");
    background-size: 100% 100%;
    z-index: 4;
    position: absolute;
}
#polaroid-box4::after {
    top: 0px; left: 0px;
    transform: translate(-35%, 0) rotateZ(-35deg);
}
#polaroid-box5::after {
    top: 0px; right: 0px;
    transform: translate(35%, 0) rotateZ(35deg);
}
#polaroid-box6::after {
    bottom: 0px; left: 0px;
    transform: translate(-35%, 0) rotateZ(35deg);
}
#polaroid-box7::after {
    bottom: 0px; right: 0px;
    transform: translate(35%, 0) rotateZ(-35deg);
}


.footer {
    width: 100%;
    background-color: var(--polaroid-box-color);
    background: url("../img/polaroid-theme/tornPaper.png");
    background-position: center;
    background-size: 150% 150%;
    padding: 20px;
    font-family: sans-serif;
}
.footer .createOwn {
  font-size: 1.5rem;
  display: inline-block;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 25px;
}
.createOwn .btn {
  display: inline-block;
  background-color: var(--polaroid-box-color);
  color: var(--secondary-color);
  padding: 5px 5px;
  border-radius: 3px;
  margin-top: 5px;
  margin-left: 10px;
  border: 2px solid var(--theme-bg-color);
  box-shadow: rgba(50, 50, 93, 0.35) 0px 2px 5px -1px, rgba(0, 0, 0, 0.4) 0px 1px 3px -1px;
}
.orgName {
  font-size: 3rem;
  margin-top: 20px;
  line-height: 3rem;
}
.orgDetails {
  font-size: 1rem;
  margin: 10px 0px;
}
.orgDetails span {
  margin-left: 10px;
}