/* Import */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&family=Caveat:wght@400;700&family=Inter:wght@400;700&display=swap');

/*General Global settings */
:root{
    --ivory: #ece9e4;
    --nude: #e4d8ca;
    --dustyRose: #cfb3a8;
    --sage: #788372;
    --eucalyptus: #a4b4a7;

}
*{
margin :0;
padding:0;
box-sizing: border-box;
}
h1{
    font-size: 30px;
    color: var(--ivory);
    text-shadow: 1px 1px 1px #000;
    margin-bottom: 10px;
    text-align: center;
}
h2{
    color: var(--ivory);
    text-shadow: 1px 1px 1px #000;
    font-size: 50px;
    text-transform: uppercase;
    text-align: center;
}
h3{
    color: var(--ivory);
    text-shadow: 1px 1px 1px #000;
    font-size: 25px;
    text-align: center;
    font-family: cursive;
}
p{
    color: var(--ivory);
    text-shadow: 1px 1px 1px #000;
    text-align: center;
}
nav{

position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: transparent;
box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
z-index: 1000;
}
nav ul{
    
    list-style-type: none;
    display:flex;
    justify-content: flex-end;
    align-items: center;

}
nav li{
    height: 50px;
}
nav a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
}
nav a:hover{
    background-color: var(--ivory);
}
nav li:first-child{
    margin-right: auto;
}
.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 1000;
    background-color: rgba(255,255,255,0.2);
    box-shadow: -10px 0 10px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    backdrop-filter: blur(10px);

}
.sidebar.active{
    display: flex;
}
.sidebar li{
    width: 100%;
}
.sidebar a{
    width: 100%;
}
.menu-button{
    display: none;
}

.container{
    width: 100%;
    max-width: 100%;
    overflow-y: hidden;
    z-index: 0;
}
section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: hidden;
}

.one{
    background-image: url(./Bilder/entre.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: scroll;
    background-size: cover;
    height: 100vh;
    width: 100%;

    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
#countdown {
    position: relative;
    margin-top: 50px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: flex-end;
    color: var(--ivory);
    text-shadow: 1px 1px 1px #000;
    
}

.countdown-item{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.countdown-item span:first-child{
    font-size: 36px;
    font-weight: bold;
    text-align: center;
}

.label{
    font-size:  16px;
    color: var(--ivory);
    margin-top: 5px;
    text-align: center;
}

.buttonOsa{
    padding: 10px 30px;
    background-color:var(--ivory);
    font-size: 20px;
    cursor: pointer;
    position: relative;
    margin-top: 100px;
    border: 2px solid #000;
    text-decoration: none;
    color: var(--sage);
    display: inline-block;
}
.buttonOsa:hover{
    background-color: var(--sage);
    color: var(--ivory);
}

.two{
    background-color: var(--eucalyptus);
}
.twoBox{
    position: relative;
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.twoBox p{
    font-size: 20px;
}
.twoBox img{
    position: absolute;
    width: 90px;
    height: auto;
    background-color: var(--ivory);
    padding: 10px;
    padding-bottom: 20px;
    top: 75%;
    right: 45px;
    transform: translateY(-50%) rotate(20deg);
}
.three{
    background-color: var(--sage);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.three h2{
    font-family: cursive;
}
#accordion{
    position: relative;
}
#accordion li{
    list-style: none;
    background-color: var(--eucalyptus);
    border: 10px solid var(--sage);
}
#accordion li label{
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 500;
    color: white;
}
#accordion li label span{
    transform: rotate(90deg);
    font-size: 22px;
    color: var(--ivory);
}
#accordion label + input[type="radio"]{
    display: none;
}
#accordion .content{
    padding: 0 10px;
    line-height: 25px;
    max-height: 0;
    overflow: hidden;
}

#accordion label + input[type="radio"]:checked + .content{
    max-height: 400px;
}
.omOssOne{
    background-color: var(--eucalyptus);
    display: flex;
    height: 25vh;
}
.omOssTwo{
    width: 100%;
    height: auto;
    position: relative;
    background-color: var(--nude);
    padding: 30px;
    
}
.omOssTwo::after{
    position: absolute;
    content: ' ';
    width: 2px;
    height: 100%;
    background-color: var(--sage);
}
.omOssTwo ul{
    list-style: none;
}
.omOssTwo ul li{
    width: 50%;
    height: auto;
    padding: 15px 20px;
    background-color: var(--eucalyptus);
    margin-top: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.omOssTwo ul li:nth-child(odd){
    float: left;
    clear: right;
    transform: translateX(-30px);
}
.omOssTwo ul li:nth-child(even){
    float: right;
    clear: left;
    transform: translateX(30px);
}
.omOssTwo ul li:nth-child(6){
    margin-bottom: 30px;
}
.omOssTwo ul li .circle{
    width: 25px;
    height: 25px;
    background-color: var(--eucalyptus);
    border-radius: 50%;
    position: absolute;
    top: 50%;
}
.omOssTwo ul li .circle::after{
    content: ' ';
    width: 15px;
    height: 15px;
    background-color: var(--sage);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.omOssTwo ul li:nth-child(odd) .circle{
    right: -30px;
    transform: translate(50%, -50%);
}
.omOssTwo ul li:nth-child(even) .circle{
    left: -30px;
    transform: translate(-50%, -50%);
}
.omOssTwo ul li .date{
    color: var(--ivory);
    font-size: 18px;
}
.omOssTwo ul li:nth-child(odd) .date{
    margin-left: auto;
}
.omOssTwo ul li img{
    position: absolute;
    width: 90px;
    height: auto;
    background-color: var(--ivory);
    padding: 10px;
    padding-bottom: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.omOssTwo ul li:nth-child(odd) img{
    right:-150px;
}
.omOssTwo ul li:nth-child(even) img{
    left: -150px;
}
.KontaktOne{
    background-color: var(--eucalyptus);
}
.buttonJulia , .buttonJoel{
    padding: 10px 30px;
    background-color: var(--ivory);
    font-size: 20px;
    cursor: pointer;
    position: relative;
    margin-top: 30px;
    margin-left: 30px;
    border: 2px solid var(--sage);
    color: var(--sage);
}
.buttonJoel:hover,
.buttonJulia:hover{
    background-color: var(--sage);
    color: var(--ivory);
}
.kontaktInfoJulia , .kontaktInfoJoel{
    display: none;
    margin-top: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.kontaktInfoJulia p, .kontaktInfoJoel p{
    margin: 0;
    margin-bottom: 20px;

}
.buttonInsta{
    background: transparent;
    align-items: center;
    justify-content: center;
    border: none;
    display: none;
}
.instaLogo{
    width: 75px;
    height: 75px;
    background: radial-gradient(circle at 33% 100%,
    #fed373 4%, #f15245 30%, #d92e7f 62%,
    #9b36b7 85%, #515ecf);
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.instaInner{
    width: 75%;
    height: 75%;
    border: 7px solid #fff;
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.instaInner2{
    width: 60%;
    height: 60%;
    border: 7px solid #fff;
    border-radius: 50%;
}
.instaInner::after{
    content: '';
    background: #fff;
    width: 15%;
    height: 15%;
    border-radius: 50%;
    position: absolute;
    top: 10%;
    right: 10%;
}
.osaOne {
    background-image: url(./Bilder/osaBackground.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loginBox{
    position: relative;
    width: 400px;
    height: 450px;
    background: transparent;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loginInputBox{
    position: relative;
    width: 310px;
    margin: 30px;
    border-bottom: 2px solid black;

}
.loginInputBox label{
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #fff;
    pointer-events: none;
    transition: 0.5s;
}
.loginInputBox input:focus~label,
.loginInputBox input:valid~label{
    top: -5px;
}

.loginInputBox input{
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: var(--ivory);
    padding: 0 35px 0 5px;
}
.loginInputBox .icon{
    position: absolute;
    right: 8px;
    color: var(--ivory);
    font-size: 1.2em;
    line-height: 57px;
}
.rememberForgot{
    margin: -15px 0 15px 30px;
    font-size: 0.9em;
    color: var(--ivory);
    display: flex;
    justify-content: space-between;
}
.rememberForgot a {
    color: var(--ivory);
    text-decoration: none;
    
}
.rememberForgot a:hover{
    text-decoration: underline;
}
.loginButton{
    width: 340px;
    height: 40px;
    background: var(--ivory);
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1em;
    color: var(--sage);
    margin: 0 30px;
}
.loginButton:hover{
    background-color: var(--sage);
    color: var(--ivory);
}
.osaAnswerBox{
    position: relative;
    width: 400px;
    height: 450px;
    background: var(--ivory);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.infoOne{
    background-color: var(--eucalyptus);  
    display: flex;
    flex-direction: row;
}

.infoOneBox{
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 10px;
}
.osaFormInputAlternatives{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.sectionFormOne, .sectionFormTwo{
    background-color: var(--eucalyptus);
    width: 100%;
    height: 100vh;
    display: flex;
}
.form{
    position: relative;
    width: 400px;
    height: 250px;
    background-image: url(./Bilder/skrynkligt_papper.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    font-family: 'Caveat';

    transform: rotate(-1deg);
    padding: 20px 0;
}
.form .formText{
    color: #000;
    font-size: 1.7em;
}
.checkbox-item{
    position: relative;
    font-size: .8em;
    display: flex;
    flex-direction: row;
    padding: 7px 10%;
}

.checkbox-item input[type = "radio"],
 .checkbox-item-guests input[type = "checkbox"]{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    margin-top: 5px;
    margin-right: 10px;    
    width: 25px;
    height: 25px;
    border: 2px solid #000;
    background-color: transparent;
    border-radius: 0;
    position: relative;
    flex-shrink: 0;
}

.checkbox-item input[type="radio"]:checked::before, .checkbox-item-guests input[type="checkbox"]:checked::before{
    content: '\2713';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size:20px;
    color: #000;
    line-height: 1;
}

.buttonOsaNext{
    background-color: var(--ivory);
    color: var(--sage);
    padding: 10px 20px;
    border: none;
    font-size: 1.2em;
    margin-right: 0;
}

.buttonOsaNext:hover{
    background-color: var(--sage);
    color: var(--ivory);
}
.modal {
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: transparent; 
    display: flex; 
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--eucalyptus);
    margin: auto; 
    padding: 20px;
    border: 1px solid var(--sage);
    width: 80%; 
    max-width: 400px; 
    border-radius: 10px;
    position: relative;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-style: var(--ivory);
}

.closeButton { 
    color: var(--ivory);
    font-size: 28px;
    font-weight: bold;
    position: absolute; 
    top: 10px; 
    right: 15px; 
    cursor: pointer;
    background: none; 
    border: none; 
    padding: 0; 
    outline: inherit; 
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
}
.hidden {
    display: none !important;
}
.formContentOne{
    display: flex;
    flex-direction: column;
}
.sectionFormTwo, .sectionFormThree{
    background-color: var(--eucalyptus);
}
.guest-item{
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    margin-left: 5px;
    justify-content: space-between;
    align-items: center;
}
.checkbox-item-guests{
    display: flex;
    align-items: center;
    cursor: pointer;
}
.buttonFoodAllergies{
    background-color: var(--ivory);
    color: var(--sage);
    border: none;
    font-size: 1.0em;
    margin-right: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.buttonFoodAllergies:hover{
    background-color: var(--eucalyptus);
    color: var(--ivory);
}
.sectionFormFrame,
.tackSvar{
    position: relative;
    width: 500px;
    height: 350px;
    background-color: var(--sage);
    background-position: center;
}
.allergy-modal{
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: var(--eucalyptus);
    display: flex;
    justify-content: center;
    align-items: center;
            /* För transition */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.allergy-modal.is-active{
    opacity: 1;
    visibility: visible;
}

.allergy-modal-content { 
    background-color: var(--sage); 
    width: 500px;
    height: 350px;
    position: relative;
}
.allergy-modal.is-active .allergy-modal-content {
    transform: translateY(0);
}

.buttonAllergiesSave, .buttonAllergiesCancel{
    background-color: var(--ivory);
    color: var(--sage);
    border: none;
    font-size: 1.0em;
    margin-right: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px 10px;

}
.buttonAllergiesSave:hover, .buttonAllergiesCancel:hover{
    background-color: var(--eucalyptus);
    color: var(--ivory);
}
.allergy-modal-actions{
    display: flex;
    flex-direction: row;
    align-self: flex-end;
    justify-content: space-between;
    margin-top: -5px;
    width: 100%;
}
.allergies-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}
.allergy-column{
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: calc(50%-16px);
}
.allergy-modal-body{
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.allergy-row-freetext{
    display: flex;
    flex-direction: row;
}
.allergy-freetext{
    width: 150px;
    height: 30px;
}
.songName,
.songArtist{
    width:160px;
    height: 30px;
}
.buttonQuestionMarkAllergies{
    display: flex;
    width: 30px;
    height: 30px;
    background-color: var(--eucalyptus);
    color: var(--ivory);
    padding: 0;
    align-content: center;
    justify-content: center;
}
.songQuestion{
    padding-top: 20px;
    display: flex;
    flex-direction: column;
}
.songTextarea{
    display: flex;
    flex-direction: row;
    padding-right: 20px;
    padding-top: 10px;
}
.tackContainer{
    background-color: var(--eucalyptus);
    width: 100%;
}
.tackSvarText{
    padding: 10px;
}
.googleMap{
    width: 200px;
    height: 200px;
}
@media (min-width: 801px) {
    .one {
        background-attachment: fixed;
    }
}
@media(max-width:800px){
    .hideOnMobile{
        display: none;
    }
    .menu-button{
        display: block;
    }
    .one{
        width:auto;
        height: 100vh;
        min-width: 100%;
        object-fit: cover;
    }
}
@media (max-width: 500px){
    .infoOne{
        display: flex;
        flex-direction: column;
        background-color: var(--eucalyptus);
        height: 150vh;
        overflow-y: scroll;
    }
    .infoOne .infoOneBox{
        width: 100%;
        padding: 1rem;
        box-sizing: border-box;
    }
    .infoOneBox{
        height: 40%;
        justify-content: center;
    }
    .sectionFormFrame,
    .tackSvar{
        width: 100%;
    }
    .allergy-freetext{
        width: 100px;
    }
    .twoBox{
        padding: 10px;
    }
}
@media (max-width: 400px){
    .loginBox{
        width: 100%;
        height: 100vh;
        border: none;
    }
    .loginInputBox{
        width: 290px;
    }
    
    .sidebar{ 
        width: 100%;
    }
    .kontaktText{
        padding: 10px;
    }
    
}