@import url('https://fonts.cdnfonts.com/css/sf-pro-display');


body{
    background-color: #141220;
    color: whitesmoke;
    font-family: 'SF Pro Display', sans-serif;
    letter-spacing: 2px;
}

/*-----------------------------------------------*/
.header {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}
.title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5em;
    text-align: center;
    margin-top: 20px;
    font-weight: 700;
}
a {
    text-decoration: none;
    color: whitesmoke;
}
a:hover {
    color: #919191;
}

/*-----------------------------------------------*/

.widgetHeader {
    display: flex;
    align-items: center;
    padding: 10px;
}
#targyaidTitle {
    font-size: 22px;
    margin-left: 10px;
    margin-right: 128px;
}
#creditTitle {
    margin-right: 45px;
}
#jegyekTitle {
}
/*-----------------------------------------------*/

#content {
    /*padding: 294px;*/
    padding-top: 100px;
}

 #main {
    display: flex;
    align-items: center;
    flex-direction: column;
}

/*-----------------------------------------------*/


.classContainer {
    display: flex;
    justify-content: center;
    background-color: #263346;
    margin: 10px ;
    padding-right: 20px;
    padding-left: 20px;
    width: 400px;
    border-radius: 24px;
    padding: 10px;

}
/*-----------------------------------------------*/

.numberInput {
    width: 70px;
    height: 44px;
    border-radius: 5px;
    border: none;
    text-align: center  ;
    margin-left: 5px;
    margin-right: 5px;

    background-color: transparent;
    color: whitesmoke;
    font-size: 25px;
    border-radius: 30px;
    border: white 3px solid;
}
.subjectInput {
    width: 200px;
    height: 50px;
    border-radius: 5px;
    border: none;
    text-align: center;
    /*6margin-right: 50px;*/
    background-color: transparent;
    border-width: 3px;
    color: whitesmoke;
    text-align: left;
    font-size: 30px;
    border-radius: 24px;

}
/*-----------------------------------------------*/
#buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}
.calculateButton {
    height: 50px;
    width: 170px;
    background-color: #263346;
    color: whitesmoke;
    border: none;
    border-radius: 24px;
    padding: 10px;
    font-size:25px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    margin-left: 30px;
}
.addremoveButton {
    width: 50px;
    height: 50px;
    background-color: #263346;
    color: whitesmoke;
    border: none;
    border-radius: 50px;
    padding: 10px;
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    margin-right: 5px;
    margin-left: 5px;
    font-weight: 900;
    font-size: 20px;
}
/*-----------------------------------------------*/
h2 {
    font-size: 25px;
    text-align: center;
    color: gray;
}
/*---------------------Result widgets--------------------------*/
#results {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
}

.resultRow {
    display: flex;
    justify-content: space-between;
    width: 350px; /* Adjust width as needed */
    margin-bottom: 20px;
}

.resultWidget {
    width: 150px;
    height: 150px;
    background-color: #263346;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.6em;
    font-weight: bold;
    letter-spacing: 1px;
}

.resultWidgetWide {
    width: 350px;
    height: 130px;
    background-color: #263346;
    border-radius: 20px;
    display: flex;
    justify-content: space-around; /* Keeps the content apart horizontally */
    align-items: flex-start; /* Aligns the content to the top vertically */
    font-size: 1.6em;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom:20px; /* No margin on top, centered horizontally, 20px margin on bottom */
    padding-bottom: 20px; /* Optional: adjusts spacing inside the widget */
}


/* Widget text styling */
.resultWidget h3, .resultWidgetWide h3 {
    color: whitesmoke;
    font-size: 1.2em;
    margin-bottom: 5px;
    margin-top: 15px;
}

.resultWidget span, .resultWidgetWide span {
    color: whitesmoke;
    font-size: 2em;    
}

/* Inner styling for wide widget */
.resultWidgetWide .subWidget {
    text-align: center;
}


/*-----------------------------------------------*/

#ics {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
#icsInput{
    height: 42px;
    text-align: center;
    border-width: 3px;
    border-color: whitesmoke;
    border-style: solid;
    font-size: 20px;
}